Skip to content

re: Which programming language has the prettiest syntax? VIEW POST

re: I haven't found Typescript very pleasant to look at—though I haven't given it a lot of time.

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.

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

code of conduct - report abuse