|
|
|
|
|
by barrkel
3469 days ago
|
|
Static types limit the expressivity of your code to what the type system is able to prove. Depending on what you're trying to do, you can spend more time arguing with the type system than getting things done. This really starts happening with a vengeance when you do increasingly lispy things, like creating dsls that move the language closer to your problem domain by writing programs that write programs. Consider e.g. the way activerecord introspects the database schema to enrich your model declarations without further work from you. Now there are ways to get similar effects in statically typed systems, but it's much more work, particularly if the dynamism comes from the execution environment (rather than compilation). |
|
Also, regarding activerecord, it seems you're hinting at the benefits you get from composibility, is that correct?