请问HN:Dart是一种特别优化的前端开发语言吗?
你好。我记得当Dart被引入时,它被称为一种“JavaScript替代品”(?)用于浏览器。然而,它似乎“演变”成几乎仅在Flutter中使用,用于开发移动、网页和桌面前端。对我来说,这种语言如此专门用于前端的情况显得有些奇怪。即使是Ruby,在Rails之外也有一些边缘用例。Dart是否有任何特别的特性,能够证明将Flutter与之绑定的决定是合理的?还是这一切都是偶然的?谢谢。
查看原文
Hi. I remember when Dart was introduced, it was supposed to be a "JavaScript alternative" (?) for browsers.<p>It however "evolved" into being almost only used in Flutter, for developing mobile, web, and desktop front-end development.<p>It seems bizarre to me that a language is so special-purpose for front-end. Even Ruby has some fringe use cases beyond Rails.<p>Does Dart have any particular features that justify such a decision to bind Flutter to it? Or it has all been accidental?<p>Thanks