7 ms·
Hey, you might not know this, but if you use a dynamic language with types you can actually use them to your benefit! I've wrote a system in ruby that does cle
by programminggeek 13y ago
Hey, you might not know this, but if you use a dynamic language with types you can actually use them to your benefit!
I've wrote a system in ruby that does clean type checking when I want it to and it cleans up the code and tests a lot.
Just because you're not taking full advantage of your language tools doesn't mean that "dynamic languages are unmaintainable"
- gnuvince 13y agoHow can you implement a static typing system in a language that is dynamically typed?
- awj 13y agoYou can't. You can use type inspection and assertions to clearly delimit borders in your code, but it's really not the same thing.
- programminggeek 13y agoThere is a difference between static typing and strong typing. Ruby is a dynamic language that is strongly typed. This will explain it better than I can: http://www.rubyfleebie.com/ruby-is-dynamically-and-strongly-typed/ http://www.rubyfleebie.com/ruby-is-dynamically-and-strongly-...