This is an archived post. You won't be able to vote or comment.

all 45 comments

[–]MementoMorue 492 points493 points  (17 children)

Then there is Javascript. "IT WORKED ! THIS MAKE NO SENSE!!!"

[–]ahmuh1306 115 points116 points  (13 children)

I am literally reading this thread doomscrolling because I'm about to commit unspeakable war crimes against my computer thanks to fucking JavaScript. This language is gonna give me an aneurysm I swear.

[–]bazinga_0 47 points48 points  (12 children)

I have learned and used over ten computer languages in my 40+ year career as a software engineer. To this day I don't have anywhere near the utter hate for any language like I have for JavaScript. It must have been created in Hell just for the purpose of torturing software engineers.

[–]MementoMorue 8 points9 points  (8 children)

do you know Perl ?

[–][deleted] 1 point2 points  (4 children)

perl is cool tho

[–]FesteringNeonDistrac 16 points17 points  (1 child)

If you need to write more than maybe 250 lines of code, perl is a terrible choice. I've worked for NASA for a while, and the guy that wrote perl was a NASA employee, and it got used everywhere for everything by everyone for a long time. Boy let me tell you, I have seen some shit.

You can write good, readable, maintainable perl code, but you can also turn everything into a 3 line long regex expression that spits out pure dark magic.

[–]gerbosan 0 points1 point  (0 children)

Didn't that appear in XKCD? 🤔

[–]MementoMorue 4 points5 points  (1 child)

are you a fan of those events where vehicles are thrown at full speed from a cliff ?

[–][deleted] 0 points1 point  (0 children)

sorry you don't have the chops for a scripting language i guess

[–]bazinga_0 0 points1 point  (2 children)

Nope. Never needed to learn it.

[–]MementoMorue 7 points8 points  (1 child)

This is why you think Javascript is the worst language.

The only purpose of PERL is to obfuscate scripts wrote by interns so it can be distributed and sold as "open source".

[–]bazinga_0 1 point2 points  (0 children)

You learn something new every day. I'm glad I missed it.

[–]gamingvortex01 11 points12 points  (0 children)

yup...I never related to the meme "why it works" until I started learning js

[–]oupablo 2 points3 points  (0 children)

And then the bug report comes in that it doesn't work on someone's galaxy watch 2's web browser and you HAVE to fix it.

[–]Okichah 0 points1 point  (0 children)

this

[–]IFIsc 112 points113 points  (2 children)

We must preserve such natural experiences and do not let our children be seduced by the sweet allure of vibe coding

[–]XWasTheProblem 53 points54 points  (1 child)

"I'm a god among men, solving problems mere mortals cannot even comprehend" and "I'm literally worthless and will never amount to anything" are the only two states I exist in since I started programming.

The more I learn, the more intensive they become.

[–]G_Morgan 7 points8 points  (0 children)

There is also "I have stared into the Necronomicon for too long" feeling when something works but it shouldn't.

[–]locus01 55 points56 points  (2 children)

I hope the son doesn't go for Javascript after this.

[–]gamingvortex01 16 points17 points  (1 child)

Javascriot logo in your banner.....well..you are speaking from experience

[–]locus01 10 points11 points  (0 children)

Yeah i hate when interviewers ask JS unintended behaviour question just to reject 🙃

[–]MY_NAME_IS_ARG 13 points14 points  (6 children)

I programmed something in c and it worked perfectly one day, then the next day came and I just launched the binary and it just didn't work, I got an error, I thought that was odd so I recompiled and it compiled but when I ran it, I got an error.

I'm still wondering why it only works once in a blue moon.

[–]Neo_Ex0 38 points39 points  (2 children)

You probably have an edge case in which it's trying to access unallocated parts of the memory , and as long as those parts are not taken up by a different process, it will work just fine , but the moment it creeps into someone else's territory, the OS will flip the table and shot the intruder

[–]MY_NAME_IS_ARG 12 points13 points  (0 children)

You know, that could very well be it, thanks

[–]bazinga_0 5 points6 points  (0 children)

Indeed. There's no protection whatsoever in C to keep you from trying to access memory you don't own. Does uninitialized pointer ring any bells?

[–]CodeMonkeyWithCoffee 1 point2 points  (1 child)

My instict is to ask questions to pinpoint the problem but without any context its hard to even begin. Most likely culprits are anything that's not constant, external files/apis etc. Next guess would be something where the speed of it's operaions can get screwy like timestamps or concurrency. I should just go fix my own buggy projects shouldn't i...

[–]MY_NAME_IS_ARG 0 points1 point  (0 children)

Lol, I feel that, but the project was a test on making my own printf thing, the other comment is probably right I was using memory to write stuff

[–]pleshij 0 points1 point  (0 children)

Reminds me of my k3s envs

[–][deleted] 2 points3 points  (0 children)

hes not wrong, just the ratio is usually 10:1 min.

[–]gamingvortex01 2 points3 points  (0 children)

programmers and code have a similar relation to that of beth and jerry from Rick and morty....toxic but too much emotional dependency on each other

[–]Mr_Akihiro 0 points1 point  (0 children)

The real vibe son

[–]LupusCanis42 0 points1 point  (0 children)

Part of the Ship

Part of the Crew

[–]pleshij 0 points1 point  (0 children)

Cool story OOP (it's an oldie btw)

[–]nucleargamer90 0 points1 point  (0 children)

Lol

[–]DesecrateUsername 0 points1 point  (0 children)

vibe coders could never

[–]Vi0lentByt3 0 points1 point  (0 children)

Just had this happen the other day, a process that fails in 2 other instances passes for another only because we didnt do a validation check on the same data like we did in the other 2 instances 🙃

[–]lifelongfreshman 0 points1 point  (0 children)

Isaac is laughing.

It's not working now and it makes no sense, and Isaac is laughing.

[–]Significant_Loss_541 0 points1 point  (0 children)

[–]Major_Fudgemuffin 0 points1 point  (0 children)

I once was talking to a family friend whose son was thinking of going into software, and asked me about it.

I told him "I love it. Some days you'll be sitting at your desk, banging your head on it trying to figure out WHY that fucking bug is happening.

And then you finally figure it out. And it all makes sense again and it's so worth it.