3 ms·
> It's really not all that different from Python, JavaScript, Java and C# I think that being able to dynamically replace behavior from almost anything at any p
by ElectricalUnion 4y ago
> It's really not all that different from Python, JavaScript, Java and C#
I think that being able to dynamically replace behavior from almost anything at any point in your program is pretty much very different from Python, Java and C#.
The only other mainstream language with this capacity is Erlang, and Erlang is not exactly what I would call mainstream language.
- corrral 4y ago> I think that being able to dynamically replace behavior from almost anything at any point in your program is pretty much very different from Python, Java and C#. Javascript is pretty popular.
- ElectricalUnion 4y agoI'm pretty sure Java != Javascript?
- corrral 4y agoSure, but it's a very popular language that puts the ability to modify behavior at run-time front and center. It's not like Ruby is special in that regard.
- BlargMcLarg 4y agoAnd you believe that Ruby both does not make it easy to learn this concept and makes aggressive use of this concept? I believe you're severally overestimating the impact and importance of one quirk when many developers are picking up wildly differing languages and decently successful at it all the time.
- weatherlite 4y ago> I think that being able to dynamically replace behavior from almost anything at any point in your program is pretty much very different from Python How so - Python is dynamic. Django does quote some magic (e.g defining methods on the fly etc).
- ElectricalUnion 4y agoPython is dynamic but doesn't provide an easy way for you to change the types the language provides, while that is more or less expected in Ruby.
- weatherlite 4y agoLooks pretty straightforward to me https://gist.github.com/fwenzel/622519 https://gist.github.com/fwenzel/622519
- ElectricalUnion 4y agoThat is not a language provided primitive?