88

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

Comments
  • 14
    @AlgoRythm Yeah man. I know exactly what that feels like ! Awesome. Enjoy !
  • 3
    Two bearly readable, hard to maintain, lines of code? ;)

    xD

    PS:
    Is there a single unit-test for these two lines?
  • 3
    Error at line 1, then scroll to the right hehe 🙃
  • 4
    I need to do the opposite, and pull apart a monolithic app.
  • 9
    And now you have a main function with 200000 LOC
  • 7
    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