10 ms·
Ruby doesn't really have "magic" syntax anymore than any other dynamic language does. Too much "magic" is a frequent criticism of the Rails framework, but I've
by learc83 10y ago
Ruby doesn't really have "magic" syntax anymore than any other dynamic language does. Too much "magic" is a frequent criticism of the Rails framework, but I've never heard that directed at Ruby.
- illicium 10y agoPhoenix is filled with macro magic, and just like Rails is the overwhelming reason to use Ruby, is pretty much the main reason why people pick up Elixir.
- pdimitar 10y agoAnecdotal evidence: meta-programming and class monkey-patching in the gems I am putting in my Rails projects has been a steady source of WTFs for me over the years. These are awful techniques IMO but I can't deny that they are life-savers in the Ruby land sometimes.