Plurrrr

a tumblelog
10 Jul 2019

Five JavaScript bad coding habits to unlearn right now

In this post, I describe 5 common bad coding habits in JavaScript. And importantly I will present my actionable recommendations on how to get rid of these habits.

In the evening I read 5 JavaScript bad coding habits to unlearn right now, an article by Dmitri Pavlutin. As I use more and more JavaScript in a large project for a customer I want stay up to date with this language and of course avoid bad coding habits.

A Skull Bone Discovered in Greece May Alter the Story of Human Prehistory

The bone, found in a cave, is the oldest modern human fossil ever discovered in Europe. It hints that humans began leaving Africa far earlier than once thought.

In the evening I read A Skull Bone Discovered in Greece May Alter the Story of Human Prehistory, an article by Carl Zimmer. A very interesting read. I still have Carl Zimmer's book, She Has Her Mother's Laugh: The Powers, Perversions, and Potential of Heredity on my books wishlist. Maybe next month.

Coding Without Comments

if your feel your code is too complex to understand without comments, your code is probably just bad. Rewrite it until it doesn't need comments any more. If, at the end of that effort, you still feel comments are necessary, then by all means, add comments … carefully.

The above quote comes from an article by Coding Horror's Jeff Atwood; Coding Without Comments, which I read in the evening.

Archive