"Linus Torvalds in an TED interview talked about the idea of good taste in code or what I like to call elegance. As one might expect from two slides meant to make a point during a talk, he omits a lot of details to keep it short and simple. This post digs into the specifics of his example (deleting an element from a list) and adds another example (inserting an element in a list) including working code."
"Linus: not good": has extra if statement
"Linus: good"
No comments:
Post a Comment