DEV Community

Discussion on: Which programming language has the prettiest syntax?

Collapse
 
isaacdlyman profile image
Isaac Lyman

TypeScript struck me as pretty ugly at first, like a pile of metadata stapled onto JavaScript. But I've come around to it. And it offers a couple of features that really do make ES more readable and expressive, like enums and interfaces.

More generally, I think any language that you can express yourself in and have experience with will become "pretty" to you, as long as it doesn't actively frustrate you.

Thread Thread
 
gengns profile image
gengns

You can use the standard, JSDocs and type inference with your IDE to archive the same goal without compiling and adding extra code.