Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tristanstcyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
tristanstcyr
6y ago
I don't think that doing so across architectures is a major goal.
2.
▲
by
tristanstcyr
6y ago
Language servers could still do this by reusing AST manipulation libraries behind the scenes.
3.
▲
by
tristanstcyr
6y ago
From what I understand, the idea of "empty" no longer makes sense at that level. All you have are fields. There, everything is made out of fields and fields are everywhere. There is therefore no "empty" really anywhere,
4.
▲
by
tristanstcyr
6y ago
I agree that this isn't totally specific to JavaScript. It's just that the ecosystem is very extensive and so there are a lot of packages, because you don't need to write your own code for a lot of existing problems. There i
5.
▲
by
tristanstcyr
6y ago
React would normally be a peerDependency and so you shouldn't run into this problem if dependencies are specified properly. If not, NPM module flattening should take care of it. Then worst case, you can also tell webpack to bundle a sp
6.
▲
by
tristanstcyr
6y ago
If you properly do validation at runtime this can be true, but it's a manual process that's not verified by Typescript.
7.
▲
by
tristanstcyr
6y ago
It does not.
8.
▲
by
tristanstcyr
7y ago
I think that this ship has sailed quite some time ago. For example, inner classes which were introduced in Java 4 (if my memory serves right).
9.
▲
by
tristanstcyr
7y ago
That's an idealistic argument. Sometimes you just need to delete things and there's no negotiation possible. Whether that makes sense to you or not as an engineer or scientist doesn't matter much. There are tons of things tha
10.
▲
by
tristanstcyr
7y ago
Is this because both languages are from different eras? When did you last see a consumer ad about scripting?
11.
▲
by
tristanstcyr
7y ago
Try working with a large 5 year old JS codebase that's been hammered on by dozens of devs. The problems are no longer just pin point bugs but a systemic lack of modeling. Static typing is not that much about preventing bugs but more ab
12.
▲
by
tristanstcyr
7y ago
Rather facile advice. As a software engineer, it's your responsibility to build the product according to the requirements. Sometimes that means it needs to be built it quick because it's likely to have a short life, or it needs to
13.
▲
by
tristanstcyr
7y ago
The reality is that the atomic family model is antiquated. In our society, the individual is the unit We must therefore make the individual strong, meaning that we need to support both parents independent all the while having children. We c
14.
▲
by
tristanstcyr
7y ago
It's not that it's a failure, it's that being taken out of the workforce for many years is damaging to careers. It's more than a matter of perception. Public school starts when kids are 5. If you have several kids, it co
15.
▲
by
tristanstcyr
7y ago
Sure, but it comes at a cost. Companies rarely push the limits of these kinds of policies because customers are not willing to pay for them.
16.
▲
by
tristanstcyr
7y ago
What solution do you propose?
17.
▲
by
tristanstcyr
7y ago
Why does this cause more stuff to be consumed?
18.
▲
by
tristanstcyr
7y ago
I don't know if that's how free time works once you have kids. "Parental duties" takes the free time. You get some time when the kids sleep.
19.
▲
by
tristanstcyr
7y ago
Some analysis: https://www.sciencealert.com/traces-of-extraterrestrial-orga...
20.
▲
by
tristanstcyr
7y ago
I find that engineering vs management is not a very useful discussion point. Management is composed of engineers too and engineers are responsible for the output of their work. Production of something that doesn't work is an engineerin
21.
▲
by
tristanstcyr
8y ago
Syntactic sugar I not a bad thing. In any sufficiently complex language, most features can be simulated with other primitives. If we didn't want that, we'd all be writing lisp. In this specific case, the IIF is harder to read. You
22.
▲
by
tristanstcyr
9y ago
Or you could do both. The right tool for the job.