Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scott_w
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
871.
▲
by
scott_w
2y ago
Example: Optional types in a type system require you to handle the null case. Plenty of times you know null isn’t possible (just the interface requires it) so you ignore handling assume it’s never null. In a statically typed language you’ll
872.
▲
by
scott_w
2y ago
If it works for you, great. I’ll also do that for the same reasons. What I really love, though, is I don’t need to be totally correct in my types all the time. If the code will run, it’ll run and, in plenty of simple cases, that’s good enou
873.
▲
by
scott_w
2y ago
If it’s not clear: I like working with typed Python code. It absolutely solves a lot of issues that would require a stupid amount of testing and manual checking otherwise (dict-passing is a personal “favourite” I’ve seen). We shouldn’t pret
874.
▲
by
scott_w
2y ago
> To me this suggests the tooling was insufficient. Perhaps but I find that type systems usually introduce friction to getting things working that, for some types of projects, can be worthwhile and, for others, not worth the overhead.
875.
▲
by
scott_w
2y ago
> Go isn't a great example. I picked Go as an example of a language that gets a lot of praise specifically for having strict compiler rules. I've also tried Scala and found it clunky but I do suspect most of its problems came f
876.
▲
by
scott_w
2y ago
> And it does matter when 3rd party libraries are involved. That's a fair point.
877.
▲
by
scott_w
2y ago
I was referring more specifically to fixing the types. It looks like it's possible to enforce type-hinting with config files to mypy (but I've not tried it): https://stackoverflow.com/questions/55944201/p
878.
▲
by
scott_w
2y ago
> Please, do not ever come next to my working place Ok, I won't. > we have enough problems already. I agree.
879.
▲
by
scott_w
2y ago
I don’t see that as a problem since you’re not going to run multiple type checkers over your code, much like most C++ codebases pick a compiler and stick to it.
880.
▲
by
scott_w
2y ago
Having CI hard fail definitely helps. I won’t pretend I’d be so judicious without it.
881.
▲
by
scott_w
2y ago
I don’t think that’s strictly true. Python developers are finding there are advantages to having a type system in larger programs such as readability and a reduction in certain classes of bugs. That said, I’ve found Python’s approach lets m
882.
▲
by
scott_w
2y ago
> I think the point is learning to have two tabs open, one incognito, will work everywhere for all resources, whereas this bespoke interaction needs to be memorised just for this websites. No, it’s telling people how they should behave,
883.
▲
by
scott_w
2y ago
I wouldn’t presume to lecture women whose husbands beat them on how they should behave…
884.
▲
by
scott_w
2y ago
Chrome closes the window on the last tab. It's splitting hairs, however. As you said, it's still raises suspicion which, to a person in a domestic violence situation, is not what they want.
885.
▲
by
scott_w
2y ago
> What makes you think you know more about customer needs than the people working directly with the customers? I never said I did. What I said was that we should not disregard our own knowledge and experience when working on our products
886.
▲
by
scott_w
2y ago
Disagree. This position completely disregards our experience and expertise. We need to partner with our Product counterparts to figure out what our customers’ needs are. We must also be clear what our operating constraints are so PMs can ma
887.
▲
by
scott_w
2y ago
I strongly disagree with this because it infantilises your PM to a ridiculous level. You absolutely should explain (at a high level) what the constraints of your work are. If the PM doesn’t care, that’s a failing on their part. It’s their
888.
▲
by
scott_w
2y ago
They’ve done this since the head of the Cabinet Office around 2010 set up a team to improve digital government services. There’s a lot of information published as to their methodologies and their teams present technical topics at conference
889.
▲
by
scott_w
2y ago
If it’s the only tab open, switching isn’t an option. Women living under the threat of violence will be very stressed, so won’t be well placed to setup their browser ahead of time.
890.
▲
by
scott_w
2y ago
If it’s the only tab open, you’ll raise suspicion if your partner walks in to you staring at the desktop
891.
▲
by
scott_w
2y ago
If it’s the only tab you have open, it’ll look very suspicious that you’re just staring at the desktop…
892.
▲
by
scott_w
2y ago
This reminds me of something my mother told me she aimed for when she ran her catering businesses: she always wanted 1 serving of pie leftover at the end of every day. If she had 0, she ran the risk of turning customers away and losing mone
893.
▲
by
scott_w
2y ago
I like this thinking because it's a true reflection of how things work. I strongly doubt any housebuilder goes back to the architect and says "can't do that, foundations bad." They'd explain what the problem is: may
894.
▲
by
scott_w
2y ago
Minimum wage and UBI aren’t the same thing so you can’t extrapolate the results of one into the other.
895.
▲
by
scott_w
2y ago
I care about getting things done. You seem to care about making git commits look pretty. I know what my customers prefer.
896.
▲
by
scott_w
2y ago
> Of course I start on work that I (not the reviewer) can work on right now. Why do you start work you can't finish?
897.
▲
by
scott_w
2y ago
> But it takes surprisingly little to sell back centralization and lock-in to developers, even when working on top of a decentralized tool. I don't care about centralisation / decentralisation in my work. What I care about is t
898.
▲
by
scott_w
2y ago
You're over-thinking it. Large PRs have a known effect of reviewers' eyes just glaze over and the PR just gets a cursory glance and LGTM :+1: on it. That's when you know a PR is "large." What's stopping you bre
899.
▲
by
scott_w
2y ago
Why are you starting work you can’t finish for days/weeks?
900.
▲
by
scott_w
2y ago
Don’t make dependent PRs. Make small PRs, review, merge and deploy them before starting the next.
More ›