Mark Lewis
Apr 12, 2021

--

Excellent post! I completely agree. I'll go a step further though. Types provide meaning too and using statically typed languages can go even further to make code readable and understandable without many comments. I absolutely hate going into codebases in languages like JavaScript or Python and having to put in significant effort in places to figure out what exactly needs to be passed into a function or what I'm getting back from a function call. If people wouldn't use scripting languages for writing larger applications they would find even less need for comments to help make things clear.

--

--

Mark Lewis
Mark Lewis

Written by Mark Lewis

Computer Science Professor, Planetary Rings Simulator, Scala Zealot

No responses yet