295 karma · joined March 24, 2016
People write bad-performing code not because it's easier, it's because they don't know how to do it better or don't care.
Repeating things like "premature optimization is the root of all evil" and "it's cheaper to get a bigger machine than dev time" are bad because people stop caring about it and stop doing it and, if we don't do it, it's always going to be a hard and time-consuming task.
You've all agreed what can and can't be done with your code based on the license you used.
If you want to make money with software, it's proprietary or dual-licensed (A)GPL with CLA. Anything else you'll bait and switch on people.
Interested on how many concurrent users you have for Server to be a problem. Can you elaborate more on your performance issues?
In real life people do a lot of O(nˆ2) code without realizing, and usually it's just some unnecessary loop inside another loop. I want to know that you care about some things.
Come work for a Brazilian company to see the that we have mediocre people everywhere.
If you show it to your boss, it means you intend to leave if he does not match it or offer some other perks. It's not forcing anything, it's negotiating.
Still on chapter 2, but really enjoying it. Instant buy for me.
Thanks for your effort.
> There are definite degrees to this. Agree. The question is, does OOP leads to more buggy code? Maybe yes, so we ban OOP? Because that's the sentiment I get whenever someone is against it. In your example, is it ok allocating a new object every time? If you can't afford to do it, what do you do?
> Why do you believe that's the reason why? I think in terms of proportions. For example, if you have 80% of all code written is OOP, chances that you'll find a bad OOP is greater than finding bad code in any other paradigm.
What if people learn programming using FP or DOP? There would be less buggy code? I don't know, but I think in the end, OOP would become the popular choice because, in my opinion, it fits very well the way we think about our world and we would end having this same conversation.
I believe people dislike OOP because the vast majority of code is written using OOP. If everything were written using data oriented programming or whatever, people would have the same reaction as they have regarding OOP.
I know rust, but I haven't used async apart from their tutorial, so I'm really curious about what are your thoughts about it.