1,606 karma · joined November 12, 2012
Then again, the US system of government is not exactly a model for the 21st century.
Even with almost 10k representatives in Congress, representatives would still have 30k constituents each to deal with. It would be almost impossible to meet 30k people in a year, let alone give each of them time to discuss issues and fit in actually being a legislator.
[0] https://en.wikipedia.org/wiki/Separation_of_powers#Typical_b...
Edit: Revised edition still has the original author.
Edit 2: Amazon link (not affiliate link): https://www.amazon.com/gp/product/0674737261/ref=oh_aui_deta...
However, the argument against allowing await in top level code doesn't make much sense if all of these bad side effects already exist.
Can't I already do this by putting a fs.readFileSync call or a synchronous AJAX call in my code?
Unless loading a file is a bottleneck, which I doubt.
No it's not. Synchronous IO blocks everything. Asynchronous IO with top level await would still allow things queued in the event loop to execute. Plus, top level await + Promise.all would allow you to do operations concurrently, something that synchronous doesn't.
If anything, top level async would be an improvement, as it would give developers no reason to do synchronous IO.
Edit: Additionally, ES6 modules are already imperative. There isn't any way to make them declarative.
I would certainly associate those two attributes with being a jerk.
I agree, you’ve worded that better than me.
I certainly don’t want to see sexist speakers at conferences, but this decision seems to have been made with almost no evidence and almost purely based on unsubstantiated rumours.
It's pretty clear that COBOL would be a bad choice to write a multiplayer online game, and that JavaScript would be a bad choice for an operating system.
As for the far far more common scenario (the one I had in mind) of choosing whether one of Ruby, Python or Node.js might be better for a certain project, the choice between the three is often going to be fairly subjective. You could solve a lot of problems in all three quite well. Trying to decide which one is objectively the "best" is often a waste of time that could be spent actually solving the problem at hand.
I agree - nothing invalidates good discussion on this topic. My point is that trying to decide the best programming language for a particular task (or trying to decide why one programming language is ill-suited) isn't something that always needs a perfectly objective answer.
Australia essentially pays Nauru to host an immigration detention centre, and sends asylum seekers who tried to reach Australia by boat there, regardless of age or legitimacy of claims or anything else.
As far as I know, Singlish is widely regarded as a creole language. Yes, a large part of the vocabulary is English words, but it is very different when it comes to grammar and it uses a lot of loan words from east Asian languages that aren't in English dialects around the world.
The idea that Singlish is just uneducated Singaporean English is purely a political one.
> An American English speaker will likely have much better chance of understanding a Singaporean than understanding some of the U.K. dialects.
I've seen a few dozen sentences of Singlish and I would understand it about as well as I'd understand any other English based creole - I'd understand the English words and not much else.
The problems that different English dialects have when trying to understand each other are accents and local slang - but the grammar and written language are largely the same. On the other hand, large parts of the Singlish vocabulary differ from English, and the grammar is substantially different, even when written.
On the other hand, French, Romanian and Portuguese aren't Latin-based creoles - they're separate languages which have evolved from Latin (although you could make the argument that Portuguese and French are two ends of a dialect continuum[1]).
Really, the relationship between Tok Pisin and English is very different to the relationship between French and Latin. English hasn't had the time and geographical spread to diverge into different languages that Latin has had.
[0] https://en.wikipedia.org/wiki/English-based_creole_languages [1] https://en.wikipedia.org/wiki/Dialect_continuum#Romance_lang...