Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BigJono
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
BigJono
3y ago
Surely if there's anything you don't need a 'tl;dr' for it's setting up your database backups lol. I just had a quick skim of those docs, looks like lots of paragraphs going over all of all the things that can go wr
92.
▲
by
BigJono
3y ago
People are conflating too many ideas. You're right that there's a huge benefit to that, but it's contigent on you as the dev being able to trust the types coming into your system, you need good docs, and attention to detail a
93.
▲
by
BigJono
3y ago
And decades of startups created with the next lisp/ruby/python/perl/JS. Sign me up for those. I for one would rather eat a bullet than maintain any of the TS I'm watching people write today. I don't think we&#x
94.
▲
by
BigJono
3y ago
Dude, duck for cover, lol. You're 100% right though.
95.
▲
by
BigJono
3y ago
It's absolutely infuriating that Google can't fuck the old fandom wiki off the top of every search result despite it having completely outdated information and zero updates. You're telling me with all the fancy algorithms and
96.
▲
by
BigJono
3y ago
Your advice only works if the "large chunk" of code isn't a large chunk of code lol. If you can safely refactor a subset of the code without the full context then of course you'd do that. But if there's a big enough
97.
▲
by
BigJono
3y ago
It depends on the level of the architecture. Architecture that splits the project into chunks that you can take a meat cleaver to and refactor at will is great. "Architecture" that takes one of those chunks and adds 15 abstraction
98.
▲
by
BigJono
3y ago
React gets a bad rap because of all the rubbish built around it, but if you do ever want to try the declarative model over vanilla/jQuery, React is actually exactly what you want if you want to avoid compile time magic. The only thing
99.
▲
by
BigJono
3y ago
> I also dont understand why the second version signals use of the variable any better than the classic version, esp if you declare the variable right ahead of it, but that is the classic "C" style. Because you have no idea if
100.
▲
by
BigJono
3y ago
Summing a list of numbers is the exact kind of use case you should use reduce for. If it feels wrong to you it's just because you have more experience with for loops than reducers. In languages like JS that have both styles, the plac
101.
▲
by
BigJono
3y ago
Computers execute code in a linear fashion, why on earth would you "need a reason" to NOT abstract something? Just because abstraction is often the right thing to do doesn't make it the base case. It's like saying you ne
102.
▲
by
BigJono
3y ago
I don't disagree but "established best practices" have an enormous range from no brainers to obvious cargo cult bullshit. For every dev rightly suggesting people use CI/CD I've met 10 that twitch at the slightest su
103.
▲
by
BigJono
3y ago
They probably consider them hard to read because people overdo it with multiple nested layers of them when they don't need to, and tools like prettier often format them in completely moronic ways that obfuscate the original dev's
104.
▲
by
BigJono
3y ago
"Framework on top of a framework" I meant, not just one. Something like React or Django is absolutely a big speedup once you fully understand the abstractions they provide, but the ad hoc mishmash of 80 libraries and mountains of
105.
▲
by
BigJono
3y ago
It's different. All the layers below are still there, and those abstractions are WAY more solid than the abstraction from React to NextJS. Most good developers can build apps faster without an ORM or a framework on top of a framework.
106.
▲
by
BigJono
3y ago
This is going to be a thing across tech in the near future. You can see across games, web apps, whatever, there's a trend of more libraries, more frameworks, more guard rails, less fundamentals, less innovation. The fad these days is t
107.
▲
by
BigJono
3y ago
> Hiring them (especially a competent manager who will manage the operations) is just putting money on the table. I love to shit on Musk as much as anyone but I dunno about this lol. There's a lot of skill in hiring good technical p
108.
▲
by
BigJono
3y ago
Target audience. 3 cafes have popped up within walking distance of my house in the past 5 years and they all seem to be going strong. I doubt any of the owners give a flying fuck what Bloomberg has to say about office rents lol.
109.
▲
by
BigJono
3y ago
The standard docs can go fuck themselves. I've never seen a community try and fuck up a good library as hard as the React community does. React itself is great. Almost everything built on top of it and every word spoken about it on the
110.
▲
by
BigJono
3y ago
> 20 developers is a lot, but could in theory be worthwhile. I'd really try to get all 20 be very-effective ones and structure the responsibilities and communication so that they don't get bogged down. If you do it a naive way,
111.
▲
by
BigJono
3y ago
Documentation isn't a substitute for reading the code, and the best place for documentation is in the same file as the code.
112.
▲
by
BigJono
3y ago
The entire industry has lost it's fucking mind. Object.keys returns an array of strings. Non-ennumerable properties and Symbol-keyed properties aren't included (on the off chance that's even relevant). That's it. It'
113.
▲
by
BigJono
3y ago
Democratization of software engineering means giving everyone the opportunity to learn. Not handing them a black box with a few instructions then sending them off to plow head first into a brick wall of insurmountable knowledge gaps so they
114.
▲
by
BigJono
4y ago
The problem with stats on animal related deaths in Australia is they never count the 80,000 or so a year that die from a massive heart attack when they see a huntsman. At least the snakes are mostly kind enough to fuck off to where the huma
115.
▲
by
BigJono
4y ago
I don't know why they want the "old internet" in a thread talking about protecting children lol. When I was 13 I was playing CS 1.6 on dedicated servers with a small number of strangers that were like 30, I was also on I don&
116.
▲
by
BigJono
4y ago
That site literally gives the overall tax rate as 28.68%, 42nd in the world. The US is 53rd, and the UK is 29th. The single figure of 45% is the highest tax bracket, which only starts at $180,000/year. Australia has a higher minimum wa
117.
▲
by
BigJono
4y ago
Yes and those people with a proven track record of writing awful code will now have another new tool to apply their valuable skills with. I can't wait.
118.
▲
by
BigJono
4y ago
TC39 proposals often have rubbish real world examples that should never see the light of day in a JS codebase. It makes me really question the judgement of the people that are working on this language, and it explains how some of the shitti
119.
▲
by
BigJono
4y ago
Yeah, every consultancy. The ones that look like don't do that kind of work still do, because they somehow have the magic ability to turn a greenfield project into legacy code in the space of about 2 months.
120.
▲
by
BigJono
4y ago
There's often real tradeoffs between explicitness and readability, but yeah, I don't think semicolons are one of them. By definition they're completely out of the way (at the end of statements). I have the same problem with J
More ›