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.

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

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

But Shoggoth demands blood

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

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 [he/him]
link
fedilink
English
31Y

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.

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

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.

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.

SUPAVILLAIN
link
fedilink
31Y

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.

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.

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.

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.

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
link
fedilink
2
edit-2
1Y

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.

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
link
fedilink
3
edit-2
1Y

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.

Aa!
link
fedilink
11Y

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.

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.

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.

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

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 [he/him]
link
fedilink
English
71Y

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.

🔻Sleepless One🔻
link
fedilink
English
11Y

That would also explain all the memes complaining about lack of comments.

Or worst, hobbyists…

idunnololz
link
fedilink
13
edit-2
1Y

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

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog