513 karma · joined August 20, 2017
Anecdotally, the vast majority of serious developers I know transpile to JS.
[1]: https://github.com/tc39/proposal-class-fields/issues/177
[2]: https://github.com/tc39/proposal-class-fields/blob/master/PRIVATE_SYNTAX_FAQ.mdIncidentally, to which porn sites are you referring? Which of your favorite porn sites do you think do the best job with UI/UX?
For-profit companies typically build toward what they believe is in-demand and will be well-received by consumers. They perform market analysis to reinforce their intuition. Sometimes they get it right and their stock goes up.
There isn't some elaborate plot on the part of Google, nor are 'they' purposely making something 'no consumer ever demanded.' When they do this, the endeavor fails and we call it a flop.
Equating 'create-react-app' package with React is silly. By that logic, I can wrap $library_of_your_choice in scaffolding and then blame it for the bloat I've chosen to add.
> EDIT: see gov.uk. It works quite well without being fancy.
We're at an impasse, since you countered my 'assumption without data' with your 'one-off anecdotal evidence'
What?
> That is how the web works.
The web 'experience' has stopped being about fetching static documents in a request/response fashion long ago. Consumers demand rich apps and interactivity, and it appears they're having it their way.
I'll take my chances with Microsoft.
HN staff: please consider having a typographer/UI designer make a few improvements to the base stylesheet. I realize the codebase may be old, but it's a paragon of Lisp purity so it should be easy to change, no? ;)
Moderators please take this down.
I routinely see Angular and Vue projects littered with magic strings/globals in their templates. These are ok on the first pass-through building the app, but refactoring and maintenance are a nightmare.
The state of the art right now IMO really is React + TSX.
'When I get my paycheck, I earn my salary MINUS whatever "profit" my employer made from my work.'
This is disingenuous by ignoring risk and presupposing that (in this case) I have the same reach/clout/contacts/sales and marketing channels as my employer.
Object.entries({}).forEach(([k, v]) => { })
There is development activity in the repo, but I would say the 'hype' has moved to other projects.
Object.entries(([k, v]) => { })
I've found it better to write my own "utils.js" functions, with clearly-defined semantics, that become part of the project strategy. This also has the benefit of reducing dependency churn and maintenance of package.json.
[1]: https://github.com/ethereum/wiki/wiki/Light-client-protocol
At least put some effort into it like the "Pyramid Scheme" [1] post or similar.
[1]: http://www.michaelburge.us/2017/11/28/write-your-next-ethere...
Instead of being lulled by the veil of consumerism draped over your eyes, realize companies only maximize profits and do 'good' as an accidental side effect of their goings-on.
const enum _A = {};
type A = number & _A;
This comes in handy for IDs and other primitives shared by multiple complex types.