DEV Community

Discussion on: 17 Pro JavaScript tricks you didn't know

Collapse
 
hspaans profile image
Hans Spaans

I wouldn't say better as it reduces the readability and maintainability of the code a lot. Having a language with strict type casting may seem a hassle for some, but it saves you hours of debugging in the long run. It was one of the significant reasons for the development of TypeScript and as a goal for both PHP 7 and Python 4.

Thread Thread
 
rahxuls profile image
Rahul

People write codes with their read comfort ability.

Thread Thread
 
seanmclem profile image
Seanmclem

Pretty much the #1 rule when learning programming is to not only write for yourself but with future coders and teammates in mind.