Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
nitnip18142yConsidering all those comments don't make it into the final bundled file that is served to the end user, I don't think you can consider them bloat. It IS a lot of boilerplate though.
As for slowing down development, it really depends. Writing all that boilerplate could make your IDE help out and speed up dev time. -
@nitnip but imagine that absolutely bonkers idea of not needing to do that in the first place.
-
nitnip18142y@thebiochemic Yeah, it would be nice. But I think those comments are also used to generate documentation though. Why else use markdown there backticks?
-
@nitnip, I as far as I remember, that screenshot is of some kind of plugin for TSC that parses those doc comments and actually allows you to check typing, at compile time
Related Rants
*laughs in statically typed*
joke/meme
js
dynamic typing