
sangatster
73544
1204
41

When I started coding we didn't have fancy UIs or intelligent syntax helpers, we used COPY CON and we liked it!

Pretty old but still one of my favorites. I still have a *bottle* of Jolt Cola on my desk. No, I really do. The cola literally ate a hole in the can I had for years but the bottle still stands.

Here's another fact I deal with on a regular basis. Something in my bones idk, I hate doing repetitive tasks I know can be automated. Lazy I guess.

This has never happened. Well, not today. Well, not since lunch. And yes, it's Saturday.

Ok, one more theory...also old but pretty Industry Standard

I worked my way up to UI to the point of having real usability testing for a time. The absolute worst thing we can inflict on a user is a fault in an error handler.

The rest are comics

that describe a tiny aspect

of what it is like to be a software developer. Been coding over 20 years and just had this happen last week. I put a = where I should have put a ==

Sorry if this breaks anyone's bubble, but everyone is self-taught. You either have the genetic mangling that renders a life coder or you don't.

Worse, the code they're copying has comments that they don't change or delete and has no context where it's copied

Kind of like how these noadd comments are turning into an autobiography

Bob Ross is like, immortal

Not too far off the mark

This is the crap that drives me nuts. It's not like there's an AI at the core of CISL or something that says, "nah, not this time". How does this even happen?

Requirements gathering, amiright?

This is what got me started and it's what keeps me going. If you're new to development and someone comes in to explain some really cool feat they just mastered, if you don't have time to really follow along, common courtesy is to smile and nod a lot, and if you're skilled, do a little reflective listening too.

I am this guy. Both of him.

Regular expressions are the work of the devil. Change my mind.

I worked with a guy who had this kind of tolerance. I learned more from him than any other in my career. He is a brilliant engineer. I need to give him a shout, been too long.

The third branch is the one I get most: Ok, well, time to go home, bye!

Oddly, I've found this trickles into other aspects of my life. Take home improvement for example...

Truth

Also truth

After the next ice age some visitor will dig up a remnant of humanity and it will have doom installed on it.

I work in JScript.NET these days. It's both and neither. It's .NET but it's not. It's Javascript but it's not.

It's funny how much of my life has become like Dilbert. I literally live on Tolbert Ave.

