87

Just refactored 22 files into 2 files. God, that feels nice.

Comments
  • 2
    Two bearly readable, hard to maintain, lines of code? ;)

    xD

    PS:
    Is there a single unit-test for these two lines?
  • 2
    Error at line 1, then scroll to the right hehe 🙃
  • 3
    I need to do the opposite, and pull apart a monolithic app.
  • 8
    And now you have a main function with 200000 LOC
  • 6
    I'd much rather keep it modular than have it all compact. I'd say 50 > 5 functions
  • 2
    @Proximyst Meh, c++ style points more towards this route. It is honestly much cleaner now all together.
  • 0
    Some languages allow you to do that.
    The readability isn't hindered as long as the maintainer is skilled.

    Arrow functions, ternaty operator, c-style shortcuts and etc.
Add Comment