this post was submitted on 28 Jun 2023
462 points (97.1% liked)

Programmer Humor

19512 readers
320 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Rinesi@sh.itjust.works 7 points 1 year ago (1 children)

This is so painfully true it hurts. Especially for personal projects.

[–] fart@sh.itjust.works 3 points 1 year ago (1 children)

i have never written a unit test for a personal project in my life it's not worth the overhead imo

[–] lobut@lemmy.ca 2 points 1 year ago

I prefer acceptance tests or end-to-end tests mostly for personal projects. Libraries I write will have unit tests though.

However, for the most part. Personal projects are a lot of prototyping and throwing away. Unit testing and testing in general can get in the way of that.