Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
surement
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
surement
4y ago
> This is one of the hardest problems in software development and that is one of the worst fallacies in software development naming things is not hard, people regularly give things terrible abstract names because they act like it'll
62.
▲
by
surement
4y ago
> I'll tell the PM I need to rename this function if they want to know what I'm up to. Why can't more engineers do this? in my experience people rarely ever question the product team and you can see this in the products yo
63.
▲
by
surement
4y ago
just name things with single letters and when you run out you can use double letters etc. you'll be so fast at writing code a promotion is sure to follow
64.
▲
by
surement
4y ago
the average tenure for software engineers at most companies is two years, so yes it's not just onboarding, a newer/more junior engineer is much more likely to misunderstand something and introduce a bug if specific context is requ
65.
▲
by
surement
4y ago
> It's worse than being non-descriptive- it's that they become misleading. if you find that something has drifted to the point of being misleading, then rename it it's software not hardware or comment on code reviews that
66.
▲
by
surement
4y ago
> "no, our microservice is called video encoder" using cute names shouldn't be an alternative to learning to name things properly
67.
▲
by
surement
4y ago
So many software "engineers" think their job is to make writing their code easier rather than to make reading it easier by the rest of the company. Presumably they think that the faster they write code, the better they are as engi
68.
▲
by
surement
4y ago
> Not only names like Batch or Functions don’t add much value overly vague names have the same problems cute names have, and you generally see the same type of people using them (those who think software is "hard to change"–you
69.
▲
by
surement
4y ago
> The name gets repeated in so many places if it's important. like the parent points out, the named thing is likely "important" precisely because it had a non-descriptive name to begin with and engineers added things to it
70.
▲
by
surement
4y ago
> unions are effectively the only way for non-executive[0] employees (in the US) to get an employment contract that isn’t one-sided in favor of the employer If they were actually one-sided then no employees would sign them. It's not
71.
▲
by
surement
4y ago
The incentive structure of central planning doesn't work and it's not something that can be solved with people evolving to be more altruistic. Meanwhile even imperfect capitalism has raised the quality of life of billions of peopl
72.
▲
by
surement
4y ago
> How many businesses that pay minimum wage really can’t afford to pay more? By my estimation, it’s a fraction, if any. Have you never used an automated car wash or self checkout? People can decide their own minimum wage and to be unempl
73.
▲
by
surement
4y ago
> There’s a margin between the price you can sell a product for and the price you decide to sell a product for. price elasticity is irrelevant. if someone is paid $10/h and earns their employer $11/h, and the city they live in
74.
▲
by
surement
4y ago
does raising the price of oranges mean you sell less of them? of course it does employment is a two way agreement, why does the government need to set a price floor for labor? anyone who doesn't want to work for $4/h can just deci
75.
▲
by
surement
4y ago
Economic decisions should be viewed in terms of the incentives they create and not their stated intentions. Any economic system is one of rationing resources and this involves making tradeoffs. The apparent intent of one approach for doing
76.
▲
by
surement
4y ago
The notion that capitalists aren't compassionate is pure propaganda. People like capitalism because it's the best economic system in terms of results [0] [1] [2] [3]. It may increase the variance in wealth but it also raises the m
77.
▲
by
surement
4y ago
what's the alternative?
78.
▲
by
surement
4y ago
if you think that then buy a house instead of renting
79.
▲
by
surement
4y ago
Nah [0]. If you live in a NIMBY hellhole you can always move somewhere more affordable. [0] https://fred.stlouisfed.org/series/MEPAINUSA672N
80.
▲
by
surement
4y ago
"markets" is just a word that means individuals making economic decisions for themselves
81.
▲
by
surement
4y ago
https://ourworldindata.org/grapher/size-poverty-gap-countrie...
82.
▲
by
surement
4y ago
> maybe they just see themselves as embarrassed millionaires that would want to crush their workers to squeeze money out of them? What a lazy take. Unions only protect their current members. It's common for companies to hire fewer p
83.
▲
by
surement
4y ago
> Why did I deserve to make more money than a teacher or a nurse? prices are largely based on supply and demand, not some vague notion of "deserve"
84.
▲
by
surement
4y ago
yeah, the best Canadian syrup is made mere miles from the Vermont border
85.
▲
by
surement
4y ago
these have been fine in my experience; you're unlikely to find cans outside of regions that make maple syrup anyway
86.
▲
by
surement
4y ago
I agree with you that the New Yorker's classification of authoritarianism is lazy and I think it nullifies its credibility. I also agree that some powerful people have it in their best interest to hide the costs of democracy because th
87.
▲
by
surement
4y ago
it's not likely to be harmful but that it is sterile is a falsehood probably popularized by Fight Club
88.
▲
by
surement
4y ago
you can get great wine for under $60 but not top quality > Scarcity is the number one factor that determines the price of an expensive wine. just because something is rare doesn't mean it's good; a random rock on a beach is one
89.
▲
by
surement
4y ago
added it in after reading my comment but not re-reading the parent
90.
▲
by
surement
4y ago
> I swear (even though I know I'm wrong) that he just makes this stuff up. I don't know if this in particular is made up or not. But tasting notes, especially of the marketing kind, can be a collection of notes from different p
More ›