c***d 发帖数: 996 | 1 for consumer web/mobile, I really only care about library support more than
anything else for backend language. That makes java my first choice, then
python comes to second. That is also why i wont use something like node for
another three years. | t***t 发帖数: 6066 | 2 first criteria, no dynamic type language
second choice, library.
a simple case, if someone make change to some API in library, the problem
won't be found until you run if it's dynamic type. but for static language,
most problem and client code change can be found by compiler.
than
for
【在 c***d 的大作中提到】 : for consumer web/mobile, I really only care about library support more than : anything else for backend language. That makes java my first choice, then : python comes to second. That is also why i wont use something like node for : another three years.
| c***d 发帖数: 996 | 3 protect your dependencies by unit test, unit test is your documentation and
guard against api change.
for dynamic type language, unit test is integral part of the code base.
,
【在 t***t 的大作中提到】 : first criteria, no dynamic type language : second choice, library. : a simple case, if someone make change to some API in library, the problem : won't be found until you run if it's dynamic type. but for static language, : most problem and client code change can be found by compiler. : : than : for
| c******o 发帖数: 1277 | 4 static language and dynamic language have different mind sets.
Scala currently has experimental macro that is as powerful as Lisp (Can
dynamically change your program in ANY way), they plan to ban it and allow
you only use macro that does not violate type check. | g*****g 发帖数: 34805 | 5 The nature flaw of dynamic languages can be compensated by automated tests.
While I don't prefer them in backend, I won't rule them out. There can be
good use cases.
,
【在 t***t 的大作中提到】 : first criteria, no dynamic type language : second choice, library. : a simple case, if someone make change to some API in library, the problem : won't be found until you run if it's dynamic type. but for static language, : most problem and client code change can be found by compiler. : : than : for
| p*****2 发帖数: 21240 | 6
.
赞大牛。
【在 g*****g 的大作中提到】 : The nature flaw of dynamic languages can be compensated by automated tests. : While I don't prefer them in backend, I won't rule them out. There can be : good use cases. : : ,
| c*******0 发帖数: 5247 | 7 compensation will be getting much smaller once you have a relatively large
system. automated tests are not the solution to everything.
.
【在 g*****g 的大作中提到】 : The nature flaw of dynamic languages can be compensated by automated tests. : While I don't prefer them in backend, I won't rule them out. There can be : good use cases. : : ,
| g*****g 发帖数: 34805 | 8 With SOA, a single service should never go very large, or it's not done
right.
【在 c*******0 的大作中提到】 : compensation will be getting much smaller once you have a relatively large : system. automated tests are not the solution to everything. : : .
|
|