Being in UI as I was for years, this remains my favorite Dilbert. I take a hard copy wherever I go as a reminder of where things were and where they've gone. Though I really think the first two frames were enough.
Ok, enough lollygagging for me. Back to work!
Elebez
My current favorite error is: File does not exist or already exists. Existential file paradox!
LocalGuyJin
I am loving all the programming dumps on imgur today! Please, sir, I want some more.
Relgap
What third branch? WHAT THIRD BRANCH??
PotatoThunder
I wrote code for 10 years. #4 is the best representation of that I've ever seen.
MadMeeks
Anyone understanding console debugging gets an upvote
sangatster
Ahh print statements. I work in an environment where we don't even get that. Have to raise exception to see value of variable.
ByThePowerOfSCIENCE
printf("Made it to line %d\n", __LINE__);
sangatster
It's ridiculous but I still have to do this, did it just last night. Client-server dev is hell when it's on production servers.
BaconSandwichAnimates
I want to understand this but I've only just finished my first semester of 9th grade Java and I'm still in the command window. Eh, at least-
professionalwindowlicker
I understand some of it but that’s just because I’ve been a working adult for a few years
BaconSandwichAnimates
Eclipse highlights errors so stuff like #9 won't happen.
meSacreligiouS
You misspelt IntelliJ
BaconSandwichAnimates
My school has us use Eclipse and it actually works pretty well. I've never heard of intelliJ.
TheNeverEndingNameHaJustKidding
I just graduated college and first job uses IntelliJ, main thing I notice is it doesn’t freeze anywhere near as often.
BaconSandwichAnimates
Glad you're happy, then. The only time something's nearly frozen is when I created an infinite loop of System.out.print( )... I'm pretty--
Tessedan
I dont get the semicolon problems... i usually forget NOT to use it; kind of like putting an f after 0.5f when i'm not coding.
sangatster
Wait until it enters your verbal processing core. Gets some pretty weird looks when you end sentences with "semicolon".
RayMC
It's easier if you speak multiple languages, or have studied linguistics. It ties back pretty well with CS, actually.
SupMelloMike
NullPointerException - causing problems where there should be none.
sangatster
I pondered that quite a bit when I was a C++ developer. I understand the reasoning behind throwing the error, but it sure is annoying.
mabbo
Don't allow nulls. Optional anything that could be null, and immutable objects that don't allow null inputs.
longshot5112
Null exceptions aren't bad. Developers that don't properly handle them are.
mabbo
They aren't bad, they're terrible. The man who invented 'null' considers it his worst mistake. Just make NPE's impossible.
SupMelloMike
I know they aren't bad, in some cases they are just super annoying. Read what Tony Hoare (creator of null) told about null reference.
FirstAidPoetry
My favourite exchange with coders is looking over their shoulder, saying they’ve overstored a pointer and then walk away. I’m usually right
pivotalsword
I understand nothing.
FooBarington
Nobody knows what the hell they are doing
Pcakester
oh god i feel so stupid
SuperbBackhand
I found a race condition here and here and here and here and here and here and here and here and here and here and here and here and...
TheTechGuy007
How often do you work with ppl who do not comment? @sangatster
sangatster
Well, clean code movement says if you have to comment you've failed. I understand where they're coming from, but concepts and gotchas 1/
Eleshar24
Isn't the point of commenting not to explain what you did but WHY you did it?
sangatster
It certainly should be. Because I work with a lot of non-developers who touch script on occasion to do their job I will sometimes say more.
sangatster
should go in, especially when what seems obvious isn't the right course. But to answer your question, usually. Most don't.
NerdNerdburger
ffs, use black, it uses less power.
ByThePowerOfSCIENCE
Only in CRT, OLED screens. LCD just blocks of the backlight for black pixels. Anyway it's insignificant compared to overall power usage.
KupukatheDruid
That last one is so true it hurts a little.
EpilatorAlligatorBothReduceGrowth
Works for working on banking as well. I swear compliance teams would rather we don’t have customers to speak to at all.
EpilatorAlligatorBothReduceGrowth
*in banking, not on
erbiumyttriumytterbium
Not only do I understand all of these, I've experienced all of them. FML.
Eleshar24
So have I. And I work in HR...
tuxedobob
Negative lookbehind assertions get!
justonemorepicturepls
Pretty sure you get very specific line errors when using = instead of == in java. Shouldn't be hard to debug
JMaxGarage
ONLY FUCKING NOOBS CODE ON WHITE BACKGROUND OR USING NOTEPAD. FACT.
FooBarington
I'm using notepad right now. But I also have a SublimeText window open too. And notepad++. And VS Code.
JMaxGarage
Who the fuck codes anything but html in notepad? Like starting from scratch on a white ducking background? Use Notepad++ for that.
Eleshar24
Side projects, eh?;)
professionalwindowlicker
I have no idea what y’all do. But whatever it is it makes my computer work.
sangatster
or not work
Shigbeard
I've been making a thing with docker that makes an image for a gmod install, then mounts content as a volume, then makes another image, /1
Shigbeard
then mounts universal addons, then makes another image, then mounts per-server addons, then runs the server as its own container.
Shigbeard
In other words, I'm making gmod server hosting 10000x more complicated than it needs to be all because "lol docker"
ILikePizzaWithPineapple
Time to start a side project with JScript.net
sangatster
I've never hated a language like I hate JScript.net. Sometimes CISL conversions just fail to work for no apparent reason. usually they do.
sangatster
Sigh, thanks for rearranging everything imgur! Well, at least developers are familiar with disjointed logic.
RayMC
"You either have the genetic mangling that renders a life coder or you don't."
v
sangatster
Glad someone caught that. True though.
BenSnow97
know works. worries, all multithreading No how we
sangatster
Yes, thank you
mnloggerman
It's been my dream to get into programming. I'm currently 30 yr old and have degrees in criminal justice and teaching. Where should I start?
TheNeverEndingNameHaJustKidding
Codeacademcy has a great set of tutorials that have embedded editors and will check if your code is accurate.
tonysdg
Find a good CS 101 course online. Remember that programming is only a tool -- the real thing to learn is how to write an algorithm to 1/?
tonysdg
solve a problem. No one cares if you write a sudoku solver in C, Python, Java, or PHP (don't do that last one), but the algorithm -- the 2/?
tonysdg
steps you take to solve the sudoku puzzle -- are the part that matter, and that's the hard thing to learn. As an experiment, try to 3/?
tonysdg
write down the instructions to make a PB&J sandwich. Then think of all the ways an alien would screw up: "Open the PB? How? Toss it 4/?
sangatster
Once you settle on a language, best selling tool is to write an app or two, something polished, that serves a useful purpose. Then on /1
sangatster
an interview, bring it on a pen drive along with the full source so they can see your coding style, if they ask. Demonstrates competence.
mnloggerman
Thank you for the advice. What language do you recommend?
sangatster
Go with one of the more popular languages so there's more support groups and marketability. BASIC is a good starting point as it tries to 1/
qazw3r
codeacademy is great, whichever language you pick remember to always comment your code even if its just tiny or an exercise...
qazw3r
i started with python and C, python is pretty flexible, easy to get and has a lot of tools, but starters often catch bad practices from that
mnloggerman
I'll take your word for it and check out python. I have a friend who tells me to learn c++ but it's such a daunting language
qazw3r
c++ can be a harsh to begginers but it's really awesome. In my experience python is a good start bc you can learn how to think the algortihm
CyberSecurityShark
Cyber Security Shark approves!
sangatster
I should do a post on Kasperspy. Latest version has gone popups unleashed. I literally answered Yes to at least 50 warnings on 1 app
RamsesMCMXCI
Yes do it!
IMayOrMayNotHaveTroubleFindingAndOrChoosingAUsername
You only need 250 (I think it was) characters of text to avoid the dump+ads stamp. But I appreciated the autobiography.
sangatster
Really? I never knew what it was, thought you had to have comments for every image. Ha!
IMayOrMayNotHaveTroubleFindingAndOrChoosingAUsername
I don't think it has to be spread around, can just be a blurb at the bottom. But this is just what I've read, and could have changed since.
sunyudai
How is JScript.NET? I've been meaning to get around to trying it, but, well, see the house building comic.
sangatster
Dead. Only maintained enough to continue to function. Frozen in time, nothing past .net v2.0. It's the ultimate union of opposite 1/
sangatster
approaches, typed/untyped. Learn TypeScript instead. It's actively being developed, designed by Anders H. of Borland yore.
sunyudai
I already work in typescript. But good to know, thanks.
AllTheGoodOnesWereGone
#7 must be old. That's an "easy" problem now.
AllTheGoodOnesWereGone
https://www.youtube.com/watch?v=4eIBisqx9_g for the disbelievers, and this is pretty much obsolete already.
tonysdg
2014 I believe (based on tag at bottom of this site: https://explainxkcd.com/wiki/index.php/1425:_Tasks).
Eleshar24
About 5 years. Can't you read? The lady says in the comic that she will need 5 years. WTF, people!
Eleshar24
But seriously, it is from 2014.
ByThePowerOfSCIENCE
https://cdn-images-1.medium.com/max/1096/1*bt-E2YcPafjiPbZFDMMmNQ.jpeg
AllTheGoodOnesWereGone
Still easy now, given enough chihuahua and muffin pictures, it only takes a few minutes to make a good chihuahua/muffing discriminator.
ByThePowerOfSCIENCE
https://medium.freecodecamp.org/chihuahua-or-muffin-my-search-for-the-best-computer-vision-api-cbda4d6b425d (tl;dr: still not very reliable)
Bunsen
There's more to that translation guide:
sangatster
hahaha last couple of those made me laugh
ByThePowerOfSCIENCE
Open new terminal -> `pkill vim; rm helpimtrappedinviandicantexit.txt`
Bunsen
The flip side of that is ending up with ":wq" randomly scattered in files you edit in something else.
ByThePowerOfSCIENCE
I wondered for a while why there were empty files named 'cat', 'ls', etc. PS1 ends with '> ' and not everybody checks what they copy-paste.
ByThePowerOfSCIENCE
Java is a harsh friend. Regexes are like amphetamines. Parts of Linux are seriously broken. Security wallpaper over the cracks with dogma.
sangatster
A seasoned developer. Best description I've heard for regular expressions.
ByThePowerOfSCIENCE
Yeah, you have to know when to quit, which is way before you realize they won't work for this task.
tonysdg
http://imgur.com/gOPS2.png
sangatster
Haven't seen that in a while. Gave me considerable laughter first time I encountered it.
ImKindaDone
I’m not a seasoned developer. I’m the guy who writes a 10 line bash script to do a report that grows until it’s our new billing system..
uplock
This made me sad laugh until I almost cried.This happened wayyyy too many times.
ImKindaDone
And I appreciate this more than you know. Take all the upvotes.
ByThePowerOfSCIENCE
1. migrate to another language before it's nigh impossible. 2. at least it's not Excel with a bunch of macros.
ImKindaDone
I’m trying to learn Perl, but it’s hard to break the bash habit after 20 years...
ByThePowerOfSCIENCE
Nothing beats it for oneliners, but it has no future in development - gone the way of COBOL.
kruug
At least it’s not Access that everyone tries running all at the same time...
Mimsey
Java is the worst language ever invented and nobody can change my mind.
Disgruntled3lf
Hah. Clarion, Natural, VBA.
Bunsen
Excluding the Turing tarpits like brainfuck, there's http://thedailywtf.com/articles/A_Case_of_the_MUMPS
Dokramuh
Can you defend this position?
sangatster
What if someone gave you a million bucks cash tax free if you changed your mind about Java?
Mimsey
A million bucks would still not heal the hours of torment Java and its caveman users have inflicted upon me.
kruug
May I introduce you to white space?
ByThePowerOfSCIENCE
Visual Basic; PHP5. As I said, Java is harsh, but it means well. Like Pai Mei.
Mimsey
More like a tricycle with training wheels that have another, smaller set of training wheels. And the worst resources on Earth. /1
Mimsey
"You just want to print to a ReadMe.txt? FUCK YOU, IMPORT 5 THNGS AND WRITE 10-20 LINES." Every problem has 20 solutions online, all bad. /2
Mimsey
You ask someone, "Hey, I need to build a few BSTs and read segments of elements in post-order, this is what I've got so far." /3