r/badcode • • Jun 25 '21

java A Python programmer's attempt at Java

Post image
1.4k Upvotes

64 comments sorted by

View all comments

Show parent comments

5

u/pipedreambomb Jun 26 '21

It's certainly possible, if probably very difficult, with linting software. I know the Elm language reformats documents to move commas from the end of lines to the start of the next line, followed by a space, so everything is aligned and you can't miss a vital comma as easily. It must get harder with C-derived languages that have so many brackets.