subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
zeGolem83
fnlyh8e
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Catched<|eor|><|sor|>``` do { try write(usefulComment: insert session) } catched { print(Done catched an error: \(error.localizedDescription)) } ```<|eor|><|sor|>What language is t...
18
programminghorror
A1_Brownies
fnlxxfa
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Catched<|eor|><|sor|>He meant "cached".<|eor|><|eols|><|endoftext|>
17
programminghorror
fireballs619
fnm9iry
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Now *this* is self-documenting!<|eor|><|eols|><|endoftext|>
12
programminghorror
supersharp
fnm3mq1
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Instructions unclear - penis stuck in the microwave<|eor|><|sor|>Don't you mean penis catched in the microwave?<|eor|><|sor|>sticked<|eor|><|eols|><|endoftext|>
9
programminghorror
Enigman
fnmfebw
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Catched<|eor|><|sor|>``` do { try write(usefulComment: insert session) } catched { print(Done catched an error: \(error.localizedDescription)) } ```<|eor|><|sor|>What language is t...
9
programminghorror
biinjo
fnlselu
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Instructions unclear - penis stuck in the microwave<|eor|><|sor|>Set a time and press start.<|eor|><|eols|><|endoftext|>
8
programminghorror
Jacob----
fnn4vlk
<|sols|><|sot|>Just catched myself writing the best documentation ever<|eot|><|sol|>https://i.redd.it/ux54iwnbl7t41.jpg<|eol|><|sor|>Catched<|eor|><|sor|>Caughted.<|eor|><|sor|>Cautchghed<|eor|><|sor|>Catcheted<|eor|><|sor|>Catchetedn'tn't<|eor|><|eols|><|endoftext|>
8
programminghorror
DiscardableLikeMe
ypsa9u
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|eols|><|endoftext|>
896
programminghorror
Naraksama
ivknj9v
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|eols|><|endoftext|>
408
programminghorror
supra-mini-gt
ivlsrgj
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>There's literally nothing wrong with this<|eor|><|eols|><|endoftext|>
169
programminghorror
wyrquill
ivkp4yc
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>There are faste...
163
programminghorror
stevekez
ivlzqfo
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Nice of the developer to give the compiler's loop unroller the day off.<|eor|><|eols|><|endoftext|>
141
programminghorror
TheHansinator255
ivkubav
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>Yes, and a reas...
110
programminghorror
saf_e
ivl2225
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>There are faste...
93
programminghorror
sporff
ivm7qah
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Not horror. Very common in game or other performance oriented applications. You'll often special case common scenarios and general case uncommon ones.<|eor|><|eols|><|endoftext|>
83
programminghorror
bbalazs721
ivm6fxy
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>Yes, and a reas...
67
programminghorror
DiscardableLikeMe
ivkuoyi
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Passing objects by value hmmmmm<|eor|><|soopr|>You can't pass by reference in an operator overload afaik (in C#)<|eoopr|><|eols|><|endoftext|>
53
programminghorror
mazer2002
ivmnr3k
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>There is a mistake on the cell one up and over from the bottom right. a.M32 should be a.M33<|eor|><|eols|><|endoftext|>
39
programminghorror
Educational-Lemon640
ivlczdh
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>What is this algorithm for? It's like a bullshit<|eor|><|sor|>It's bog-standard [matrix multiplication](https://en.wikipedia.org/wiki/Matrix_multiplication). Perfectly normal. *...
31
programminghorror
Dealiner
ivmzoq3
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>Yes, and a reas...
30
programminghorror
Fleming1924
ivm7x2e
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>Yes, and a reas...
29
programminghorror
youstolemyname
ivl77lk
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>passing objects by value and allocating dynamically. lmao<|eor|><|sor|>This is C#<|eor|><|eols|><|endoftext|>
28
programminghorror
geon
ivlax65
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>The problem is ...
28
programminghorror
glorious_reptile
ivlpvul
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>No way! That's my wifi password!<|eor|><|eols|><|endoftext|>
27
programminghorror
wyrquill
ivl2pkg
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>There are faste...
26
programminghorror
geon
ivlaevy
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>Believe it or not, but this is the fastest way to do it, and any other way is counterproductive, since you need such operations many times per frame.<|eor|><|sor|>There are faste...
25
programminghorror
Dealiner
ivm29c9
<|sols|><|sot|>Manual matrix multiplication (and this is just for 4x4 matrices)<|eot|><|sol|>https://i.redd.it/xnxgay0gery91.png<|eol|><|sor|>The Matrix4x4 class in itself is an insult to any CS class I ever attended<|eor|><|sor|>And why exactly is that?<|eor|><|sor|>because you cant write a class for every matrix size...
23
programminghorror
STEIN197
vu7s39
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|eols|><|endoftext|>
892
programminghorror
DippedPotatoChip
ifc15sp
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>1 divviddivvi, 2 divviddivvi, 3 divviddivvi...<|eor|><|eols|><|endoftext|>
131
programminghorror
Comp_uter15776
ifc05xz
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>I have absoluteley no idea whats going on there<|eor|><|sor|>React useState hook. timeTillFinish is the state variable, setTimeTillFinish is the function to execute when updating the state variable. Inside the parenthes...
95
programminghorror
alvarsnow
ifbz0cf
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>I have absoluteley no idea whats going on there<|eor|><|eols|><|endoftext|>
83
programminghorror
user0x29a
ifc7a9l
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>1 divviddivvi, 2 divviddivvi, 3 divviddivvi...<|eor|><|sor|>pretty sure it uses roman numerals. so div-> dv-> dvi ... dxxv<|eor|><|eols|><|endoftext|>
61
programminghorror
Soonnk
ifc590z
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>i thought americans used seconds, mins and hours too<|eor|><|eols|><|endoftext|>
50
programminghorror
BrokenEyebrow
ifcbf79
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>i thought americans used seconds, mins and hours too<|eor|><|sor|>How utilitarian, over here we will do literally anything to not use metric.<|eor|><|eols|><|endoftext|>
24
programminghorror
VezLt
ifch2jx
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>I have absoluteley no idea whats going on there<|eor|><|sor|>React useState hook. timeTillFinish is the state variable, setTimeTillFinish is the function to execute when updating the state variable. Inside the parenthes...
18
programminghorror
STEIN197
ifc3dqe
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>1 divviddivvi, 2 divviddivvi, 3 divviddivvi...<|eor|><|soopr|>zzz...<|eoopr|><|eols|><|endoftext|>
17
programminghorror
Lngdnzi
ifbydat
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>The spacing is horror enough<|eor|><|eols|><|endoftext|>
13
programminghorror
onthefence928
iffsk7w
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>I have absoluteley no idea whats going on there<|eor|><|sor|>React useState hook. timeTillFinish is the state variable, setTimeTillFinish is the function to execute when updating the state variable. Inside the parenthes...
12
programminghorror
jzia93
ifehk1w
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>Would you look at that, it's `<div>` o clock<|eor|><|eols|><|endoftext|>
11
programminghorror
andhemac
iffnun7
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>I have absoluteley no idea whats going on there<|eor|><|sor|>React useState hook. timeTillFinish is the state variable, setTimeTillFinish is the function to execute when updating the state variable. Inside the parenthes...
8
programminghorror
BrokenEyebrow
ifcbgo4
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>The spacing is horror enough<|eor|><|sor|>What?<|eor|><|eols|><|endoftext|>
7
programminghorror
H00pyFr00d42
ifctc0d
<|sols|><|sot|>We measure time in divs<|eot|><|sol|>https://i.redd.it/m8hhumeepba91.png<|eol|><|sor|>The spacing is horror enough<|eor|><|sor|>React linter is a bitch for this stuff, I'm pretty sure that's actually correct in its eyes<|eor|><|eols|><|endoftext|>
5
programminghorror
kallebo1337
zk5bce
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|eols|><|endoftext|>
888
programminghorror
Kattou
izz6cl7
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>One day, 09:47: `Remove weirdWorthlessFunction() as it is never called` Same day, 10:14: `Add weirdWorthlessFunction() back to prevent payments from breaking`<|eor|><|eols|><|endoftext|>
188
programminghorror
StochasticTinkr
izzlp1k
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>One day, 09:47: `Remove weirdWorthlessFunction() as it is never called` Same day, 10:14: `Add weirdWorthlessFunction() back to prevent payments from breaking`<|eor|><|sor|>Thats when you also rename the fu...
70
programminghorror
Careless_Virus_6703
izyya9f
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>[revert] [revert] [revert] [revert] closure_tree Ive seen worst at least those commits are a couple of years apart!<|eor|><|eols|><|endoftext|>
56
programminghorror
DankerOfMemes
izzjdk1
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>One day, 09:47: `Remove weirdWorthlessFunction() as it is never called` Same day, 10:14: `Add weirdWorthlessFunction() back to prevent payments from breaking`<|eor|><|sor|>Thats when you also rename the fu...
51
programminghorror
ALLCAPSNOBRAKES
izzhei0
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>reddit programmers learn a new joke challenge (IMPOSSIBLE)<|eor|><|eols|><|endoftext|>
48
programminghorror
DaBittna
izybmgp
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|><|eor|><|eols|><|endoftext|>
24
programminghorror
kallebo1337
izznvyr
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|sor|>well thats a discord screenshot tho<|eor|><|soopr|>Its slack ..<|eoopr|><|eols|...
20
programminghorror
beaurepair
j00m1mn
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>One day, 09:47: `Remove weirdWorthlessFunction() as it is never called` Same day, 10:14: `Add weirdWorthlessFunction() back to prevent payments from breaking`<|eor|><|sor|>Thats when you also rename the fu...
18
programminghorror
Beginning_Basis9799
izzp3t5
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>Spent my 2nd time with ruby on rails recently, it's 2 times to many<|eor|><|eols|><|endoftext|>
16
programminghorror
kallebo1337
izzs9c3
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>Spent my 2nd time with ruby on rails recently, it's 2 times to many<|eor|><|soopr|>Its fantastic and amazing when people worked on a codebase who actually understand what they do. People here swap gems left...
15
programminghorror
Jizzy_Gillespie92
izzr9ae
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|sor|>well thats a discord screenshot tho<|eor|><|sor|>It's GitHub not discord<|eor|>...
13
programminghorror
ZedTT
izzyerb
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|sor|>well thats a discord screenshot tho<|eor|><|sor|>It's GitHub not discord<|eor|>...
12
programminghorror
erinyesita
izzi512
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|eols|><|endoftext|>
11
programminghorror
ZedTT
izzxskk
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>One day, 09:47: `Remove weirdWorthlessFunction() as it is never called` Same day, 10:14: `Add weirdWorthlessFunction() back to prevent payments from breaking`<|eor|><|sor|>Thats when you also rename the fu...
8
programminghorror
ZedTT
izzyf8l
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|sor|>well thats a discord screenshot tho<|eor|><|sor|>It's GitHub not discord<|eor|>...
8
programminghorror
ZedTT
izzyi7v
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|sor|>well thats a discord screenshot tho<|eor|><|sor|>It's GitHub not discord<|eor|><|sor|>its neither, its Slack.<|eor|><|sor|>RIP. ngl I...
8
programminghorror
kallebo1337
j001czc
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>the worst part is the FUCKING LIGHT MODE<|eor|><|sor|>Slack in dark mode is a pain to read, and I code in Monokai<|eor|><|sor|>well thats a discord screenshot tho<|eor|><|soopr|>Its slack ..<|eoopr|><|sor|>...
6
programminghorror
ZedTT
izzykyf
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>well thats a discord screenshot tho<|eor|><|sor|>It's GitHub not discord<|eor|><|sor|>its neither, its Slack.<|eor|><|sor|>RIP. ngl I had a nagging feeling that it wasn't GitHub either but I couldn't place ...
6
programminghorror
ZedTT
j0009d4
<|sols|><|sot|>decisions, decisions, decisions.....<|eot|><|sol|>https://i.redd.it/jf2tthat4i5a1.jpg<|eol|><|sor|>its neither, its Slack.<|eor|><|sor|>RIP. ngl I had a nagging feeling that it wasn't GitHub either but I couldn't place it, and I figured someone would correct me if it was wrong haha.<|eor|><|sor|>That's c...
6
programminghorror
imdsrs
k8c1af
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|eols|><|endoftext|>
894
programminghorror
chepas_moi
gexespf
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Not to mention the js tag... This is almost "LinkedIn recruiter" bad. So much fail in so few keystrokes :)<|eor|><|eols|><|endoftext|>
118
programminghorror
imdsrs
geyytvu
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>'=' is assignment, '==' is equivalence Fails all around<|eor|><|soopr|>The title was to affirm they don't know coding, but reading your comment I realized I'm wrongly assigning it to a FUNCTION. bad title ...
26
programminghorror
pbrpunx
gexur4r
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>There's a pretty good pun in the object name though.<|eor|><|eols|><|endoftext|>
25
programminghorror
zachbs
gey1dou
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>There's a pretty good pun in the object name though.<|eor|><|sor|>What is the pun?<|eor|><|sor|>"dollar" bill<|eor|><|eols|><|endoftext|>
25
programminghorror
ChickenF622
geyu3ba
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>'=' is assignment, '==' is equivalence Fails all around<|eor|><|sor|>Does that mean '===' is equinement?<|eor|><|sor|>No, it's strict equivalence<|eor|><|sor|>Yeah? Then what does '====' mean?<|eor|><|sor|...
21
programminghorror
de5933
gey3yrh
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>I want to be a city planner so I can have street names like "${address.streetName}"<|eor|><|eols|><|endoftext|>
17
programminghorror
rod911
gey7o6y
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>There's a pretty good pun in the object name though.<|eor|><|sor|>Thats how you define variable in php<|eor|><|sor|>Correct me if I'm wrong, pretty sure you use arrow syntax to access object properties and ...
16
programminghorror
RiverKawaRio
gey8gq2
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>Assuming this is in rupees, I was extremely thrown off at the cost of the meal (as someone who uses USD)<|eor|><|eols|><|endoftext|>
14
programminghorror
Nordrian
gez5yjh
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You dont seem to appreciate that the title is also a joke #meta<|eor|><|sor|>[deleted]<|eor|><|sor|>Wanna be angry? I make my tables 1 size bigger so I can start my index at 1!<|eor|...
14
programminghorror
TheLucatus27
geyou19
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>'=' is assignment, '==' is equivalence Fails all around<|eor|><|sor|>Does that mean '===' is equinement?<|eor|><|sor|>No, it's strict equivalence<|eor|><|sor|>Yeah? Then what does '====' mean?<|eor|><|eols...
12
programminghorror
alekseiaaa
gey6lyh
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>There's a pretty good pun in the object name though.<|eor|><|sor|>Thats how you define variable in php<|eor|><|eols|><|endoftext|>
10
programminghorror
martinikene
gey0axo
<|sols|><|sot|>$flyHigh.doesNotKnowHowToCode()=True<|eot|><|sol|>https://i.redd.it/1gvpvj49vp361.jpg<|eol|><|sor|>There's a pretty good pun in the object name though.<|eor|><|sor|>What is the pun?<|eor|><|eols|><|endoftext|>
9
programminghorror
papsamir
z0nj2r
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|eols|><|endoftext|>
890
programminghorror
eloel-
ix6nm9h
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>I'm not sure what you're even trying to achieve to actually answer the question. Perfect.<|eor|><|eols|><|endoftext|>
580
programminghorror
postandchill
ix70wwv
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Array + looping the console.log bit. But it's been 10 years, I bet you are a code ninja now.<|eor|><|eols|><|endoftext|>
238
programminghorror
Improbably_wrong
ix6p654
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>I'm not sure what you're even trying to achieve to actually answer the question. Perfect.<|eor|><|sor|>He's clearly trying to optimize so...
175
programminghorror
plaindrops
ix75xgz
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>foreach i in (2000, 75, 840, 28500, 2000000, 7.5) console.log(0.05 * i);<|eor|><|eols|><|endoftext|>
120
programminghorror
SirNoodlehe
ix74oza
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Array + looping the console.log bit. But it's been 10 years, I bet you are a code ninja now.<|eor|><|sor|>Plus `5 / 100.0` can be 0.05<|e...
113
programminghorror
the_hunger
ix6q67u
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Why do you need the numbers anyways? You could easily store the values in an array and loop though for the math, but the why is the ques...
107
programminghorror
Trumpkintin
ix6oo9s
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Why do you need the numbers anyways? You could easily store the values in an array and loop though for the math, but the why is the ques...
103
programminghorror
YourAverageNutcase
ix7c58l
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>foreach i in (2000, 75, 840, 28500, 2000000, 7.5) console.log(0.05 * i);<|eor|><|sor|>Depending on the language, you might be able to rew...
58
programminghorror
danimal51001
ix6zgjv
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>I'm not sure what you're even trying to achieve to actually answer the question. Perfect.<|eor|><|sor|>He's clearly trying to optimize so...
56
programminghorror
chuby1tubby
ix6uo55
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Why do you need the numbers anyways? You could easily store the values in an array and loop though for the math, but the why is the ques...
47
programminghorror
Soren11112
ix7hfgp
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Array + looping the console.log bit. But it's been 10 years, I bet you are a code ninja now.<|eor|><|sor|>Plus `5 / 100.0` can be 0.05<|e...
45
programminghorror
Xirenec_
ix7hy5r
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>foreach i in (2000, 75, 840, 28500, 2000000, 7.5) console.log(0.05 * i);<|eor|><|sor|>Depending on the language, you might be able to rew...
24
programminghorror
serg06
ix7464t
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Looks good to me.<|eor|><|eols|><|endoftext|>
23
programminghorror
iamghostling
ix7qqve
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>I'm not sure what you're even trying to achieve to actually answer the question. Perfect.<|eor|><|sor|>He's clearly trying to optimize so...
18
programminghorror
neuthral
ix7fth4
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>nodejs, nice and compact `[2000,75,840,28500,2000000,7.5].map(n => (5/100.0*n))` output: `[ 100, 3.75, 42, 1425, 100000, 0.375 ]`<|eor...
17
programminghorror
postandchill
ix74uly
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Array + looping the console.log bit. But it's been 10 years, I bet you are a code ninja now.<|eor|><|sor|>Plus `5 / 100.0` can be 0.05<|e...
17
programminghorror
mondie797
ix7rq0t
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Array + looping the console.log bit. But it's been 10 years, I bet you are a code ninja now.<|eor|><|sor|>Plus `5 / 100.0` can be 0.05<|e...
17
programminghorror
LawfulMuffin
ix7w0jj
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>Array + looping the console.log bit. But it's been 10 years, I bet you are a code ninja now.<|eor|><|sor|>//number selected by random dic...
12
programminghorror
orhnofficial
ix6vbjz
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>https://codereview.stackexchange.com/questions/<|eor|><|eols|><|endoftext|>
11
programminghorror
skjall
ix80dm6
<|sols|><|sot|>Almost 10 years ago on SO, I thought this was such a good question I even manually randomised the values <|eot|><|sol|>https://i.redd.it/tiq8abvnd91a1.jpg<|eol|><|sor|>nodejs, nice and compact `[2000,75,840,28500,2000000,7.5].map(n => (5/100.0*n))` output: `[ 100, 3.75, 42, 1425, 100000, 0.375 ]`<|eor...
11
programminghorror
Fabus1184
y4xv4h
<|sols|><|sot|>Works on my machine...<|eot|><|sol|>https://i.redd.it/zj0xowoz41u91.png<|eol|><|eols|><|endoftext|>
889
programminghorror
qqqrrrs_
isgkrdf
<|sols|><|sot|>Works on my machine...<|eot|><|sol|>https://i.redd.it/zj0xowoz41u91.png<|eol|><|sor|>The five "%hhd" in the start are probably for the arguments that are passed through registers. I think in Windows you would need only three<|eor|><|eols|><|endoftext|>
151
programminghorror
Fabus1184
isglgdo
<|sols|><|sot|>Works on my machine...<|eot|><|sol|>https://i.redd.it/zj0xowoz41u91.png<|eol|><|sor|>The five "%hhd" in the start are probably for the arguments that are passed through registers. I think in Windows you would need only three<|eor|><|soopr|>Sure, lemme just add some #ifdef \_\_linux\_\_ ... to further wor...
137
programminghorror
FloweyTheFlower420
isgjw54
<|sols|><|sot|>Works on my machine...<|eot|><|sol|>https://i.redd.it/zj0xowoz41u91.png<|eol|><|sor|>oh my god this behaviour is so undefined, i'd be scared to change compiler version (or even run with any other optimization level).<|eor|><|eols|><|endoftext|>
115