Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
waheoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
571.
▲
by
waheoo
6y ago
If youre doing tdd or writing tests like this you have bigger problems. Type safety is easy in a dynamic language. Stop mutating variables and stop mixing types. Suddenly that whole class of errors evaporates. No need to test things that ar
572.
▲
by
waheoo
6y ago
Cool, TIL. But I literally meant the tax collector pays their salary. Not the tax payer, who, on average, costs the state more than they pay in taxes.
573.
▲
by
waheoo
6y ago
Contrary to what people love to say, the police dont work for the tax payer. They work for the tax collector.
574.
▲
by
waheoo
6y ago
I hope this is sarcasm.
575.
▲
by
waheoo
6y ago
Im talking about adding an attribute in the next 5 minutes, no, im not going to add a comment, or an ignore line while im editing a component. Those are really awful work arounds to a man made problem.
576.
▲
by
waheoo
6y ago
I like that solution, if im ever forced into using a messy window manager again ill set this up.
577.
▲
by
waheoo
6y ago
I dont think people want to hear that there are still problems with autoformatting text. Anyway, my point still stands, drop rules about line length and rules that care about inter line break positions and most of these problems go away.
578.
▲
by
waheoo
6y ago
Thats what im talking about. If you add text to a line, and it goes over a length, it will reformat a jsx element into about 5 lines instead of 1. Similarly, when you add more than it needs because you want consistency, or know youll add mo
579.
▲
by
waheoo
6y ago
Why not gosci? Anything with plus in the name is awful to google. Then again, go is a similarly awful thing to google so I guess youre in good company.
580.
▲
by
waheoo
6y ago
Prettier specifically annoys me to no end with this problem. If youre adding more attributes to a jsx component later and know it you might format to multiline early. It decides to undo your work and slow you down, because some arbitrary li
581.
▲
by
waheoo
6y ago
Ive seen heaps of autoformatters dirty up version control. Mostly when theyre fussing about new lines. I kind of wish autoformatters would just ignore new lines and focus on indentation alone. It would certainly cut down on the over zealous
582.
▲
by
waheoo
6y ago
People at work nit: my code all the time. I just straight up ignore them. If they ask me why, I tell them to add an autoformat to our ci or shut the hell up. Fwiw, i use an auto formatter but its got problems with certain rules so i switch
583.
▲
by
waheoo
6y ago
No you dont. People with more users have more word of mouth network effects. Thats not much of a choice. Either participate, or be locked out and lag behind the competitors. The problem here is that Apple is both the platform and the distri
584.
▲
by
waheoo
6y ago
Thanks for taking the time to respond. 1) I work on a typescript codebase for work. There is a real need for types in this case because the definitions are about 3 layers of abstraction away from their use. It drives me up the wall because
585.
▲
by
waheoo
6y ago
I used to feel this way. I found it depends on the work. A lot of my old work didnt depend heavily on looking at a terminal output constantly. These days, i have to have about 3-4 things running. The extra screen just becomes a log window.
586.
▲
by
waheoo
6y ago
Im sorry you feel like i was shitting on statically typed languages. I can assure you I do beleive they have their purpose and place in the world where raw performance or closer to metal abstractions can take place. Personally, my brain muc
587.
▲
by
waheoo
6y ago
The dev that set git to using master says otherwise.. https://twitter.com/xpasky/status/1272280760280637441
588.
▲
by
waheoo
6y ago
Your understanding is correct. https://twitter.com/xpasky/status/1272280760280637441
589.
▲
by
waheoo
6y ago
It was.. the dev that came up with them stated as such already. https://mobile.twitter.com/xpasky/status/1272280760280637441
590.
▲
by
waheoo
6y ago
For what its worth, the datascience ecosystem is probably the worst place to get general idioms from. They tend to err towards their own domain language and build stuff for people who arent programmers. i.e. for caller flexibility instead o
591.
▲
by
waheoo
6y ago
Well if a functions first run is in production youve got other problems. The idiot ref would be right.
592.
▲
by
waheoo
6y ago
This is where the type system debate breaks down. What you point out is a developer error. Mixing variable types in a dynamically typed language is, like generics, a code smell. Using a dynamically typed language is all about not having to
593.
▲
by
waheoo
6y ago
You forgot docker.
594.
▲
by
waheoo
6y ago
https://sr.ht
595.
▲
by
waheoo
6y ago
Wasnt the first software engineer a woman?
596.
▲
by
waheoo
6y ago
Im so confused by these labels. I did the political compass thing and fell hard in the bottom left quadrant of left leaning libertarian. Doesnt that mean i should align with these sjw types? Personally i find them detestful.
597.
▲
by
waheoo
6y ago
No this is not a relic from bitkeeper. Why dont you ask the dev responsible instead of some random on a mailing list stringing assumptions to fit a narrative. https://mobile.twitter.com/xpasky/status/12722807602806
598.
▲
by
waheoo
6y ago
Chsnging a branch name is benign? You really cant see how that could cause problems for software? I know its the default bit there will be a bunch of people that go in and change it for the sake of virtue only to expect dependent libraroes
599.
▲
by
waheoo
6y ago
> "If it prevents even a single black person from feeling more isolated in the tech community, feels like a no-brainer to me," she wrote. I agree with the sentiment, but oh sweet summer child. You cant make decisions off of wha
600.
▲
by
waheoo
6y ago
Im yet to see anyone on hn say it will make them more comfortable. Just a bunch of white knights coming to do thier song and dance.
More ›