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
-
well i mean, it's closer to human readable code... except it's not...
some line breaks between method bodies and nested functions would help.
so would burning, though... -
LombArd4946y@gronostaj that was my initial thought too. Then they just limit their window so that's out of view
-
Actually since the first time I had seen this, I've been looking for an eclipse plugin that would allow for quick switching between reformatting code like this, and the regular formatter.
So when browsing through code, it would hurt the eyes way less than all those boilerplate braces, however if you need to make changes - well, but then again in >98% of cases the boilerplate stuff could be correctly generated from the indentation, couldn't it?
(And yes, I admit being Python enthusiast ;) ) -
@ninjasloth I suppose it would be pretty easy to do this in JS environment. Everything is piped through webpack, gulp etc. anyway, so one could just write JS with indentation instead of braces and let the pipeline handle it. Add mapfiles and debugging becomes a breeze. Heck, it's so simple that it would probably work out of the box for TypeScript too.
Deadly indentation...
joke/meme