Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BigJono
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
691.
▲
by
BigJono
9y ago
> Because of that, async behavior and side effects are handled via middleware. It shouldn't be though. The middleware pattern makes a lot of sense for transforming data (communication between mismatched APIs etc), or using it in som
692.
▲
by
BigJono
9y ago
Any claims about scalability or testability mean nothing without concrete code examples to back them up. Any tool that makes claims such as these without a sufficiently complex example in the docs, alongside a baseline implementation for co
693.
▲
by
BigJono
9y ago
At least the SPA frameworks themselves have a reasonably common legitimate use. The tooling around them is the major problem. Most projects I've worked on, even complex ones, could comfortably trim from 100 dependencies down to 10 and
694.
▲
by
BigJono
9y ago
Absolutely. I'm running into this problem constantly in the front-end dev world. Most developers I talk to are way too eager to list off a million cool techs that they're familiar with, most of which are completely inappropriate f
695.
▲
by
BigJono
9y ago
I can give a very small sample of data. Uber is $30-33 to my suburb on a Thursday night. I even had a $28 once which is ludicrous (I calculated the theoretical minimum cost of the route to be around $27.50 so it was almost a perfect run). I
696.
▲
by
BigJono
9y ago
2004 was a dark time...
697.
▲
by
BigJono
9y ago
I've started doing this as well, and I'm finding often my solutions end up being simpler, better and have less dependencies than the go-to solution anyway. For example, here's a React 'collapse' component, as people
698.
▲
by
BigJono
9y ago
What kind of places do you look to find this kind of stuff? I'm based in Melbourne, so I'm not sure how different it is, but last time I looked into it the work on offer seemed overwhelmingly based around inexperienced devs workin
699.
▲
by
BigJono
9y ago
I'm interested how reddit of all things acts as a replacement for Facebook. What do you use for IMing, group chats, organising events and sharing jokes (memes?) between friends? I'd imagine those are the main use cases of FB for m
700.
▲
by
BigJono
9y ago
I want to provide a counterargument to #4 'Be strict about best practices even if they seem negligible' is horrible advice. I often run into cases where something needs to be laid out differently to what the 'best practices&#
701.
▲
by
BigJono
9y ago
It'd be a factor, but not a major one. Say you expect to spend $30,000 on the car and $20,000 on repairs over a lifetime of 10 years (that's probably well on the high side, say you picked out a shitbox that always breaks down). At
702.
▲
by
BigJono
9y ago
It varies wildly on the type of application you're building. I can only speak for front-end development of complex SPAs w/ React. Generally, most architectures in this domain have a combination of UI components, a data store, a se
703.
▲
by
BigJono
9y ago
I'd recommend aiming for 10-20% on those projects, and also for startups trying to rapidly push an MVP out. Tests have diminishing returns. You want to hit the absolute most crucial ones that give you plenty of bang for buck and even s
704.
▲
by
BigJono
10y ago
GP outright stated that Blizzard's games are better than Valve's and Bethesda's because of their strict control over quality/lack of community content. My point is that Hearthstone is an objectively worse game than Count
705.
▲
by
BigJono
10y ago
>but they're better Citation needed. I've played a ton of AAA multiplayer games over the years. Hearthstone is hands down the worst one that I've given a fair chance to (>20-30 hours of playtime). To say that it's
706.
▲
by
BigJono
10y ago
Without ragging on developers that do this, I actually think it's a very serious problem. I frequent the #react irc channel a lot, and almost every beginner comes in with the same sentence: "I really like the way ___ does ___, whe
707.
▲
by
BigJono
10y ago
React is very usable without Redux. I'm not sure how they became bound so tightly together. I keep seeing this pattern of redux as a page-level data store, whereby on each page load you pull your data from rest APIs, put it in that pag
708.
▲
by
BigJono
10y ago
With what webpack config though? Half the problem with the web stack is inexperienced people making things way more complicated than they need to be. A minimal webpack.config is pretty damn simple.
709.
▲
by
BigJono
10y ago
Yep! Always a bit of fun when someone goes to use my laptop for an end-of-sprint presentation and types a bunch of gibberish infront of all the stakeholders :D
710.
▲
by
BigJono
10y ago
Nope, mine are all oeunt, oeunth, huet, uehis, ais, etc
711.
▲
by
BigJono
10y ago
They also run expensive ad campaigns promoting their own policies, at least here in Australia. They don't even have to be successful policies to be able to talk about them...
712.
▲
by
BigJono
10y ago
I've always liked the alt-text on this one.
713.
▲
by
BigJono
10y ago
Just to be clear, I wasn't debating the merits of thunks, I love the pattern. I was just questioning the decision to use redux middleware to implement them. Redux-thunk action creators do not return an action. It's a misnomer to c
714.
▲
by
BigJono
10y ago
The common solution seems to be using redux-thunk to shoehorn all of this business logic into the action creators. I think that's an absolutely terrible idea. IMO redux-thunk muddies up the terms "dispatch" and "action c
715.
▲
by
BigJono
10y ago
This is an anti-pattern unless you actually have shared state between pages. Otherwise it's functionally no different to just having local state on each page and all you have is lots of unnecessary boilerplate. This is way more common
716.
▲
by
BigJono
10y ago
This is just blatantly false. I've got several apps in production using nothing but React, React-Router and a unit testing library. In-fact I'd posit that it's easier to write good, maintainable code using a minimal toolset t
717.
▲
by
BigJono
10y ago
All of which is easily done using plain old Javascript (with the exception of unit testing).
718.
▲
by
BigJono
10y ago
> though I suppose if the car is driving itself perfectly fine police would have no reasonable grounds to pull anyone over and discover they're drunk in the first place. I can't speak for America, but here (Australia) I'd
719.
▲
by
BigJono
10y ago
This seems like an easy question to answer. The liability lies with the user until they seek the professional advice of a doctor. Say a user decides to self-diagnose and damages themselves (either through inaction or self-medication or what
720.
▲
by
BigJono
10y ago
Why do we want source order independence? I'm seeing a worrying trend in front-end dev towards things that are "nicer" to "read" but more difficult to actually reason about. I don't understand what benefit we&#
More ›