this post was submitted on 19 Apr 2024
108 points (95.8% liked)

Asklemmy

42495 readers
4433 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

In inpatient psychiatry I tell my coworkers "I hope your shift is mind-numbingly boring" or something similar (keyword being boring) because in my line of work, interesting (usually) = bad.

What're yours?

you are viewing a single comment's thread
view the rest of the comments
[–] hperrin 19 points 2 months ago (4 children)

I hope your new code compiles with only a few errors.

If it compiles with tons of errors, it’s gonna take a while to fix, but if it compiles with no errors, that probably means it’s so fucked the compiler can’t even help. Every once in a while I’ll code something error-free first try, and it always takes more time because I’m trying to figure out if it’s actually error-free.

[–] saltesc 10 points 2 months ago

I like lots of errors because it usually means I did one major thing wrong and everything else works once I fix it.

[–] [email protected] 9 points 2 months ago (1 children)

Write some god damn unit tests before you write your functionality

[–] hperrin 17 points 2 months ago (1 children)

I’ll embrace test driven development when I’m 6 feet under.

[–] [email protected] 3 points 2 months ago
[–] [email protected] 2 points 2 months ago

This is a really good example of the specific vibe I was going for. A good next question would be: "what is a good thing in your niche industry or hobby that most outsiders would consider a bad thing?"

[–] maryjayjay 1 points 2 months ago

That's what unit tests are for