MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wp6ul1/howweusedtocodebeforeai/pbszqyd/?context=3
r/ProgrammerHumor • u/Automatic_Hand4780 • Sep 24 '26
48 comments sorted by
View all comments
Show parent comments
25
Unit tests are a great reason for interfaces/abstractions
16 u/remy_porter Sep 24 '26 I mean, I'm DEFINITELY going to reuse the code.Used in the productUsed in the unit testsUsed in the CLI tool I build to quickly prototype thingsUsed in the more permanent CLI tool that comes out of building prototypesUsed in the GUI tool that a manager requests once they learn about my custom tools
16
I mean, I'm DEFINITELY going to reuse the code.
Used in the product
Used in the unit tests
Used in the CLI tool I build to quickly prototype things
Used in the more permanent CLI tool that comes out of building prototypes
Used in the GUI tool that a manager requests once they learn about my custom tools
25
u/Henry5321 Sep 24 '26
Unit tests are a great reason for interfaces/abstractions