News for hackers. Stuff that matters.
Re:Ruby 3.3 by hetman on Monday December 25, 2023 @03:09AM (#38760778)
I mean, only because it's possible to learn to live with doesn't make it pleasant. Especially for managing large projects it can get unwieldy. Most high level languages I can think of have moved away from this approach.

I used to be a huge Ruby fan but having exposure to Python where this isn't an issue, life is just easier.

Re:Ruby 3.3 by oleg_antonyan on Monday December 25, 2023 @03:18AM (#38760808)
It's a matter of personal preference and/or which one you've learnt to live with first.

I like how Ruby's imports work - just load a file, similar to C. On the other hand, modules in Python always felt like something to overcome rather than "just works as you expect".

Re:Ruby 3.3 by ckolkey on Monday December 25, 2023 @03:19AM (#38760813)
To each their own, I guess. After working with python/lua, I really appreciate not needing to do manual imports all over. I'm glad ruby makes this so easy :)

Oh, and not needing __init__.py files in order to import something. Goodness, what an absolute pain.

Re:Ruby 3.3 by nerdponx on Monday December 25, 2023 @11:07AM (#38763694)
I really like the Python/Lua module system. To each their own...
Re:Ruby 3.3 by mypalmike on Monday December 25, 2023 @05:04AM (#38761311)
I agree, but Ruby folks seem to consider C style transitive inclusion to be a feature. I found it and several other aspects of Ruby to be maddening (and productivity-sapping) for the 1.5 years I spent with an otherwise pretty nice language.