subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
SukiCZ
fpjxb5k
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>private function cud($, $aa)<|eor|><|eols|><|endoftext|>
33
programminghorror
Tazzure
fpjwj9j
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>The horror is how common this is in functional programming<|eor|><|sor|>Yeah scientists write code like this all the time. Super common in Python.<|eor|><|eols|><|endoftext|>
31
programminghorror
LukasFT
fpjvbaf
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>The horror is how common this is in functional programming<|eor|><|eols|><|endoftext|>
28
programminghorror
cyrusol
fpjtu04
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>Email this screenshot to your boss and say that you cannot continue work because you're in therapy right now for a PTSD episode.<|eor|><|soopr|>happy cake day<|eoopr|><|sor|>thanks, pe...
26
programminghorror
imNotNumber
fpjt7g5
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>Ah yes, the classic U<|eor|><|eols|><|endoftext|>
24
programminghorror
xIcarus227
fpk7uza
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>$c = a class named U? Wtf. Who would ever do that<|eor|><|sor|>[deleted]<|eor|><|sor|>Exactly why I'm thinking about migrating to some other stack. Seems like every other project I w...
22
programminghorror
oldmanmuffins
fpk5npz
<|sols|><|sot|>How was your day? I just recently started to hate someone.<|eot|><|sol|>https://i.redd.it/hu046vjqvtw41.png<|eol|><|sor|>At least do it so its a funny word or something. like C U P hehe<|eor|><|sor|>What, "nepdu" isn't funny enough for you?<|eor|><|sor|>Isn't that what you call your brother or sister's s...
22
programminghorror
TheEdward162
8k4wha
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|eols|><|endoftext|>
889
programminghorror
TheEdward162
dz4x2mx
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|eols|><|endoftext|>
322
programminghorror
de5933
dz53udc
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>e threads the better!The mor<|eor|><|eols|><|endoftext|>
126
programminghorror
TheEdward162
dz5bms1
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|sor|>So is the problem because of race conditions?<|eor|><|soopr|>.Yes<|eoopr|><|eols|><|endoftext|>
82
programminghorror
Kaon_Particle
dz4x7fz
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|sor|>brilliant<|eor|><|eols|><|endoftext|>
71
programminghorror
ElGuaco
dz5du7b
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>> It works Until it doesn't and the person who wrote the mess is no longer around to fix it.<|eor|><|eols|><|endoftext|>
40
programminghorror
SeriousSamStone
dz592wu
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|sor|>So is the problem because of race conditions?<|eor|><|eols|><|endoftext|>
38
programminghorror
mr_smartypants537
dz60rff
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>I love the adrenaline I get from not knowing whether an object is ready or not when i access it<|eor|><|eols|><|endoftext|>
34
programminghorror
Inityx
dz5djxa
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>/r/rust ^^^/r/rustjerk<|eor|><|eols|><|endoftext|>
33
programminghorror
emilvikstrom
dz52m3g
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>https://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html<|eor|><|sor|>Surprisingly relevant document filename. <|eor|><|eols|><|endoftext|>
31
programminghorror
zdakat
dz5qbsg
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|sor|>I've had a few times when I've told someone "I don't know why this works...wait...oh wait now it's not working any...
28
programminghorror
emdeka87
dz5n5bq
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>You dont need to sync anything if theres no shared state ... :)<|eor|><|eols|><|endoftext|>
26
programminghorror
Wolfy87
dz56y4w
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>Meanwhile in Clojure: `(future (whatever-the-fuck-i-want))`<|eor|><|eols|><|endoftext|>
20
programminghorror
TheEdward162
dz5atxd
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>Meanwhile in Clojure: `(future (whatever-the-fuck-i-want))`<|eor|><|soopr|>(Yes (that (is (very (nice (but (Clojure))))))) Btw this is best viewed with those rainbow bracket color schemes.<|eoopr|><|eo...
20
programminghorror
DevestatingAttack
dz5y9kv
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|sor|>I've had a few times when I've told someone "I don't know why this works...wait...oh wait now it's not working any...
19
programminghorror
pLesur
dz4uhhc
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>Funny, I'm currently trying to debug a mix of deadlocks and toctou. This has been a shitty day so far <|eor|><|eols|><|endoftext|>
17
programminghorror
Carr0t
dz5hb9c
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>Meanwhile in Clojure: `(future (whatever-the-fuck-i-want))`<|eor|><|soopr|>(Yes (that (is (very (nice (but (Clojure))))))) Btw this is best viewed with those rainbow bracket color schemes.<|eoopr|><|so...
17
programminghorror
polprog
dz55fuw
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>We works, it don't!<|eor|><|eols|><|endoftext|>
16
programminghorror
dkode80
dz4z53o
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|soopr|>**Update** [I showed him this post.](http://tinyimg.io/i/TIxK7w9.png)<|eoopr|><|sor|>Lol. That's great<|eor|><|eols|><|endoftext|>
16
programminghorror
Bunnymancer
dz6dcdm
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>> It works Until it doesn't and the person who wrote the mess is no longer around to fix it.<|eor|><|sor|>Or the person who wrote it singlethreaded at first gets blamed for whatever shit the next guy ...
16
programminghorror
jetstream96r
dz6ekk1
<|sols|><|sot|>Top 10 last words before race conditions<|eot|><|sol|>https://i.redd.it/0xfofgihkfy01.png<|eol|><|sor|>You dont need to sync anything if theres no shared state ... :)<|eor|><|sor|>You dont need to sync anything if all threads do nothing.<|eor|><|eols|><|endoftext|>
14
programminghorror
ArtisticDirt1341
rbcoln
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|eols|><|endoftext|>
888
programminghorror
etwasanderes2
hnnp46d
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Doesn't dynamic programming involve saving the previously computed values so that you don't need to compute them again? So this function needs a `@functools.lru_cache` annotation.<|eor|><|eols|><|endoftext|>
317
programminghorror
Kersheck
hnnyyji
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Doesn't dynamic programming involve saving the previously computed values so that you don't need to compute them again? So this function needs a `@functools.lru_cache` annotation.<|eor|><|sor|>Correct, this is just i...
198
programminghorror
ludonope
hnnz4p4
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>return a * b<|eor|><|eols|><|endoftext|>
94
programminghorror
Joaac
hnnzqgp
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Not DP<|eor|><|eols|><|endoftext|>
93
programminghorror
NazgulDiedUnfairly
hno3omz
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Doesn't dynamic programming involve saving the previously computed values so that you don't need to compute them again? So this function needs a `@functools.lru_cache` annotation.<|eor|><|sor|>Yeah. I was confused fo...
80
programminghorror
Sarke1
hno4823
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>return a * b<|eor|><|sor|>Someone give this person a job!<|eor|><|eols|><|endoftext|>
76
programminghorror
1ElectricHaskeller
hno5orw
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Why are 34 and 38 named 'recursive case'? This looks like a terminating case for me<|eor|><|eols|><|endoftext|>
72
programminghorror
coesterm
hnocqt5
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>I hope no one wants to multiply a number by 0.5. They'll have to wait awhile for the answer.<|eor|><|eols|><|endoftext|>
49
programminghorror
SoulsBloodSausage
hno1miq
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>This isnt doubly penetrating<|eor|><|eols|><|endoftext|>
48
programminghorror
SnooMarzipans436
hnoaccx
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>return a * b<|eor|><|sor|>Someone give this person a job!<|eor|><|sor|>They wrote an entire function to "return a\*b" when they could have just written "a\*b". ...sounds like most programmers I know. So yeah, give t...
48
programminghorror
digitaladapt
hno1u7s
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>eyetwitch No one in their right mind would write that.<|eor|><|sor|>No one in their right mind would build an application that is comprised of bash, python, PHP, and node; along with redis and two separate SQL datab...
44
programminghorror
Ahajha1177
hnntnve
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Doesn't dynamic programming involve saving the previously computed values so that you don't need to compute them again? So this function needs a `@functools.lru_cache` annotation.<|eor|><|sor|>Or in a lower level lan...
43
programminghorror
Flopamp
hnoi871
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Doesn't dynamic programming involve saving the previously computed values so that you don't need to compute them again? So this function needs a `@functools.lru_cache` annotation.<|eor|><|sor|>Yeah. I was confused fo...
43
programminghorror
NazgulDiedUnfairly
hnojd5g
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Doesn't dynamic programming involve saving the previously computed values so that you don't need to compute them again? So this function needs a `@functools.lru_cache` annotation.<|eor|><|sor|>Yeah. I was confused fo...
28
programminghorror
Possibility_Antique
hnon4lj
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Why are 34 and 38 named 'recursive case'? This looks like a terminating case for me<|eor|><|sor|>Ctrl+C Ctrl+V can be quite a doozy when you're in a hurry<|eor|><|eols|><|endoftext|>
21
programminghorror
________null________
hno39kl
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>Imagine this being why you didnt get the job at Google. Either they expected you to implement this, or they expected you to not. Whatever was the opposite of what you did.<|eor|><|eols|><|endoftext|>
18
programminghorror
Slinkwyde
hnoisvu
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>I hope no one wants to multiply a number by 0.5. They'll have to wait awhile for the answer.<|eor|><|sor|>That's where this guy comes in: https://www.reddit.com/r/confidentlyincorrect/comments/rb6k6f/maths/<|eor|><|e...
17
programminghorror
Cherveny2
hnos33x
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>I mean it's just a basic recursion exercise. The comments are wrong but there's nothing actually wrong with the code<|eor|><|sor|>100% chance, a school assignment saying implement multiplication with recursion<|eor|>...
17
programminghorror
Zanderax
hnoh6xj
<|sols|><|sot|>DP is the way to goto hell<|eot|><|sol|>https://i.redd.it/8w3uqouxg7481.jpg<|eol|><|sor|>return a * b<|eor|><|sor|>Someone give this person a job!<|eor|><|sor|>They wrote an entire function to "return a\*b" when they could have just written "a\*b". ...sounds like most programmers I know. So yeah, give t...
17
programminghorror
leo3065
chmx2w
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|eols|><|endoftext|>
882
programminghorror
jpjackson21
euvnjj6
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>That must be pur...
299
programminghorror
EntirelyUnlovable
euvhen6
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>That must be pur...
176
programminghorror
leo3065
euviyek
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>That must be pur...
149
programminghorror
newreconstruction
euw1ubb
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>That must be pur...
81
programminghorror
SirChasm
euwc9ua
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>That must be pur...
72
programminghorror
leo3065
euv96ao
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|soopr|>Source for any...
61
programminghorror
YM_Industries
euvpmud
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>To be honest, th...
58
programminghorror
Tux1
euvioy3
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|soopr|>Source for any...
46
programminghorror
ThaiJohnnyDepp
euvo7ar
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>I'm a fan of the...
44
programminghorror
leo3065
euvjjsr
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|soopr|>Source for any...
37
programminghorror
__comrade__
euvkh0f
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>The liberal appl...
32
programminghorror
leo3065
euvl771
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>The liberal appl...
29
programminghorror
annoyed_freelancer
euvk7a3
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>Is this what a s...
26
programminghorror
human_py
euwqdv7
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>Looks like Dwarf...
21
programminghorror
nimaid
euxno86
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|soopr|>Source for any...
19
programminghorror
Kibouo
euyfw5m
<|sols|><|sot|>Encounter this wonderful programming horror when searching for some Blender stuff. Talking about "self-documenting code" by mixing English, Chinese and various other characters in variable names, function names and comments...<|eot|><|sol|>https://i.redd.it/c6hzq6ksxfc31.jpg<|eol|><|sor|>That must be pur...
18
programminghorror
LBPPlayer7
cd5t0l
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|eols|><|endoftext|>
887
programminghorror
mrheosuper
etrpze8
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|eols|><|endoftext|>
227
programminghorror
acidobinario
etrq3a5
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|sor|>`#define define define` ?<|eor|><|eols|><|endoftext|>
124
programminghorror
thelights0123
ets95h8
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Because `define` and `#define` are two separate things. You can't `#undef` things that were never defined using `#define` or the equivalent compiler argument.<|eor|><|eols|><|end...
39
programminghorror
sername-taken
etrym8j
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|sor|>`#define define define` ?<|eor|><|sor|>\#define define define define define define<|eor|><|eols|><|endoftext|>
31
programminghorror
piofapple
etrxvar
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>Does the previous line have an error?<|eor|><|eols|><|endoftext|>
28
programminghorror
ILikeHugsFromPugs
etrsf77
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>What if you can't define define because define is undefined<|eor|><|eols|><|endoftext|>
28
programminghorror
bricked_machine
ets9bx9
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|sor|>`#define define define` ?<|eor|><|sor|>\#define define define define define define<|eor|><|sor|>*Buffalo buffalo Buffalo buffalo buffalo buffalo Buffal...
26
programminghorror
wyom1ng
etrzjr4
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>Does the previous line have an error?<|eor|><|sor|>probably missing a semicolon<|eor|><|eols|><|endoftext|>
21
programminghorror
DrStalker
etswvtj
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Because `define` and `#define` are two separate things. You can't `#undef` things that were never defined using `#define` or the equivalent compiler argument.<|eor|><|sor|>Just f...
17
programminghorror
_piny
ets7ynl
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|sor|>`#define define define` ?<|eor|><|sor|>You need to define `define` first, otherwise you can't define `define define` because `define` is undefined<|eor...
12
programminghorror
sitilge
etrvby6
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>/r/recursion<|eor|><|eols|><|endoftext|>
11
programminghorror
dogboy60
ets2pdz
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|sor|>`#define define define` ?<|eor|><|sor|>\#define define define define define define<|eor|><|sor|>Y'all ever heard of this cool feature called infinite l...
11
programminghorror
noop_noob
etthx8m
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>Random guess: the previous line ended with a backslash.<|eor|><|eols|><|endoftext|>
8
programminghorror
tcpukl
ettp71w
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>In C++, you can (re)define anything.<|eor|><|sor|>Not #define<|eor|><|eols|><|endoftext|>
6
programminghorror
acidobinario
ett3jcg
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>##define define This should be good<|eor|><|sor|>`#define define define` ?<|eor|><|sor|>You need to define `define` first, otherwise you can't define `define define` because `define` is undefined<|eor...
6
programminghorror
noop_noob
ettpy7h
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>Random guess: the previous line ended with a backslash.<|eor|><|sor|>Yeah it's probably something on the previous line but I love how it causes that error. Python is full of those and I'm thinking of c...
6
programminghorror
adamski234
etsu9pf
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>So I dont c++. Somebody else mentioned the previous line having an error. Is that why this is happening? Or something else?<|eor|><|sor|>For all I know about c++ errors, there might be an error 100 ...
5
programminghorror
piofapple
ets0p0j
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>Does the previous line have an error?<|eor|><|sor|>probably missing a semicolon<|eor|><|sor|>Thats what I was thinking<|eor|><|eols|><|endoftext|>
5
programminghorror
Groundstop
etse96q
<|sols|><|sot|>I'm confused, how do you define defining?<|eot|><|sol|>https://i.redd.it/ax8k3rpl2ba31.png<|eol|><|sor|>/r/recursion<|eor|><|sor|>Wat?<|eor|><|sor|>/r/recursion<|eor|><|eols|><|endoftext|>
5
programminghorror
BhargavSushant
flfliz
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|eols|><|endof...
884
programminghorror
Koxiaet
fkymp7s
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
83
programminghorror
AltSk0P
fkyp5ik
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
75
programminghorror
PlasmaSheep
fkyp8sl
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
58
programminghorror
soaliar
fkype8g
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
23
programminghorror
BhargavSushant
fl09103
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|soopr|>Share ...
9
programminghorror
Jimmyxc
fkzrz6c
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
7
programminghorror
TheMogician
fkzc05b
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
6
programminghorror
seiyria
fkznlfu
<|sols|><|sot|>Reject the anti-encryption bill. These Senators are trying to damage privacy & security while everyone is distracted with Coronavirus! EFF made this easy tool so you can tell your senators.<|eot|><|sol|>/r/technology/comments/fkzfzq/reject_the_antiencryption_bill_these_senators_are/<|eol|><|sor|>I'm in f...
6
programminghorror
maio290
rn42h2
<|sols|><|sot|>This should be really enough to fire someone...<|eot|><|sol|>https://i.redd.it/zx4iz56fmc781.png<|eol|><|eols|><|endoftext|>
879
programminghorror
Sibling_soup
hpqpnq1
<|sols|><|sot|>This should be really enough to fire someone...<|eot|><|sol|>https://i.redd.it/zx4iz56fmc781.png<|eol|><|sor|>This post cured my imposter syndrome<|eor|><|eols|><|endoftext|>
270
programminghorror
daennie
hpq1mei
<|sols|><|sot|>This should be really enough to fire someone...<|eot|><|sol|>https://i.redd.it/zx4iz56fmc781.png<|eol|><|sor|>git blame you<|eor|><|eols|><|endoftext|>
165
programminghorror
maio290
hpq2qon
<|sols|><|sot|>This should be really enough to fire someone...<|eot|><|sol|>https://i.redd.it/zx4iz56fmc781.png<|eol|><|sor|>git blame you<|eor|><|soopr|>Indeed it blamed the author of this - it's sadly one of my colleagues. Nice and friendly guy, but his programming skills leave a lot to be desired, unfortunately. It'...
109
programminghorror
maio290
hpqbsw0
<|sols|><|sot|>This should be really enough to fire someone...<|eot|><|sol|>https://i.redd.it/zx4iz56fmc781.png<|eol|><|sor|>So we're looking at `return sum < 10 ? sum : 10;` ?<|eor|><|soopr|>Either that or Math.min(sum,10).<|eoopr|><|eols|><|endoftext|>
94
programminghorror
ninimous
hpqt9bb
<|sols|><|sot|>This should be really enough to fire someone...<|eot|><|sol|>https://i.redd.it/zx4iz56fmc781.png<|eol|><|sor|>git blame you<|eor|><|soopr|>Indeed it blamed the author of this - it's sadly one of my colleagues. Nice and friendly guy, but his programming skills leave a lot to be desired, unfortunately. It'...
87