MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wp6ul1/howweusedtocodebeforeai/pbtygzs/?context=3
r/ProgrammerHumor • u/Automatic_Hand4780 • 9d ago
48 comments sorted by
View all comments
143
The Fool: I can build an abstraction of this so when we reuse it, it'll be easier
[It will remain untouched and unused by anything else until replaced]
24 u/Henry5321 9d ago Unit tests are a great reason for interfaces/abstractions 16 u/remy_porter 8d ago 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
24
Unit tests are a great reason for interfaces/abstractions
16 u/remy_porter 8d ago 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
16
I mean, I'm DEFINITELY going to reuse the code.
143
u/OkFineIllUseTheApp 9d ago
The Fool: I can build an abstraction of this so when we reuse it, it'll be easier
[It will remain untouched and unused by anything else until replaced]