Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MrJohz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
811.
▲
by
MrJohz
3y ago
While this is all technically true, I don't think it's all that helpful a thought process to have when approaching Svelte. Yes, Svelte files are syntactically valid HTML, Javascript, etc, but they have very different semantics. Ta
812.
▲
by
MrJohz
3y ago
I find that's often because classes come with a lot of stuff that is less desirable - mainly inheritance and its assorted complexities. The other side is that classes aren't the only way to get this sort of encapsulation. The clas
813.
▲
by
MrJohz
3y ago
> "The Filmmaker": posted an animated GIF of their terminal session instead of writing out what they did I love videos and GIFs when trying to debug something. They're usually much better at catching small details than peo
814.
▲
by
MrJohz
3y ago
Except both Javascript and Python - along with a bunch of other dynamic languages such as Ruby and Elixir - are adopting gradual typing into the ecosystem. In both Javascript and Python, most of the major libraries and frameworks are either
815.
▲
by
MrJohz
3y ago
As I understand it, even for a jit compiler, the type annotations are typically less useful than runtime behaviour. For example, at runtime, a type might typically be narrower than the compile time declaration. Also, with most gradually typ
816.
▲
by
MrJohz
3y ago
I'm not sure the backend world moves all that more slowly, it's just if you're in it, you know which new parts to accept, and which to ignore. To take Python as an example, my impression as a newcomer is that Flask is pretty
817.
▲
by
MrJohz
3y ago
Fwiw, I think a lot of that is familiarity. I'm trying to create a Python backend right now, and it's something I've done before, but still every time it feels like a pain - what are the best practices for dependencies now an
818.
▲
by
MrJohz
3y ago
I think you're misreading that - the poster used to use webpack via create-react-app, and now they typically use Vite. And while yes, Vite does wrap other tools, it does so fairly opaquely - you shouldn't need to dive into the det
819.
▲
by
MrJohz
3y ago
Is it? Prettier isn't so much a linter as a formatter, and I think most language ecosystems separate out formatting from linting - e.g. Rust's Clippy vs rust-fmt.
820.
▲
by
MrJohz
3y ago
I mean, it sounds like you're just trying to create complicated applications. That's not a bad thing, my day job is also about trying to build complicated applications, so I also install a very similar set of tools. But that'
821.
▲
by
MrJohz
3y ago
I mean, you can do good work with Visual Basic and an overworked Excel spreadsheet, but it will probably be worth your while to find some alternatives. Just because something works, doesn't mean we can't improve it, and just becau
822.
▲
by
MrJohz
3y ago
I had almost exactly the same definition, but interestingly I let the skydiver go free, and I figured the tank would be okay because it was stationary (and I think in my head I assumed someone else had allowed the memorial!) In the end, I o
823.
▲
by
MrJohz
3y ago
One can review teachers much like one reviews any other profession. You review their CV, invite them to an interview, see if they know their stuff, put them in front of classrooms, check their references, etc. We don't need the NSA to
824.
▲
by
MrJohz
3y ago
But that's what a welfare state is for, isn't it? To act as a kind of collective insurance, paid into by everyone, that mitigates these sorts of disasters. You've just lost your job? Here is some money for the time being to t
825.
▲
by
MrJohz
3y ago
In fairness, most proponents of inheritance tax see it as solving the problem of wealth pooling in certain places and not continuing to be redistributed. You cannot claim to have a fair, meritocratic, and egalitarian society if there is a c
826.
▲
by
MrJohz
3y ago
I had Much Ado as one of my first introductions, and I remember it being fun, but not really getting it at the time. I think everyone's first Shakespeare play is hard going, it's not until you get the rhythm of them and start seei
827.
▲
by
MrJohz
3y ago
In fairness, I think a lot of that is him writing in a vernacular English that wouldn't have been recorded much in official documents or other writings. So he probably didn't coin it so much as save it for posterity. Otherwise his
828.
▲
by
MrJohz
3y ago
> Well, are any of your SREs vision impaired? If the answer is "no", then legally you don't. Maybe one day you'll employ a vision impaired SRE – at which point, then you will be obliged to make it work for them. But,
829.
▲
by
MrJohz
3y ago
Maybe, but Vue also has SFCs, and I've never once had issues with syntax highlighting or code formatting there.
830.
▲
by
MrJohz
3y ago
I mean, that sounds like a data point of two now to me - you're also saying that Typescript and Svelte don't play that nice together if the plug-in breaks "all the time" and you need to be careful how you write code just
831.
▲
by
MrJohz
3y ago
It's two arguments. Firstly, you've made the assertion that someone whose own life of at risk based their decisions is more likely to make safe decisions. As you say, it's an intuitive assumption to make, but reality tends to
832.
▲
by
MrJohz
3y ago
I don't doubt you would have more confidence, but human estimations of risk tend to be very poor. So it would still be useful to see whether that sort of belief holds true: that is, whether people who "have skin in the game"
833.
▲
by
MrJohz
3y ago
I think the difference can be useful in terms of addressing different software/DX needs. For example, scripts and programs tend to have very different maintenance, dependency management, packaging, publishing, etc needs. You see this a
834.
▲
by
MrJohz
3y ago
But again, that's so broad as to be meaningless. What does pointless mean? No value to myself? No value to the company? No value to society? Something else entirely? It's basically just measuring job satisfaction.
835.
▲
by
MrJohz
3y ago
Kind of the other way round. If you have code that has a function named `dispose`, it will keep on working just fine, nothing needs to be renamed (not now, and not in the future when you want to start using `using`). The symbol `Symbol.disp
836.
▲
by
MrJohz
3y ago
1. "We got out of the car and went inside." Possibly also "We got out of the car and came inside", but only if the speaker is still currently inside. 2. "I joined the line ...", although being British I'd
837.
▲
by
MrJohz
3y ago
There's definitely a certain irony to the oft-repeated mantra that software estimation is so hard, when you also have so many comments like this one where people are absolutely certain that projects are going to fail miserably! The lac
838.
▲
by
MrJohz
3y ago
But newbies typically don't need to learn the whole mountain. * Some new features are typically added to handle very specific cases that will rarely be encountered but can't be easily handled by existing mechanisms. These are typi
839.
▲
by
MrJohz
3y ago
I mean, I've come from the other end and find manual memory management hard. I've picked up a lot of Rust, but there's still bits around pointer manipulation and bit fiddling where I just try stuff and see what works. Softwar
840.
▲
by
MrJohz
3y ago
I'm sorry, I think you've misunderstood the point of the Eszett spelling reform. The goal was to somewhat codify the idea that a single consonant (e.g. the "l" at the end of "Tal") implies that the previous vow
More ›