Better HN
topnewbestaskshowjobs
Log inSign up

roguecoder

3,357 karma · joined Oct 28, 2011 (15y ago) · 1,345 submissions

Submissions

comment 1y ago · link · parent

Why would you assume they would end up performing worse?

I have yet to see a company that prioritized quality over profits, unless forced to by regulation.

comment 1y ago · link · parent

Many companies see it has a positive to not have monopoly-abusing competitors able use the government they bought to crush startups.

comment 1y ago · link · parent

They love standards so much they have two of them.

comment 1y ago · link · parent

Regulatory capture, which all corporate lobbyists represent, is profoundly anti-capitalistic. If the CEO wants to spend their time talking to the government, that is very different than spending money to have other people advocate on their behalf: that isn't an option the rest of us have.

And that's before we get to the way wealth inequality inherently distorts markets, by overstating the preferences of the wealthy and underserving the needs of the poor.

The point of an economy is to distribute scarce goods and resources. Money represents information about what people want or expect to want in the future.

Everything wealthy people do that make it less efficient at its job is an attack on capitalism.

comment 1y ago · link · parent

Kenneth Copeland suggests religion can be enough

comment 1y ago · link · parent

It's the same way billionaires argue for free trade, until it comes to immigration. As soon as it might help people who work for a living, suddenly none of their principles apply.

comment 1y ago · link · parent

They are: https://openai.com/residency/

However, skilling people up on specialized skill sets in a reasonable time frame requires having people around to teach them. And those people need to know not just the skills, but how to teach them well. And it takes time away from those people doing the job, so that approach will slow development in the short run.

But the companies are trying.

comment 1y ago · link · parent

Trade secrets and patent laws still apply.

But also, every employee getting paid at Meta can come out with the resources to start their own thing. PayPal didn't crush fintech: it funded the next twenty years of startups.

comment 1y ago · link · parent

Those lower rates of taxation on capital don't even incentivize investment, because investment is inelastic. What else are you going to do with the money, swim in it?

It's just about rich people wanting a bigger share of the pie and having enough money to buy the policies they prefer.

Similarly, we have laws that guarantee our right to talk with our coworkers about our income, but the penalties have been completely gutted. And the penalty for companies illegally colluding on salary by all telling a third party what they are paying people and then using that data to decide how much to pay is ... nada.

We need to figure out how to have people who work for a living fund political campaigns (either directly with money or by donating our time), because this alternative of a badly-compressed jpeg of an economy sucks.

comment 1y ago · link · parent

SBF demonstrated how utilitarian thought + massive money can easily spiral into self-centered anti-social behavior.

Being a billionaire seems to be inherently bad for human brains.

comment 1y ago · link · parent

Intrinsic motivation + a seven figure paycheck seems strictly better than intrinsic motivation alone

comment 1y ago · link · parent

I disagree. If you want similarly-tight feedback loops on performance, pair programming/TDD provides it. And even if you hate real-time collaboration or are working in different time zones, delightful code reviews on small slices get pretty close.

comment 1y ago · link · parent

Working more than 50 hours a week is counter-productive, and even working 50 hours a week isn't consistently more productive than working 40 hours a week.

It is very easy to mistake _feeling_ productive and close with your coworkers for _being_ productive. That's why we can't rely on our feelings to judge productivity.

comment 1y ago · link · parent

Indeed! It would be illegal _not_ to poach employees: https://www.goodspeedmerrill.com/blog/2023/12/what-is-a-no-p...

comment 1y ago · link · parent

It is hilarious how much capitalists hate capitalism as soon as it benefits workers.

comment 1y ago · link · parent

So these companies broke the internet

comment 1y ago · link · parent

Why would using a more-expensive technology cut their costs?

comment 1y ago · link · parent

LinkedIn, for example, doesn't care if you as a human are manually looking at all your connections one-by-one or if you have automated a bot to do it: it will lock you out the same either way.

comment 1y ago · link · parent

America is sprawling, unfortunately. That kind of approach would work in cities, but would be much less effective where people aren't taking the bus or even being around other people on a daily basis.

The advantage of something that can reach 6 miles is that it could cover suburbia and rural areas with ~20-40 acre plots relatively effectively.

comment 1y ago · link · parent

