Live data from Hacker News

Learn Dart in 15 Minutes

learnxinyminutes.com

41–42 of 42 posts

Re: Learn Dart in 15 Minutes

#41
post #40
post #32

Earlier quoted context omitted.

The main example is that Dart's basic numeric types can't be represented in JavaScript. Dart VM integers are bignums, while dart2js numbers are IEEE754 doubles.

That's for performance because I guess the majority of users would probably not notice the difference. They can be represented in JS, but not natively.

Yes, the decision to make numeric types incompatible between the VM and dart2js was due to speed concerns.

Re: Learn Dart in 15 Minutes

#42
post #31

This has got to be the worst learn x in y minutes that I've ever read. Whitespaces, anyone? Every example is compacted and very hard to read. Comments should document each line instead of a huge wall of text before the function. Naming everything ExampleX is very difficult to see what is being talked about in this particular function. I'm lucky to know enough about Dart already, because this is a very bad representat…

Perhaps you could contribute to the file via a PR instead of ranting at a post on a news aggregator? If people like you did then the open source community would be a better place.

"Make a pull request" is not a proper way to respond to valid criticism of open source projects. Is it not obvious how fallacious that argument is?
Post reply on HN