4 ms·
It is not abour rewriting. It is about extracting functionality into separate services or projects as the TEAMS/PEOPLE grow so that they not step on each other.
by midrus 6y ago
It is not abour rewriting. It is about extracting functionality into separate services or projects as the TEAMS/PEOPLE grow so that they not step on each other.
> We can have something like Rails minus a bunch of magic
Examples? Because I'd be very interesting in this.
Also, in the world of web development, the magic Rails does is pretty necessary. If you're not using its magic, you're probably going to write it yourself. It just won't look as magic to yourself because you wrote it, but it will to others joining later. Except they won't have as good documentation, community, etc.
- treis 6y agoI'm talking about stuff like passing instance variables from controllers to views, method_missing, monkey patching, use of send, and meta programming. This magic makes code pretty and allows a lot of stuff to just work. But when you have to debug or update code that someone else wrote it makes it really difficult to see what's going on. As an example, if you what to refactor a method it's impossible to be 100% confident that you've found all the places it's used. That makes it very hard to be productive as the team size grows or when you're working in legacy code bases.