Better HN
topnewbestaskshowjobs
Log inSign up

maxwellburson

7 karma · joined Dec 18, 2017 (8y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

> Two arguments here: 1. SUVs are already taxed on weight indirectly - they consume more fuel which is heavily taxed (50+% in most of Europe). 2. SUVs are already taxed higher because they're more expensive.

Those costs aren’t proportionate. Road wear increases exponentially as weight increases. https://en.wikipedia.org/wiki/Fourth_power_law

> SUVs usually have great visibility because of large windows.

He may be referring to other vehicles visibility. https://en.wikipedia.org/wiki/Criticism_of_SUVs

comment 5y ago · link · parent

> IMO, React really could have benefited from devoted language syntax for this (like Svelte does) to automagically and statically track all the dependencies. But React has an ethos of being "just JavaScript" (even JSX desugars to relatively straightforward React.createElement calls, and you can treat those nodes like regular JS objects, pass them around willy nilly, etc.), so it didn't happen (and instead we have lint rules like ESLint rules-of-hooks that are designed to enforce the invariants that really the programming language should enforce).

You’re looking for solid.js

https://www.solidjs.com/

It’s “just JavaScript” like React, but with automatic dependency tracking. My understanding is that React hooks are the best React can do given backwards compatibility requirements. Reacts beast feature is it’s ecosystem.

comment 5y ago · link · parent

Why?

comment 7y ago · link · parent

While I don't know about this specific case, I do know in some languages, like JavaScript, NaN poisons any operation it is part of. So any operation on it is NaN, and comparisons to it are false.

5.

User Interaction as Promises(maxburson.com ↗)

1 points · by maxwellburson · 7y ago · discuss