2 ms·
> into even more even more complex code. Sure, but there's way less of it. Way less to test, way less to maintain. Also, you can refactor metaprogramming back
by vinceguidry 10y ago
> into even more even more complex code.
Sure, but there's way less of it. Way less to test, way less to maintain.
Also, you can refactor metaprogramming back out of a codebase after you've introduced it. Basically this involves taking the hacks and giving them classes with state. Essentially you're modifying the design of your application without ever introducing a break in continuity of functionality.
- paulddraper 10y agoPerl scripts are even shorter.
- vinceguidry 10y agoHarder to refactor though.