What is the difference between dynamic languages and functional languages? -


I often find that developers use together working language and dynamic language words, and think that Why are they always kept together, what is the difference between them? What language can be dynamic and functional? Are they complementary to each other? Why do we want them anyway? I am a C # programmer and so far it is not understood as a full dynamic / functional thing (there are some dynamic features in C # to 4). Will it also be functional? What's going on here?).

"post-text" itemprop = "text">

To put it in a simple (but not correct) answer

  • They are: Type (class name) is not important Languages ​​typed with the stability of its namespace can be different types of objects given at any given time at any given time. Method invocations are resolved at run-time, that means you lose the benefits of stable typing (compiler warnings), but generic by normal means - sort (list) string. Such as Ruby at all
  • Price irreversibility programs are written in the context of big and big tasks (usually down) The concept of object position and variability is in this context < Strong> self-sufficient (terminology is pure according to Wikipedia): Everything that requires production, gets in the input it receives. This is no side effects (unless it is explicitly mentioned) and returns consistent output for a given input. This can be an elegant code (see: Fluent Interface), where input data is pipe through the FIFF functions to produce interval output. LISP et.all

However, it is disturbing with the boundaries of choosing the best languages ​​in all languages ​​... You can make a language that is both, both one or two . E.g. Taking the Lambda Expressions mainly in static C # 3.0 and driving capabilities with 4.0 is brought.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -