subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
Mayhem_1337
icynjay
<|sols|><|sot|>Found this masterpiece in my discord server<|eot|><|sol|>https://i.redd.it/kxxzy88jdl691.png<|eol|><|sor|>And remember guys Its important to learn css<|eor|><|eols|><|endoftext|>
10
programminghorror
No-Advantage-6835
icypj8t
<|sols|><|sot|>Found this masterpiece in my discord server<|eot|><|sol|>https://i.redd.it/kxxzy88jdl691.png<|eol|><|sor|>*Space Core has entered the chat*<|eor|><|sor|>Is that React? Looks like someone forgot how to CSS<|eor|><|soopr|>Yeah its Nextjs(react) with mantine<|eoopr|><|eols|><|endoftext|>
9
programminghorror
Repair_
icyjfju
<|sols|><|sot|>Found this masterpiece in my discord server<|eot|><|sol|>https://i.redd.it/kxxzy88jdl691.png<|eol|><|sor|><Space h="x1" /> goes brrr<|eor|><|eols|><|endoftext|>
7
programminghorror
Mayhem_1337
icys7j2
<|sols|><|sot|>Found this masterpiece in my discord server<|eot|><|sol|>https://i.redd.it/kxxzy88jdl691.png<|eol|><|sor|>Yes bro, how did you know Imma front-end senior?<|eor|><|eols|><|endoftext|>
6
programminghorror
interruptin_cat
icyqprb
<|sols|><|sot|>Found this masterpiece in my discord server<|eot|><|sol|>https://i.redd.it/kxxzy88jdl691.png<|eol|><|sor|>Seems like he wanted a really tall margin but one "xl" from his css framework wasn't cutting it. Also for some reason he didn't want to write any custom css<|eor|><|soopr|>He actually didnt know how ...
5
programminghorror
sntccc
icyszr7
<|sols|><|sot|>Found this masterpiece in my discord server<|eot|><|sol|>https://i.redd.it/kxxzy88jdl691.png<|eol|><|sor|>Seems like he wanted a really tall margin but one "xl" from his css framework wasn't cutting it. Also for some reason he didn't want to write any custom css<|eor|><|soopr|>He actually didnt know how ...
5
programminghorror
ONTstudios
dm18nk
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|eols|><|endoftext|>
1,044
programminghorror
jnbkadsoy78asdf
f4vwgu2
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|> console.log(jQuery('ins').map(el=>jQuery(el).text()).get().join(' '));<|eor|><|eols|><|endoftext|>
297
programminghorror
there_are_no_owls
f4wjaqv
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>I didn't know that this was a possibility! What's happening, what's preventing you from copying more than 10 words in this setting? (also, why 10 and not 15 or 20?)<|eor|><|eols|><|endoftext|>
147
programminghorror
serg06
f4yztpj
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>I didn't know that this was a possibility! What's happening, what's preventing you from copying more than 10 words in this setting? (also, why 10 and not 15 or 20?)<|eor|><|sor|>Don't you know? The modern computer processor can't copy m...
108
programminghorror
scrager4
f4xrnb7
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|> console.log(jQuery('ins').map(el=>jQuery(el).text()).get().join(' '));<|eor|><|sor|>ParentElement.innerText would be easier.<|eor|><|eols|><|endoftext|>
99
programminghorror
timmyotc
f4wq484
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Maybe its on purpose through? To prevent copy and pasting stuff into google for cheating?<|eor|><|sor|>I work for a textbook company and we do have some copy prevention stuff, but not in content. There are much better ways to prevent co...
96
programminghorror
5thProgrammer
f4whv4m
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Maybe its on purpose through? To prevent copy and pasting stuff into google for cheating?<|eor|><|eols|><|endoftext|>
88
programminghorror
_PM_ME_PANGOLINS_
f4wyexb
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Sucks for anyone who needs a screen reader.<|eor|><|eols|><|endoftext|>
87
programminghorror
shunabuna
f4z64qj
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>I seen a site where they edited a font file to scramble the character set. eg abcdefghijklmnopqrstuvwxyz to tgceqnpxsfumwdkjyhrivlzboa The html would look like <p>Xqmmd ldyme</p> after the font file loaded the text w...
45
programminghorror
dilfmagnet
f4wtkhw
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>It's simple spell, but quite unbreakable.<|eor|><|sor|>It can easily be broken with even simpler JavaScript.<|eor|><|eols|><|endoftext|>
44
programminghorror
sim642
f4z60b3
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>I didn't know that this was a possibility! What's happening, what's preventing you from copying more than 10 words in this setting? (also, why 10 and not 15 or 20?)<|eor|><|sor|> >what's preventing you from copying more than 10 words in...
39
programminghorror
jnbkadsoy78asdf
f4xwc38
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|> console.log(jQuery('ins').map(el=>jQuery(el).text()).get().join(' '));<|eor|><|sor|>ParentElement.innerText would be easier.<|eor|><|sor|>You're right. It would probably give a better representation of the text as well!<|eor|><|eols...
39
programminghorror
DrMaxwellEdison
f4y447e
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Sucks for anyone who needs a screen reader.<|eor|><|sor|>From what I can tell, oddly enough, [this wouldn't be an issue](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins#Accessibility_concerns): > The presence of the `ins`...
38
programminghorror
SSBM_ZAZU
f4xchcm
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Maybe its on purpose through? To prevent copy and pasting stuff into google for cheating?<|eor|><|sor|>I work for a textbook company and we do have some copy prevention stuff, but not in content. There are much better ways to prevent co...
36
programminghorror
jnbkadsoy78asdf
f4xqpx3
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|> console.log(jQuery('ins').map(el=>jQuery(el).text()).get().join(' '));<|eor|><|sor|>Doesn't work, assuming that's Amazon Reader.<|eor|><|sor|> console.log(document.querySelectorAll('ins').map(el=>el.innerHTML).join(' ')) Shoul...
33
programminghorror
trashtrottingtrout
f4z45do
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>I didn't know that this was a possibility! What's happening, what's preventing you from copying more than 10 words in this setting? (also, why 10 and not 15 or 20?)<|eor|><|sor|>Don't you know? The modern computer processor can't copy m...
28
programminghorror
MrBrainstorm
f4xach3
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Maybe its on purpose through? To prevent copy and pasting stuff into google for cheating?<|eor|><|sor|>I work for a textbook company and we do have some copy prevention stuff, but not in content. There are much better ways to prevent co...
25
programminghorror
anangusp
f4z9s6e
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>I seen a site where they edited a font file to scramble the character set. eg abcdefghijklmnopqrstuvwxyz to tgceqnpxsfumwdkjyhrivlzboa The html would look like <p>Xqmmd ldyme</p> after the font file loaded the text w...
24
programminghorror
AskMeToTellATale
f4wkglf
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Maybe its on purpose through? To prevent copy and pasting stuff into google for cheating?<|eor|><|sor|>Almost certainly is<|eor|><|eols|><|endoftext|>
24
programminghorror
timmyotc
f4xj46u
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>Maybe its on purpose through? To prevent copy and pasting stuff into google for cheating?<|eor|><|sor|>I work for a textbook company and we do have some copy prevention stuff, but not in content. There are much better ways to prevent co...
24
programminghorror
phi_rus
f4vrk74
<|sols|><|sot|>Oh God<|eot|><|sol|>https://i.redd.it/id6ypwc6t7u31.png<|eol|><|sor|>It's simple spell, but quite unbreakable.<|eor|><|eols|><|endoftext|>
21
programminghorror
meso27_
jglt47
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|eols|><|endoftext|>
1,040
programminghorror
kreetikal
g9r3nsz
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>*slaps if condition* This bad boy can fit so many try except blocks in it.<|eor|><|eols|><|endoftext|>
385
programminghorror
kokoseij
g9r9ju1
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
138
programminghorror
FlipskiZ
g9rso44
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
65
programminghorror
blackerbird
g9r3uko
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>That is quite horrific.<|eor|><|eols|><|endoftext|>
62
programminghorror
ayunami2000
g9royvs
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
50
programminghorror
kokoseij
g9rrxl5
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
50
programminghorror
chokfull
g9s8glb
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
43
programminghorror
Sweet-Can
g9r8msz
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>Im I'm im i'm<|eor|><|eols|><|endoftext|>
40
programminghorror
omg_drd4_bbq
g9r8uwo
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>> globalize any variables Globalist conspiracy confirmed.<|eor|><|eols|><|endoftext|>
40
programminghorror
TheChance
g9s3fpx
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
40
programminghorror
lovegro
g9r3ple
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>Those nested try blocks hurt to read. I also hate that they're re-creating an int for a number that's already interpreted as an int. Definitely fitting for this sub<|eor|><|eols|><|endoftext|>
39
programminghorror
hapanda
g9r6a4t
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>*slaps if condition* This bad boy can fit so many try except blocks in it.<|eor|><|sor|>Made my day<|eor|><|eols|><|endoftext|>
38
programminghorror
Revyn18
g9r5n5p
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>And I thought my code was spaghetti<|eor|><|eols|><|endoftext|>
33
programminghorror
ayunami2000
g9rtnqg
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
22
programminghorror
isotopp
g9rgfhg
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>This looks a lot like the Minecraft Java my 10yo currently writes, learning programming on the go because he wants this plugin to do whatever he currently requires. So yes, this is bad. It probabl...
20
programminghorror
KyunDesu
g9rwo6m
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>Im I'm im i'm<|eor|><|sor|>one of the upper case i's are actually lower case L's ain't it<|eor|><|eols|><|endoftext|>
15
programminghorror
TheChance
g9saktl
<|sols|><|sot|>Found this abomination on discord.py server<|eot|><|sol|>https://www.reddit.com/gallery/jglt47<|eol|><|sor|>My friend also had this kind of nonsense codebase on his bot. I told him countless times to fix stuff, It seems like it's getting better but it's still a bowl of meatball lasagna. That bot is verif...
15
programminghorror
Aashishkebab
w3vetu
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|eols|><|endoftext|>
1,037
programminghorror
ZylonBane
igyirdd
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|eols|><|endoftext|>
613
programminghorror
SneakyStabbalot
igyo2o1
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>And then someone decides not to use 7-bit ASCII<|eor|><|eols|><|endoftext|>
245
programminghorror
fakehalo
igyqrly
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>I've had many contentious arguments with anti-regex people over the years, they usually complain about readability and maintainability. This is the kind of stuff you end u...
215
programminghorror
ISeeTheFnords
igyy4us
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>I've had many contentious arguments with anti-regex people over the years, they usually complain about readability and maintainability. This is the kind of stuff you end u...
180
programminghorror
tevert
igyp5zc
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>Honestly I can see the logic, I th...
146
programminghorror
MacaroniAndSmegma
igyitam
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>The real horror here is the colour scheme <|eor|><|eols|><|endoftext|>
124
programminghorror
fakehalo
igyt9f7
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>I've had many contentious arguments with anti-regex people over the years, they usually complain about readability and maintainability. This is the kind of stuff you end u...
91
programminghorror
TheRidgeAndTheLadder
igyonc0
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>Honestly I can see the logic, I th...
90
programminghorror
StochasticTinkr
igyymlr
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>I feel like this could be done wit...
87
programminghorror
flukus
igzt9tn
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>I feel like this could be done wit...
70
programminghorror
ZylonBane
igyvf9p
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>Honestly I can see the logic, I th...
52
programminghorror
GMaestrolo
igyxcfi
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>I've had many contentious arguments with anti-regex people over the years, they usually complain about readability and maintainability. This is the kind of stuff you end u...
49
programminghorror
NotYetGroot
igzkfdx
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>I feel like this could be done wit...
46
programminghorror
ElectronPie171
igypc9j
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>Honestly I can see the logic, I th...
44
programminghorror
NatoBoram
igywi9s
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>The real horror here is the colour scheme <|eor|><|sor|>A colour scheme that screams "ERROR" at you while you code, ain't that beautiful?<|eor|><|eols|><|endoftext|>
36
programminghorror
ydoiwantreddit
ih0v65d
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>And then someone decides not to use 7-bit ASCII<|eor|><|sor|>Or worse, UTF-8.<|eor|><|eols|><|endoftext|>
34
programminghorror
ivancea
igz09a3
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>"Handles edge cases". Thanks but, which edge cases exactly bro<|eor|><|eols|><|endoftext|>
33
programminghorror
starm4nn
igyrmut
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>This is the sort of shit semi-competent hotshots write before they learn that the most important thing is *maintainability*.<|eor|><|sor|>Honestly I can see the logic, I th...
28
programminghorror
ehosca
igysr9s
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>thinking about the \[Pure\] attribute here more so than the body... and how many GC's this might cause if you call it in a sizeable loop and pass in really long strings<|e...
25
programminghorror
MacrosInHisSleep
igz21xe
<|sols|><|sot|>This is a C# method I made that we still use frequently. It does work.<|eot|><|sol|>https://i.redd.it/qlfuxh1e0sc91.png<|eol|><|sor|>The following would go a long way towards readability: const int UpperCaseA = 65; const int UpperCaseZ = 90; const int LowerCaseA = 97; const int Low...
24
programminghorror
Adzerty
jn8v5h
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|eols|><|endoftext|>
1,037
programminghorror
CeeBYL
gb08mai
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
383
programminghorror
definitive_solutions
gb0e9kt
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>He's probably just teaching `if` condicionals<|eor|><|eols|><|endoftext|>
316
programminghorror
a-person-called-Eric
gazyr2s
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|eols|><|endoftext|>
182
programminghorror
GonzoAndJohn
gb0nto0
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
154
programminghorror
m2ilosz
gb09go5
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
152
programminghorror
Adzerty
gb00lci
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
149
programminghorror
madmap
gb0f3hs
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>He's probably just teaching `if` condicionals<|eor|><|sor|>yeah: and repeating means remembering...<|eor|...
117
programminghorror
Nordrian
gb125y7
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>He's probably just teaching `if` condicionals<|eor|><|soopr|>Ahaha even if he was teaching it this is awf...
116
programminghorror
Andernerd
gb0ea1j
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>Looks fine to me.<|eor|><|eols|><|endoftext|>
115
programminghorror
sanderd17
gb0bo25
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
114
programminghorror
CatpainCalamari
gb0f2dt
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
87
programminghorror
Adzerty
gb0wg3c
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>He's probably just teaching `if` condicionals<|eor|><|soopr|>Ahaha even if he was teaching it this is awf...
78
programminghorror
OddNaughty_2
gb07lnk
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>Did you already learned loops statements or any arrays before in this class ?<|eor|><|eols|><|endoftext|>
77
programminghorror
yiyoek
gb0nq2h
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>Did you already learned loops statements or any arrays before in this class ?<|eor|><|sor|>This is the ki...
70
programminghorror
tangerinelion
gb0lqe0
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>Looks fine to me.<|eor|><|sor|>Same here. As far as C goes the only real thing you could improve here is...
63
programminghorror
Vakieh
gb103mf
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>When did this sub get overrun with programming students and skiddies who don't know what the fuck they're...
60
programminghorror
kutuzof
gb0al92
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
45
programminghorror
Capmare_
gb0gral
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>now now now, the worst part is that is teaching C in a web browser html file<|eor|><|eols|><|endoftext|>
44
programminghorror
Bishops_Guest
gb0kyt4
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>if you gotta convert from string what else can you do other than strcmp?<|eor|><|soopr|>I did something l...
44
programminghorror
m2ilosz
gb09lm2
<|sols|><|sot|>I'm in IT studies and this is the way our teacher want us to find the number of the month (it's in French, janvier = January for example)<|eot|><|sol|>https://i.redd.it/qhm6h9d0j0x51.jpg<|eol|><|sor|>This would make such a nice macro usage example: `#define MONTH(str, index) if(strcmp(str, argument)==0)...
42
programminghorror
ForestCat512
umfdtf
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|eols|><|endoftext|>
1,031
programminghorror
freak_dessert2
i81c55v
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Does java have the string repeat method yet? This could be Java (or kotlin since you can "add" new methods to pre-existing classes) Still won't compile this bs though Edit for the people who think I'm trying to figure out wha...
198
programminghorror
Founntain
i81g2d0
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Forever stuck at 100k followers.<|eor|><|eols|><|endoftext|>
146
programminghorror
GMaestrolo
i81q1qh
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Forever stuck at 100k followers.<|eor|><|sor|>False. The comma in the `int` declaration will surely be a syntax error first.<|eor|><|eols|><|endoftext|>
95
programminghorror
flapje1
i81ifcf
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>To be faire. This is a lot better than other ones on here<|eor|><|eols|><|endoftext|>
94
programminghorror
ForestCat512
i81c9i7
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Does java have the string repeat method yet? This could be Java (or kotlin since you can "add" new methods to pre-existing classes) Still won't compile this bs though Edit for the people who think I'm trying to figure out wha...
75
programminghorror
unndunn
i81xv8y
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Does java have the string repeat method yet? This could be Java (or kotlin since you can "add" new methods to pre-existing classes) Still won't compile this bs though Edit for the people who think I'm trying to figure out wha...
69
programminghorror
Datamance
i81vyel
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Ok Im not reading the code because I value my mental health but from whence cometh that 80s neon vaporwave color scheme?<|eor|><|eols|><|endoftext|>
56
programminghorror
PyroCatt
i81ljai
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Does java have the string repeat method yet? This could be Java (or kotlin since you can "add" new methods to pre-existing classes) Still won't compile this bs though Edit for the people who think I'm trying to figure out wha...
38
programminghorror
ForestCat512
i81ayjv
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Where is this from<|eor|><|soopr|>Instagram<|eoopr|><|eols|><|endoftext|>
27
programminghorror
yearoftheraccoon
i81zj6x
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>There is literally nothing wrong in this code. String literal extension function *could* exist in this syntax theoretically. It just converts given literal to repeated form. Hell it even probably exists in some weird language. I...
27
programminghorror
Gayafboyyy
i81aok2
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Where is this from<|eor|><|eols|><|endoftext|>
21
programminghorror
BerkayDrsn
i81n3p4
<|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>There is literally nothing wrong in this code. String literal extension function *could* exist in this syntax theoretically. It just converts given literal to repeated form. Hell it even probably exists in some weird language. I...
20