NotSoAngryGuy
149099
3181
99
This one hurt me
Edit: Finally hit front page. That's it. I can finally go home.
Send music recommendations if you want.
njullpointer
I'm good enough at programming to know Im basically a glorified macro for turning stackoverflow questions answers into commit code :(
Ireallylikepuzzles
Thanks for that #17
Curii
To be fair #2 applies to my research notes as well.
OatmealOgre
Tried to learn bash scripting while bored at work. Couldn't understand what I was doing wrong. When I replaced parts with copy pasted 1/2
OatmealOgre
code it worked. Turns out the computer had default settings for replacing "" with characters that weren't interpreted correctly.
fisttaco
Holy shit. I had forgotten all about Fox Trot. Such an awesome comic.
slapmychipsup
I think it still updates online and its still pretty good
YarTheBug
@op. Die antwoord, peelander z, flogging Molly. Somethings bound to catch.
j0112358132134
Lustmord, Mr. Bungle, Rockdrigo Gonzalez, Clorofila, Dir en grey, Dead horse beats, La femme...
anvilon
#2. So much #2.
andaction
Same pretty much goes for finding one of my senior thesis papers. I have no idea what it says. It's like any thought had to have 10 subsets.
chizknocka
I always enjoy these. ☕️
Mephane
Programmer here. The "forgotten semicolon" issue is overblown. It becomes second nature to place it and you rarely ever forget it.
NotSoAngryGuy
My main thing is that I forget my brackets.
MmmmmmDonuts
#7 made me actually laugh out loud. That is so true.
Houkouha
He never resets word to 1 on a new page.
Phischstaebchen
#4 smells like Sony?
Detranica
The semi colon one is all to accurate
TheBasementNerd
I came back to a game code after 3 months and re-read it. I had made two functions that did the same thing with wildly different codes. Why?
TheGouldFish
What do you call a collection of programmer: An Argument.
ratchet3789
Ahhh yes, first time programmer meme dump. Wait until you get to the point when you audibly groan at these
firstworldproblemcomplaints
^ always mocking me SQL... always mocking...
Dinnerbird
Robert'); DROP TABLE Students;--
j13jayther
Oh Bobby Tables...
soulever
A sql statement walks into a bar, sees two tables and asks , "can I join you?"
hwatL4bloopy
this is why we need favorites for comments; //semicolon was on purpose
sinbios
It's -- tho
hwatL4bloopy
How
sinbios
Comments in SQL are prefixed by -- not //
trikucian
As a programmer I love these. My favorite is when I'm trying to figure something out and my boss answers too quickly for me to write down
Puttzy
Mom "bananas are 50c per pound. Get five" i bought five pounds of bananas. Mother "why did u buy so many bananas?" [This happened]
CookieJedi
5lbs of bananas is pretty standard when purchasing bananas.
SketchNI
ArbitraryInstructionException;
IIMUGENII
I'm at a hackathon right now. So goddamn real.
killernerd
#5 hurt my soul... #12 when talking to management it's easier to just give a vague answer. 9/10 they don't care about/understand the details
xbxoxy
Can someone please explain #5
Lornd
Rather than getting tomorrow's date the method waits 24hrs and gets today's date.
BeesKneesJohanson
And like that it just became: funny *= 1000; // Funny initialized to 1 of course.
Lornd
The 1000 is in milliseconds
TitaniumMonkeyBalls
Funny. Except 'compiling' hasn't been an excuse we could use for at least 15 years.
ItsDangerousToGoA1one
Running tests can work as well
Ringshadow
I work radiation safety. We use "Smears are counting". If they are, it's legit, we can't do jack shit until the data's in really..
Ringshadow
45 sec/smear on the Tennelec, 60 sec/smear on the Protean, godonlyknows/wet smear on the Wallac...
goesen
Some people have gigabytes of sourcecode to build. Totally legit excuse, especially since the build often isn't as optimized as it could be
norill
project i work on takes 3-7 min to build, another ~3 to deploy
EricBetts
These days it's waiting for Docker Compose to start all the services
NotSoAngryGuy
I know, I just really enjoy it.
jakeonehalf
Ever cross compile a custom Linux kernel?! It's a 15 minute break... then you find out you forgot a semi colon.
rewtd
We use "building" nowadays.
mand1nga
clearly you haven't developed for Android yet
VanDerGroot
Large projects can still take a fair amount of time to compile.
khora
Try compiling Chrome.
farny99
i used that excuse while working at mcdonalds
hwatL4bloopy
what? i remember compiling. what am i missing from this comment
ProfessorOfTheoreticalSex
computers are fast now. it kinda sucks.
hwatL4bloopy
oh. lol. i remember compiling. i hated the down time of like 5 minutes. not enough time to do anything
Gdan79
as computers have gotten faster coding have gotten more data heavy though. A 1 or 2 meg exe on a 486 was the exception. Now wordpad is 4 mb.
ProfessorOfTheoreticalSex
that 486 was cruising somewhere around 66Mhz. the $200 referbs that i just ordered are 3.4Ghz. 51x faster helps a little with larger files.
ProfessorOfTheoreticalSex
forgot that they were dual core too... but wanted to highlight that a programming company shouldn't be using 5yo referbs. so x50 is conserv.
DontLookAtMePenis
This post just made me want to start learning how to code, can someone tell me where to start?
Katateochi
if python is tempting, go for Ruby/Rails instead; the community & documentation is so much nicer to interact with, + it's a beautiful lang
designalchemy
https://www.codecademy.com/
BeesKneesJohanson
software-carpentry.org is pretty good for learning about bash, python, R, SQL, version control with git, and other topics. (1/2)
BeesKneesJohanson
(2/2) it's not too extensive yet, but it was recommended to me by a mentor and I learned python through it. Currently working on SQL.
sysop1021
This is the best online programming course I've seen in my travels: https://www.edx.org/course/introduction-computer-science-harvardx-cs50x
iRecommendBooks
Take a learn Python course (it's easy to learn, understand, and broadly useful irl). Then go do short tutorials, eg rabbitmq's for python.
iRecommendBooks
The tutorials are easy to follow, and feel very much like real code (cause they are- we use rabbitmq broadly at my work)
DontLookAtMePenis
Thanks all, when I make my first million I'll dedicate it to you all, but you can't have my money, that monies for the hookers
VikingHobbit
"Open new file" ... but seriously, Find some online tutorials for any object oriented language and follow those
NotSoAngryGuy
https://www.udemy.com/free-learn-c-tutorial-beginners/ Good place to start
mand1nga
first you need to be released from the Matrix
DoingItWrongSince1980
#17 Why would you put this evil in the world?
thereisnoscotty
Because lulz, obviously.
Topboss
Ah most decent compilers would find that in a heartbeat, some will even highlight it. Even notepad++ would figure that out!
StarkeRealm
Reminds me of using nulls in place of spaces to mess with people.
claudex
I insert nbsp with altgr-space. Some years ago you had very strange messages with GCC and non ascii characters. Nightmare to debug
Mockingbirb
A greek question mark?
Brainlord
#17 thanks for sharing that... It will be wisely used
DoingItWrongSince1980
NotSoAngryGuy
Only do it if you know the person you're doing it to isn't a violent psychopath.
usersubbordercontrol
They will be after
vokzhen
Only do it if you're okay with the person *becoming* a violent psychopath.
BronzeLeaguePro
Dude, Java interprets unicode escapes as a separate step before compilation. Insert comment. Insert unicode newline escape code...
childofsoong
Oh, it gets better: https://github.com/reinderien/mimic
IATTM
I could be wrong, but I'm pretty sure that's pretty easy to find now days.
norill
nowadays*?
IATTM
I guess you're correct. I always assumed people over emphasized it into that word based on it usually following a joke. TIL. Thanks.
DoingItWrongSince1980
Maybe. It has been a few years since I cared about a semicolon. But 1997 me is livid.
IATTM
As the 1997 you should be!
DanTheDane
I feel fairly certain that Visual Studio would find that immediately and give you an error with the exact position.
foolaloop
In VS it gives you the " ; expected" and "unexpected character ;" errors and highlights what looks exactly like a semi-colon. Certified evil
insegrevious
Except I would backspace and replace it within 2m or wondering why it is having issues. I may just rewrite the whole line.
foolaloop
True, so to go full evil you could do a find and replace, then save, close and reopen the file so there isn't any undo.
insegrevious
Who isn't using version control these days??!? ;) if just revert to a previous commit.
samsonguy920
And then you give up on Visual Studio for pointing out perfectly good semicolons. (Unless VS actually tells what the mark really is)
Phekka
Nah, it'll probably highlight the entire line and give you a cryptic ungoogle able error code.
davidjytang
Google might take you right to this page.
Reviire
Should give you "Expecting ;", probably.
animal531
"Visual Studio: Sass detected on line 17!"
Perfzilla
++Points
BananaLover93
that bothered me so much when i tried coding PHP
divitu
It's from C, so you'll see it in a lot of languages, including Java.
BananaLover93
i'm used to using value++ , i just googled it and i feel like i should have known it lol
Zeroji
increment(&points);
norill
i hate everything about it
Perfzilla
FUCK I FORGOT THE SEMICOLON
zerkalot
Int points = 5; points++; No use in givong points if you don’t cast them first!
Poodlebrain
Would be fine in non-strict languages. My problem is he's incrementing without assigning, so it's useless
thelesserinfinity
The "++"-version includes the assigning
Poodlebrain
When it's after the variable, sure, but not when it's in front of it
divitu
Depends on the language, but in most C-like languages, you're wrong.
divitu
That's not what casting is.
MAYORofTITTYciti
Points++ // I like to look at a post before I upvote
ScienceDiscoverer
++Points will be more fast than Points++
norill
*gets a pitchfork and torch while mumbling something about premature optimization*
BeesKneesJohanson
Points += 1; // I like to be thorough/redundant
webberjo
Points = new Array(Points, 1).reduce(function(a, b) { return a + b; });
AGracefulCombover
Oh dear God
thelesserinfinity
Points=Points+1;
Anonymonocle
ThisIsTheLastTimeIChangeUsernamesIPromise
Points = ++Points; // because let's needlessly confuse some junior programmers
Anonymonocle
I also found my first bug: factor == 1