What are reasons to choose a scripting language over C#?

后端 未结 10 1610
萌比男神i
萌比男神i 2020-12-22 04:07

What are reasons to choose a non DSL scripting language over statically compiled language such as C#?

-edit- Good answers so far. I feel I should explain further. I

10条回答
  •  天涯浪人
    2020-12-22 04:28

    In my experience two things are the most important decision that you have to make before you start designing / coding:

    • What language are you the most familiar with and understand the concepts of it?

    There is no use in going with C++ if you don't even get the idea of templates or OOP in general.

    • Are there already libraries or tools that assist you?

    Imho the most important point, because i.e. you want to code sth like twitter, you can write your own omnipotent webserver in Lisp and hack things like javascript- or form-convenience-functions together - but why no just use i.e. Tomcat/Java/Wicket or respectively Apache/PHP/Synfony? So all the basics are covered, well-tested and with many resources online. Even more you should consider ORM-frameworks/database-wrappers - they save a real lot of time and errors - if you need them.

    As a rule of thumb: If you start completely from scratch (i.e. research) pick the language you like most (and ofc is powerful enough for your task), if you do development in an common field (i.e. websites) pick the language according to your skills and the already available tools.

    If performance is really an immediate concern, stick with the compiling languages.

    Just my $0.02

提交回复
热议问题