python - Uses for Dynamic Languages -


My primary language is currently D, and I'm in the process of learning python because it is necessary for a course of 'I I am curious that when dynamic language without any kind of conclusions or templates (IMHO templates for mass-collection duck-time duck typing) would be a breath of fresh air for programming people in static languages, I'm curious Profit mobility Even if you have these

The bottom line is that, if I am going to learn Python then I would like to learn it in a way that actually changes my thinking about programming Instead, instead of writing D in Python, I have not used dynamic languages ​​because I was a very newbie programmer and they are unable to appreciate the flexibility they guess, and now their floods Want to learn to take advantage of a dynamic typed, interpreted language that can be done easily / beautifully, which is weird or impossible in a stable language, even templates, polymorphism, static Type guess and maybe with runtime reflection?

In principle, there is nothing that dynamic languages ​​can do and static languages ​​can not. Smart people did a lot of work in creating dynamic languages, so that dynamic language progresses, while still people need to catch.

In time, it will swing on the other side already in different static languages:

  • Generic, which make static types less stupid, Select the right type when passed around the object, to save the programmer himself from being cast

  • Type of estimate, which is clearly the time Saves you for wasting

  • Closer, from which too many un These things help in separating the system with intent, so that you can pull complex algorithms together from existing elements.

  • Clear conversion, which is usually included without risk of "monkey patching".

  • Easy programmatic access to code loading and compiler, so users and third parties can script your program. Experiment with caution!

  • Syntaxes that are more suited to create domain specific languages ​​within them.

..and there is no doubt that to come. Dynamic movement has created some interesting incidents in the design of static language, and we all benefit from the competition. I only hope to make more of these facilities in the mainstream.

There's a place where I'm not changing the main dynamic language, and it's javascript in the browser, there is a lot of space in the current market, so it is important to emphasize that instead of improving JavaScript,


Comments