Jiwon's Encyclopedia

coding

Modern programmers are well aware that go-to statements are bad. Introductory programming materials actively discourage and even omit, the statement altogether. It's a shortcut for spaghetti code. Why is that?

In March 1968, the famed computer scientist Edsger W. Dijkstra wrote a letter to the editor for the Communications of the ACM. It was aptly titled “Go To Statement Considered Harmful.” In it, Dijkstra first distinguishes between the textual program file and the process of executing the program. He remarks that we are particularly bad at grasping the latter.

Read more...

#productivity #minimalism #coding

A software engineering wisdom says that premature optimization is the root of all evil. Note the modifier “premature.” Optimization is great; it's not so great in the prototyping stage though.

This is exactly what I am feeling in life. I have obsessed so much over the optimization of the minutiae of the daily grind that I have forgotten to stop and reflect if I am going in the right direction in the first place.

Read more...