478
submitted 10 months ago by qaz@lemmy.world to c/programmerhumor@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] dingleberry@discuss.tchncs.de 111 points 10 months ago

I have a sneaking suspicion that most memes are from CS students, it all makes sense. People with jobs don't have time to make memes, get angsty about languages, or syntax issues.

[-] wizardbeard@lemmy.dbzer0.com 54 points 10 months ago

Unfortunately this idea tracks with a lot of online content. People who have time and energy to be extremely opinionated about things generally either don't have a lot else going on, or have direct personal experience that led to their strong views. As people get older and life gets busier people seem far more likely to just do whatever they need to get by and shut up about it.

Seriously, go look up some of the user demographics polls and analysis that was done against various subs on the old site. Most users are/were college age or younger even. Puts a lot of the "sillier" subs like relationshipadvice into context.

[-] soggy_kitty@sopuli.xyz 35 points 10 months ago

This guy fucks^

In my opinion this is a problem with the internet in general, younger people tend to crave attention and often receive the most online because of the anonymous platform it gives them.

As I approach 35 I find myself half writing comments and deleting them because I don't fucking care. This time I will press send

[-] P1r4nha@feddit.de 7 points 10 months ago

Dude, imagine taking the time out of your day to actually make a meme (like the one posted). I really can't be bothered.

[-] fushuan@lemm.ee 7 points 10 months ago

Yeah, if something in my life frustrates me, be it coding or otherwise, I search for solutions online and complain to friends "offline", If I ever thought of making content, it would be on solutions I found of things that frustrated me,. and I'm not even that old.

[-] idunnololz@lemmy.world 14 points 10 months ago* (last edited 10 months ago)

I have time to meme but the memes are insider jokes specific to my company.

[-] flamingo_pinyata@sopuli.xyz 7 points 10 months ago

After 10 years of doing it for work, I still get frustrated about language issues.

But semicolons? It's 2023, why does your language have semicolons at all? If you're one of those poor sods stuck with Java, still it's not an issue, all IDEs will warn you, and basically complete half the code for you.

[-] Windex007@lemmy.world 11 points 10 months ago

It's 2023, why does your language have semicolons at all?

Explicitly constructing your intentions are features of a language.

I LOVE types. I LOVE semi colons. I LOVE compiler errors.