Blackberry had one, but it didn't seem to be a feature consumers particularly cared about when they fled to iPhones.

comment 1y ago · link · parent

I recommend "Augustus: First Emperor of Rome" by Adrian Goldsworthy.

Given that "democratic" didn't mean the same thing then it does now (with suffrage limited to a small group of the uber-rich), and that some of the problems he was fixing was "the threat of this army I happen to have" and "this war I actively participated in", I don't think it is wrong. He wasn't in Rome when the Senate awarded him power and the Vestal Virgins drank in his name, which isn't something that would be commanded.

After decades of war and strife and food shortages, peace under one warlord looked more appealing than having three who would likely eventually be at each other's throats.

comment 1y ago · link · parent

I do not believe "it makes the control flow harder to understand" is as universal as you claim. If used badly any flow tool (including if-statements) can be be confusing. But "it can be complicated" doesn't mean we shouldn't use the tool when it is appropriate. One of the reasons I like Java Enums is because they provide much more structured guidance on what communicative inheritance looks like.

But we may also disagree on what "productive" means in the context of writing software.

The "taxonomy of code" you are dismissing is I believe what Fred Brooks describes as the "essential tasks" of programming: "fashioning of the complex conceptual structures that compose the abstract software entity".

It's not that I don't sympathize with your concern: being explicit and clear about "what the code is trying to do" is why TDD is popular among OOP programmers. But the step after "green" is "refactor", where the programmer stops focusing on what the code is trying to do and refines the taxonomy of the system that implements those tasks.

comment 1y ago · link · parent

The problem with TypeScript is that it is ridiculously verbose. It is everything people used to complain Java was back in the 90s.

comment 1y ago · link · parent

I want the same things you do, and the closest I've found is writing Ruby with RDocs on all the public methods of a class.

comment 1y ago · link · parent

If encapsulation wasn't useful, we wouldn't write microservices.

If abstraction wasn't useful, we wouldn't use containers.

comment 1y ago · link · parent

"But there's a reason the crowd is moving against inheritance"

Yep: it requires skills that aren't taught in schools or exercised in big companies organized around microservices. We've gone back to a world where most developers are code monkeys, converting high-level design documents into low-level design documents into code.

That isn't what OOP is good for: OOP is good for evolving maintainable, understandable, testable, expressive code over time. But that doesn't get you a promotion right now, so why would engineers value it?

comment 1y ago · link · parent

I think there is a tendency in our industry to externalize imposter syndrome, blaming the tools rather than thinking "huh, I don't understand OOP yet."

Which doesn't mean everyone has to learn to understand OOP, but just because one person doesn't want to doesn't mean no one should.

comment 1y ago · link · parent

That is a great example! Abstraction is most useful when it captures the way several things are more-specific versions of a more general thing. At that point it's not just about the functionality: it communicates to the reader. Anyone coming in can now easily answer the question, "what kinds of payments exist?"

comment 1y ago · link · parent

To my mind, the challenge is not "sharing behavior"; it is "sharing behavior in a way that capture human-understandable semantics and make code easier to reason about instead of harder."

I suspect part of the problem of inheritance is that it is a way to share behavior that some humans, especially visual thinkers who understand VMTs, find easy to reason about.

In my experience verbal thinkers struggle with inheritance, because it requires jumping between levels of abstraction and they aren't thinking in terms of semantic units. I have found that books like Refactoring can help bridge the gap, but we have to identify it as a gap to be bridged and people have to want to learn this new skill.

And then on the flip side you have people who try to use it just as a way to de-dupe code, even when it doesn't reflect a meaningful semantic unit.

comment 1y ago · link · parent

Sure!

Functional programming precludes encapsulation, so it doesn't scale indefinitely the way fractal paradigms can. Eventually, the complexity becomes overwhelming.

One effective solution to that is introducing microservices: programmers can still write entirely functional code, but have encapsulation in the form of services. They have to be micro, though, because conventionally-sized services are still big enough to strain the paradigm.

But I see junior engineers who aren't expected to think about the "architecture", by which they mean the modular design. They are handed a spec and they implement it, Mythical Man Month style. That treats organizing lines of code and organizing services as two completely-distinct activities, and depending on the company junior engineers are often not exposed to modular design until five or ten years into their careers.

1
456
45