4 ms·
What Django doesn’t have and will never have is router or testing DSLs that are similarly ergonomic as Rails’s. https://stackoverflow.com/questions/7079855/are
by AlchemistCamp 3y ago
What Django doesn’t have and will never have is router or testing DSLs that are similarly ergonomic as Rails’s.
https://stackoverflow.com/questions/7079855/are-there-technical-reasons-a-ruby-dsl-like-rspec-couldnt-be-rewritten-in-pytho https://stackoverflow.com/questions/7079855/are-there-techni...
- empthought 3y agoAnd thank goodness for that. It is impossible to reason about types in such monstrosities.
- AlchemistCamp 3y agoIf when looking at the pile of regexes which is Django’s router, your thought is “good, this way I can reason about types!”, then Ruby is definitely not the language for you.
- empthought 3y agoNo, I just implement a custom router class as the docs suggest, and move on with my life. It’s a much better use of my time than fighting mental-masturbation DSLs.