Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BigJono
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
BigJono
6y ago
It's not, that's why people use arrow syntax in languages like Javascript for short in-lined functions.
272.
▲
by
BigJono
6y ago
No, that's a shithouse solution. Everyone that doesn't have a fancy IDE now has 6-8 extra useless characters for something that should be syntax.
273.
▲
by
BigJono
6y ago
700/day in a single state, and now it's officially eliminated statewide (0/day for 28 consecutive days).
274.
▲
by
BigJono
6y ago
There's plenty of workflows that work just fine with large files. As long as you're segmenting the code somehow and have a quick way to navigate to a specific section, it doesn't really make a difference how code is layed out
275.
▲
by
BigJono
6y ago
I don't think this is a generation thing. The strategy of treating devs as interchangeable cogs is still absolutely thriving in management circles. The only differences now are that it's often glammed up with a bunch of lip servic
276.
▲
by
BigJono
6y ago
There's a big difference between HTTP, Apache, and ORMs. People not understanding why they're different is what sinks companies all the time. Using any abstraction is a gamble that it doesn't leak before you have the resource
277.
▲
by
BigJono
6y ago
Maybe? Some criminals swap guns for knives in countries other than the US (though there's still plenty of criminals with guns too). The main difference is the culture though. Violent crimes are at least an order of magnitude less commo
278.
▲
by
BigJono
6y ago
Yeah we have something similar in Australia. Pretty much every school when I was growing up had these exact same portable classrooms with the distinctive shitty-looking rectangular roof. Every single school I walked past or played sports ag
279.
▲
by
BigJono
6y ago
That's not necessarily the only way. Another way would be if the market was in a state where the EV of starting a company was roughly the same as the EV of working for someone else. People living cheque to cheque would still have less
280.
▲
by
BigJono
6y ago
Someone else will step in to take their place. The only reason News Corp is even in this position is because they completely overstepped their bounds with Murdoch's political fuckery. There's no reason you can't have a profes
281.
▲
by
BigJono
6y ago
Rubbish. I went to New Zealand once and the fucking mozzies were the size of a golf ball. I'll take the one redback encounter every 5 years in Australia thanks.
282.
▲
by
BigJono
6y ago
Not OP but I don't imagine that would be very useful. The input method is completely different, so the muscle memory is completely different. Switching from Qwerty to Dvorak on phone just means you have to re-learn touchscreen typing a
283.
▲
by
BigJono
6y ago
Interesting. I also typed 120 wpm with 2 fingers for years. I think this is the first time I've heard of anyone else typing that fast with 2 fingers. I made the switch late in high school since I started getting carpal tunnel symptoms
284.
▲
by
BigJono
6y ago
I've had some serious train wrecks because of shit NPM libraries over the years. Probably the worst was with a decently popular library someone had brought in, that tried to do a refactor from callbacks to async/await, without und
285.
▲
by
BigJono
6y ago
I think the problem with copy pasting is that it implies you're copying a chunk big enough to be worth taking the shortcut. If you happen to have two of the same two-liners, then there's a good chance they shouldn't be abstra
286.
▲
by
BigJono
6y ago
This is pretty much spot on. Except you also missed the main cost, which is the insane amount of time it takes to learn the 85 dependencies on your project to an extent that you actually understand what your code is doing. Every single proj
287.
▲
by
BigJono
6y ago
Plus for every developer to come, one call to an external library usually also means 30 pages of documentation to trawl through if they ever want to change anything, 29.9 of which is completely irrelevant to whatever your narrow use case is
288.
▲
by
BigJono
6y ago
The most damaging part of this risk averseness is that it's pervasive throughout the engineering side of a large company, not just the business side. I've seen a few big companies attempt to avoid the pitfalls you're describi
289.
▲
by
BigJono
6y ago
Those 26 million lines of code have been engineered over the better part of a decade to perfectly cater to every possible use case. To not leverage those productivity gains would be insane. You wouldn't build your own car would you? (&
290.
▲
by
BigJono
6y ago
Don't be stupid, how do you know those 26 lines of code are free of bugs? They're not battle tested and you're just re-inventing the wheel instead of following best practices.
291.
▲
by
BigJono
6y ago
Some fad diets make tons of money. Just because something is a shit idea doesn't necessarily mean it'll be a shit investment (unfortunately).
292.
▲
by
BigJono
6y ago
When I read these threads I feel like I must be working on another planet to the people commenting in them. In almost every front-end project I join, there's a positive correlation between number of abstractions and code size. Everyt
293.
▲
by
BigJono
6y ago
Yeah no shit. JS is the only community I've seen where code size scales with dependency count in the positive direction. It's ridiculous.
294.
▲
by
BigJono
6y ago
Something like Preact can be pretty good for this too. The one thing that makes React (by itself, not with all the stupid extras) good for this stuff (as opposed to Vue and Angular) is that it has a very simple API without much surface area
295.
▲
by
BigJono
6y ago
Understanding the differences is only important if you're hopping jobs to a different tech stack though. Which is why the 'following the market' reason is mostly bullshit if you live in a good city and didn't pick someth
296.
▲
by
BigJono
6y ago
Yes that's an absolutely sound assumption when it comes to web development. The vast majority of resources are written by people that fall into the exact category stupidcar described, with superficial knowledge of the libraries they&#x
297.
▲
by
BigJono
6y ago
There's stacks of people in senior positions that fuck this stuff up constantly. The start-up graveyard is probably full of companies where the CTO came in with an impressive resume then spent 2 years building some massive scale kubern
298.
▲
by
BigJono
6y ago
I really, really want to double down on this, because it's not expressed often enough or nearly well enough. There is a huge contingent of devs (I work in the consulting space, maybe this isn't everywhere) who have this idea that
299.
▲
by
BigJono
6y ago
I fucking wish this was the extent of the web stack madness in half the places I've worked. The amount of stuff you can ram into a front-end code base is truly insane.
300.
▲
by
BigJono
6y ago
Rofl. The last startup I worked for had "very positive momentum towards closing key strategic enterprise partnerships" from the day I joined to the day we went down like the Hindenburg.
More ›