News for hackers. Stuff that matters.
Re:Don't Be Clever by m463 on Thursday August 03, 2023 @07:11PM (#36993345)
I think one lesson newer programmers fail is that sometimes copy/paste is not only OK, but preferred.

One time this is good is when helping others get up to speed. Other people can copy/paste your examples and be functioning right now.

But if you have a function that you put in to eliminate some duplication, they have to understand this new abstraction layer before they can start working.

Re:Don't Be Clever by teaearlgraycold on Thursday August 03, 2023 @09:14PM (#36994208)
Better to have no abstraction than the wrong abstraction!