Write Clean TypeScript with the Rule of ONE for Methods and Functions.

Writing clean code means writing clean functions or methods. And to do so, I have chosen the ONE rule. It’s not one rule; it’s the Air Force One of the function rules — a rule to rule them all.

The code you write is meant to be read several times, so paying attention to how you write it is essential. Especially in places where you put the

--

--

Advisor and instructor for developers. Keeping on top of modern technologies while applying proven patterns learned over the last 25 years. Angular, Node, Tests

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alberto Basalo

Advisor and instructor for developers. Keeping on top of modern technologies while applying proven patterns learned over the last 25 years. Angular, Node, Tests