News for hackers. Stuff that matters.
Re:Ruby's Exceptional Creatures by empthought on Monday January 29, 2024 @08:17PM (#39185176)
And thank goodness for that. It is impossible to reason about types in such monstrosities.
Re:Ruby's Exceptional Creatures by AlchemistCamp on Monday January 29, 2024 @11:22PM (#39186371)
If 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.
Re:Ruby's Exceptional Creatures by empthought on Tuesday January 30, 2024 @07:00AM (#39189084)
No, 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.