Why? Because the ALTERNATIVE is finding (if you're lucky) unexpected behaviour at run-time.

I promise, I promise SO HARD, that memes about semi colons or "my code doesn't compile" are GREAT problems to have.if that's what's making you sad, your life is good and you're getting paid 10x too much.

[-] _danny@lemmy.world 10 points 10 months ago

People who are annoyed by types have never had to spend weeks of their life hunting for a missing property on an object.

Compilation errors are so much more preferable than finding out the same error at runtime.

[-] Rodeo@lemmy.ca 2 points 10 months ago* (last edited 10 months ago)

Ada has got your back. Entire classes of runtime bugs in C code are eliminated by compiler errors.

You can't even make a integer overflow unless you've explicitly declared that statement as unsafe.

[-] flamingo_pinyata@sopuli.xyz 7 points 10 months ago

Semicolons are not at all comparable to types.

Types give structure to your program, prevent bugs and make team work easier. Semicolons are an artifact of the times it was thought multiple statements could go on a same line. Although I do admit, they make language design easier.

[-] soggy_kitty@sopuli.xyz 4 points 10 months ago

They pay me more money than all of the other Devs because I'm the only guy willing to take on our existing stacks usage of shudders JavaScript. Most Devs I meet straight up refuse to learn it, let alone code in it.

[-] nathris@lemmy.ca 1 points 10 months ago

Semicolons are optional in JavaScript unless you are combining multiple statements on a single line, which is generally not something you should be doing anyway.

I avoid them whenever possible. It encourages people to write poorly formatted code. But then I'm a python dev so I tend to be opinionated when it comes to whitespace.

[-] folkrav@lemmy.world 3 points 10 months ago* (last edited 10 months ago)

Just slap a formatter on there and call it a day. Semicolon or not, IDGAF, let's just stop with the formatting bikeshedding. There are more important things to think about. They don't encourage anything if you don't think about formatting.

[-] aaaa@lemmy.world 1 points 10 months ago

This is one of the things I like most about Go. Formatting is already defined and handled by go fmt. Takes out all format arguments before they start.

[-] SpaceNoodle@lemmy.world 6 points 10 months ago

I will cut someone for leaving trailing whitespace or mixing spaces and tabs, though.

[-] nickwitha_k 15 points 10 months ago

Just use an opinionated code formatter in your per-commit automation. Fewer people get cut and noone gets sick with linting issues.

[-] TheYear2525@lemmy.world 3 points 10 months ago

Can I integrate the linter with our HR management software to automate employee reviews?

[-] nickwitha_k 2 points 10 months ago

Sure but I'm not sure that most HR management software companies are going to be keen on handing over source for you to review.

5/7 Software package is pure garbage. Tim forgot to remove his TODO comment from line 1052 of main and there are three instances of inconsistent indentation in the API module. Therefore, our automation pipeline has marked our own employees as "needs improvement".

[-] fushuan@lemm.ee 3 points 10 months ago

It's annoying to be the weird one that rewrites all the code on the files I touch because I bothered to press format. Then someone forgets to pull before changing the code and suddenly the merge is not fast forward and the conflict resolution is a mess. It's not that big of a deal, for me a t least, but when i format the code it's 3 other dumbasses that get conflicts, and sometimes I just can't bother enough to fix their issues because I took care of formatting it once.

Nowadays I use an opinionated linter, format my stuff and call it a day.

[-] Eufalconimorph@discuss.tchncs.de 3 points 10 months ago

You don't have an autoformatter in your pre-commit hook? Why not?

[-] nickwitha_k 1 points 10 months ago

I loathe linter errors. If you know that I did it wrong and how, just fix it and stop wasting everyone's time. That's why I'm in favor of opinionated formatters in the per-commit automation. No point in wasting everyone's time and making silly merge conflicts possible.

[-] SpaceNoodle@lemmy.world 2 points 10 months ago

But Shoggoth demands blood

[-] souperk@reddthat.com 1 points 10 months ago

last week I had misconfigured my auto-format and it was leaving commas and whitespaces. The amount of "WHAT HAVE YOU DONE???" comments I got were of the chart.

There was a linter in place, I literally could not merge unless the issues were fixed, yet people felt compelled to point them out.

[-] frauddogg@lemmygrad.ml 3 points 10 months ago

shit I am a CS student and I barely have the time for memeing about the languages I'm using between all my other classes, and the other stuff I study in my downtime. I'm just stoked to get a slapdash of code together and actually have it do what I want it to the first time around.

load more comments (2 replies)
[-] Xatix@lemmy.world 27 points 10 months ago

Shouldn’t it be “The amount of missing semicolon memes is too damn high;”?

[-] KmlSlmk64@lemmy.world 4 points 10 months ago* (last edited 10 months ago)

Google Greek question mark 😁

[-] theFibonacciEffect@feddit.de 25 points 10 months ago

So we need to post more? So that fewer are missing?

[-] QuazarOmega@lemy.lol 7 points 10 months ago* (last edited 10 months ago)

Ah, a fellow grammar enjoyer!
Seems I wasn't understood with my own comment

[-] Steeve@lemmy.ca 18 points 10 months ago

What are you using; notepad?

(I don't know what semicolons are for in English)

[-] caseyweederman@lemmy.ca 9 points 10 months ago

That's fine. Nobody else does either.

[-] sheogorath@lemmy.world 2 points 10 months ago

Here is a lesson in creative writing. First rule: Do not use semicolons. They are transvestite hermaphrodites representing absolutely nothing. All they do is show you've been to college.

  • Kurt Vonnegut
[-] troyunrau@lemmy.ca 6 points 10 months ago

Unpopular opinion: I dislike Vonnegut and his particular brand of snark. His anti-intellectualism drives me mad.

[-] HumanPerson@sh.itjust.works 3 points 10 months ago

They are for pedantic literature people to argue about, duh.

[-] emergencyfood@sh.itjust.works 9 points 10 months ago

IDE is bloat; return to text editor.

(Xed is more than sufficient for the relatively small scripts I need to write. It even does syntax highlighting and bracket closing.)

[-] turbowafflz@lemmy.world 5 points 10 months ago

Interface is bloat; return to sed (or better yet some horrible combination of using echo and cat)

[-] funkless_eck@sh.itjust.works 8 points 10 months ago

learning to use a raspberry pi. the interpreter that works on the mini Python I'm learning seems to have no linting so when I missed a colon in a for loop it took me ages to find.

[-] fushuan@lemm.ee 14 points 10 months ago

use something like vscode with ssh - remote to code in a real editor with proper linting, or code in a proper environment and then use a git repo to deploy to the pi, idk. If what you are doing is basically ssh-ing to the device and opening a console editor (a well set up vim does have linting, but anyway) it's no wonder it is being hard to work on it.

It's better to invest time investigating proper tools to work on than to bruteforce the work and then spend tons of time hotwiring everything. Hotwiring code is not the end of the world but if it reaches a point where the tools frustrate you, search for alternatives dammit.

[-] funkless_eck@sh.itjust.works 3 points 10 months ago

I have vscode, I'm just following the tutorial and this particular software works with uploading to the pi and runs the code and I didn't want to get distracted following other ones about how to shift those functions to other software, I just wanted to play

Does vscode work with the pi out of box?

[-] fushuan@lemm.ee 2 points 10 months ago

Iirc, when you try to connect to a device through the SSH-Remote extension it downloads whatever it needs in the device and you connect to it. I have not connected to a Pi yet, but in any other cloud based or local linux machine it has worked flawlessly so I don't think it will be different. The terminal window also opens a ssh'd terminal, so you can do whatever you do locally, through the app.

I did a quick search and the first link stated "All you have to do is to install the Remote-SSH extension on VS Code" so I guess that yeah, it works just like any other linux device. As an addendum, the folder browser UI works as a sftp drag-and-drop window, you can drop local files and they will get transferred into the SSH'd device.

[-] blackbirdbiryani@lemmy.world 2 points 10 months ago

I will never understand people in programming who do stuff in tedious/inefficient ways without stopping to consider the alternatives. 9/10 if it feels stupid, it probably is.

load more comments (3 replies)
load more comments (1 replies)
[-] cupcakezealot@lemmy.blahaj.zone 3 points 10 months ago

i do all my coding in sass

[-] Saigonauticon@voltage.vn 3 points 10 months ago

Eh, sometimes the IDE from a chip manufacturer is bad enough that I go back to using a text editor.

Glares at Microchip Studio

Their on-chip hardware is great though. In everything else I've found tons of bugs. Even the cables that come with their dev kit have bugs.

[-] QuazarOmega@lemy.lol 2 points 10 months ago* (last edited 10 months ago)

Got it, more semicolon memes for you!

[-] chumbalumber@lemmy.blahaj.zone 6 points 10 months ago

*Got it; more semicolon memes for you!

[-] QuazarOmega@lemy.lol 2 points 10 months ago

Very clever

load more comments
view more: next ›
this post was submitted on 15 Oct 2023
478 points (95.6% liked)

Programmer Humor

31687 readers
445 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS