Having absolutely no programming knowledge, but reading a lot of programming posts/comments, I'm mostly convinced that coding is half luck and half magic, and coders have almost no idea what they're doing. Somehow I find comfort in this, but am unsure why.
It doesn't!? I swear this is the only job like this lol. When I was in HS I took a C++ class and made the tick tack toe thing just like the book/teacher said but I had no clue what happened so I never took coding classes again. Turns out I could have been a half decent programmer lmao.
It does not. I taught programming for six years, and it makes absolutely zero sense. Day 4 of the class involved explaining the three stages of debugging. 1- This isn't working and I don't know why. 2- Oh! That's why. 3- This is working and I don't know why.
always work on separate branches where you can push whatever you want, no matter how tidy it is, then clean your code, still on the separate branch, and when everything is nice and clean, merge into main branch
if you push your working (but ugly) code on your branch, you at least have a backup where you can head, separating commits is always a good practice, when I have huge features I like to make many micro commits for every bit that feature has added/removed to the code
AdoraApplesauceMeowmeow
GIVE ME THE MEME YOU JUST DELETED!! I ned to see it
dobroweigh
Evolving from plain coding in public to the dramatic programming.
WaitingForCoffee
Yeah, go to the bathroom and cry like a professional
dobroweigh
If I cried every time my code doesn't work... This is its normal state.
lostharbinger42
My favorite is when deleting commented out sections causes things to break. Like, seriously?!
DeadeicPrints
Having absolutely no programming knowledge, but reading a lot of programming posts/comments, I'm mostly convinced that coding is half luck and half magic, and coders have almost no idea what they're doing. Somehow I find comfort in this, but am unsure why.
Zetor
It is. I've been doing this shit for 20+ years. You would think it gets easier.
DeadeicPrints
It doesn't!? I swear this is the only job like this lol. When I was in HS I took a C++ class and made the tick tack toe thing just like the book/teacher said but I had no clue what happened so I never took coding classes again. Turns out I could have been a half decent programmer lmao.
WaitingForCoffee
It does not. I taught programming for six years, and it makes absolutely zero sense. Day 4 of the class involved explaining the three stages of debugging.
1- This isn't working and I don't know why.
2- Oh! That's why.
3- This is working and I don't know why.
DeadeicPrints
I know you people are the ones who bring everything I love in modern society to life, like games and apps, but you must be insane to do this lol.
AdoraApplesauceMeowmeow
not using any versioning?
paynoattentiontousernames
dobroweigh
You want to make us cry?
MrBananaPants
Luke, Use the perforce
spoonassassin
I mean, it happens most often when you have changes you haven't merged yet, that you want to tidy up before you do. Then BAM, they stop working.
paynoattentiontousernames
Always backup before changes. Especially before cleanup.
AdoraApplesauceMeowmeow
always work on separate branches where you can push whatever you want, no matter how tidy it is, then clean your code, still on the separate branch, and when everything is nice and clean, merge into main branch
AdoraApplesauceMeowmeow
if you push your working (but ugly) code on your branch, you at least have a backup where you can head, separating commits is always a good practice, when I have huge features I like to make many micro commits for every bit that feature has added/removed to the code