3 ms·
I've always wanted an IDE that would transform Java into a higher level language by "collapsing" the boiler plate. Just like we can collapse comments, I'd like
by martincmartin 7y ago
I've always wanted an IDE that would transform Java into a higher level language by "collapsing" the boiler plate. Just like we can collapse comments, I'd like to "collapse types" if I already know the types and just want to look at the logic. Or "collapse exception handling" if my current task involves changing the happy path and the exception stuff is just clutter.
- martincmartin 7y agoFor example, what if an IDE could read Java, but display it in a form that looks a lot like Kotlin? (Or Groovy, or your favourite high level language.) The file would still be Java underneath, so you don't need to convince your colleagues to adpot Kotlin. You can be in a happy Kotlin-esq world while working with their Java code, and they don't need to know or care.
- eitland 7y agoThat is actually a good idea. One idea to get it actually usable: by default it shouldn't update any code you don't touch. (Some systems will load the file into a memory structure and then save it back ignoring the existing formatting, thereby making commit logs much harder to reas if you need to.)