Earlier quoted context omitted.
that's a no scotsman argument. You could claim erlang isn't full fp because you have a stateful process attribute dictionary, and, while we're at it, access to network resources like a Postgres database, but that would be an almost meaningless statement. With Hooks, react basically went full FP. You can still make an object component, but it is frowned upon.
nah not even going there. JS, is not functional therefore react is not functional. In all intermediary state in between interfaces to the framework you are allowed to have mutating state. So you actually have freedom to do any style in JS. I don't know react to well but I do know 100% that a function with this name is possible in react: function closedFunctionThatdoesSomeImperativeAlgorithmWithMutatingInternalState(x…
Ask HN: A New Decade. Any Predictions? (2010)
451–460 of 462 posts
Re: Ask HN: A New Decade. Any Predictions? (2010)
#452Earlier quoted context omitted.
> - Apple and Google are still the only two mobile operating systems that matter and they are still in relatively the same position. I don’t think this was a sure thing in 2009. Symbian still had half the market. BB had a larger share than either iOS or Android. WebOS was cool.
BlackBerry was already going downhill by 2010. https://business.financialpost.com/technology/personal-tech/...
Re: Ask HN: A New Decade. Any Predictions? (2010)
#453Earlier quoted context omitted.
Last I checked, cars do not require any licensing to own. They require special licensing and often times yearly taxes to operate on public roads (but merely possessing them on public roads does not).
> and often times yearly taxes to operate on public roads (but merely possessing them on public roads does not). In my jurisdiction one may not "move" or "leave standing" upon a public road an unregistered vehicle, in addition to not being permitted to "drive" it.
Re: Ask HN: A New Decade. Any Predictions? (2010)
#454Earlier quoted context omitted.
> and often times yearly taxes to operate on public roads (but merely possessing them on public roads does not). In my jurisdiction one may not "move" or "leave standing" upon a public road an unregistered vehicle, in addition to not being permitted to "drive" it.
Wow, you can't tow an unregistered vehicle? That definitely sounds off, but then I've seen even more silly laws in the past (such as one that forbids minors from playing pinball).
The state wants its registration dollars.
Re: Ask HN: A New Decade. Any Predictions? (2010)
#455Earlier quoted context omitted.
nah not even going there. JS, is not functional therefore react is not functional. In all intermediary state in between interfaces to the framework you are allowed to have mutating state. So you actually have freedom to do any style in JS. I don't know react to well but I do know 100% that a function with this name is possible in react: function closedFunctionThatdoesSomeImperativeAlgorithmWithMutatingInternalState(x…
That's wrong. The "surface level knowledge" prevents huge classes of footguns, and that's why it's not just a fad. I can, have, and am about to take a junior and put them into prod without losing sleep far faster in FP land than I can in OO land. This is a real improvement that I as a developer who has complete ownership over a project care about.
It is a fad because FP issues new foot guns to blast your head completely off. FP without types and without understanding isn't a huge improvement over procedural programming or OOP.
You're already hearing about programmers not buying into the whole FP fad largely because of there experience with FP on react and other similar platforms.
Re: Ask HN: A New Decade. Any Predictions? (2010)
#456Re: Ask HN: A New Decade. Any Predictions? (2010)
#457Earlier quoted context omitted.
Is it so bad to make guns as hard to own as a car? Simple licensing would go a long way to reduce the risk of guns. https://www.vox.com/2019/9/11/20861019/gun-solution-backgrou...
> Is it so bad to make guns as hard to own as a car? The ONLY people that say this are the ones that would be (fucking) horrified if we treated guns like cars. Ok. You are proposing I should be able to buy any gun I want whenever I want regardless of size or capacity, automatic, or loud or silenced for cash without any checks or regulations at all? That the only requirement to use it in public is that I need a licens…
> regardless of size or capacity
Vehicles of different size/capacity do require different qualifications to drive. Certain classes of vehicles require a CDL for their class. See https://driving-tests.org/cdl-classification-licenses/.
You also have to be 21+ in may states to even apply for them in many states.
Re: Ask HN: A New Decade. Any Predictions? (2010)
#458Earlier quoted context omitted.
afaict until the 25 Dec 2019 ruby 2.7.0 release you probably could "say that python is faster than ruby". fwiw ruby 2.6.3p62 ruby 2.7.0p0 binarytrees-5 220.557 elapsed secs binarytrees-5 124.421 binarytrees-2 178.751 binarytrees-2 149.458 binarytrees-3 176.672 binarytrees-3 150.645 binarytrees-4 136.930 binarytrees-4 113.516 binarytrees-1 176.208 binarytrees-1 149.078 fannkuchredux-1 1702.734 fannkuchredux-1 1738.016…
Ruby pulled ahead of Python in speed in version 1.9 and has stayed ahead (most of the time, in most tests) since.
That isn't something which can be checked, just stuff someone said.
Re: Ask HN: A New Decade. Any Predictions? (2010)
#459Earlier quoted context omitted.
"C'est la vie", say the old folks It goes to show you never can tell
For those who don't recognize the reference, it's the chorus of a song made famous by Chuck Berry: https://genius.com/Chuck-berry-you-never-can-tell-lyrics
Re: Ask HN: A New Decade. Any Predictions? (2010)
#460Earlier quoted context omitted.
Ruby pulled ahead of Python in speed in version 1.9 and has stayed ahead (most of the time, in most tests) since.
> most of the time, in most tests That isn't something which can be checked, just stuff someone said.
If I look at a composite benchmark like debian's and don't see one leading by an order of magnitude, I file that away as "probably about the same speed, depends on your use case"