logoalt Hacker News

wakawaka28yesterday at 9:08 PM3 repliesview on HN

Unit tests in the same file wastes context and makes the whole thing hard to navigate for humans and machines alike.


Replies

dnauticsyesterday at 9:15 PM

nah, the agents jump around files anyways.

J_Shelby_Jyesterday at 9:21 PM

I’ve been doing the least amount of unit tests possible and doing debug asserts instead.

show 1 reply
jimbokunyesterday at 11:11 PM

It’s about the best possible documentation.

show 1 reply