3 ms·
Not being production ready isn't an excuse when you are writing code that is intended to be copied by others.
by charcircuit 3y ago
Not being production ready isn't an excuse when you are writing code that is intended to be copied by others.
- sph 3y agoI disagree. Didactic code doesn't have to be complete, just clear enough to teach. Nor the teacher is not responsible for lazy students. It's lazy and quite ignorant to criticize teaching material because it doesn't cover all possible corner cases, and because it doesn't account for a reader that just wants to copy the code without understanding it.
- charcircuit 3y agoThere is a difference between not handling a corner case and having a security vulnerability. People are lazy and they will copy and paste without thinking.
- sph 3y agoWhose fault would that be? Geez, now blog authors need to have disclaimers, like reminding people that, no, you shouldn't eat Tide pods. The topic is Wayland, not C code hardening techniques for internet facing services. Quit being an obnoxious pedant.