3 ms·
>I'm confused by this sentiment. How efficient is a developer when producing things that are incorrect? How is this confusing? If it takes you 2 weeks with la
by coldtea 8y ago
>I'm confused by this sentiment. How efficient is a developer when producing things that are incorrect?
How is this confusing?
If it takes you 2 weeks with language X to write a sloppily written app, that works 99% of the time but has some errors -- and 2 months with Rust to write a version of the same app that has no errors, what you'd you prefer?
Ever heard of "time to market"? What good it would be if you get it 100% right, and your competitor has their app already out, and captured all your potential customers?
And even if time to market is not involved, would you really care for some occasional errors, if you get the majority of the functionality you want working just fine?
If you build pacemakers and airplanes, the answer is yes.
If you build regular websites, apps, and scripts, the answer might very well be no.
That's the case, just the numbers (2 weeks, 100% etc) are made up.
- steveklabnik 8y agoYep. This is also why this is such a hard discussion to have: there’s no good way to get those numbers, and they vary by developer. What if that two months drops to three weeks, because you’ve put in the time to learn Rust better? What if that time to learn is a year? What if that 1% failure leads to six more months of developer time to fix? It’s a large, multi-variable problem. This is why it’s great that we have so many languages!
- naasking 8y ago> What good it would be if you get it 100% right, and your competitor has their app already out, and captured all your potential customers? A constant stream of bugs have driven customers away before too, so if you're waiting in the wings with a bug-free/verified version of your competitor's program, you have a real shot at stealing their customers. First mover advantage is important, but so is quality if marketed properly.
- mercer 8y agoCould you name some examples? I admit personally I'm inclined to agree with coldtea. But one example where I think the stability/quality of the software really did play an important role is WhatsApp. I remember when there were a bunch of competing services, but WhatsApp was the only reliable one. As far as I can tell there was nothing else that WhatsApp did better, and yet they 'won' (at least in Holland/Europe).
- robocat 8y agoA contentious example: Windows? Microsoft had a features-first mindset, which led to a Swiss-cheese-manifold of bugs and security flaws. The result was that you couldn't install anything without risking a virus. Businesses went with browser based solutions to avoid that risk.
- naasking 8y agoWhatsApp is a good example. Also Skype, Netscape, IE. All dominant at one point and eclipsed due to bugs and poor management.
- dxhdr 8y ago> one example where I think the stability/quality of the software really did play an important role is WhatsApp The interesting part is, WhatsApp is built using a dynamically-typed language whose guiding principle is to "let it crash." Your code will have bugs so plan accordingly.
- andrekandre 8y agoas you say, the other thing is: what is “correct” today won’t necessarily be “correct” tomorrow if it takes 2x or 3x to get to the next iteration then what’s the point... (again, assuming we aren’t talking pacemakers etc) just my feeling, but these low level languages that try to have it both ways (working in the bit/byte realms, but also super high correctness) aren’t suitable for the realm of high iteration.... instead some high level language amenable to rapid iteration but still have high reliability should instead be built on top of something like rust but not necessarily _in_ it... [edit] forgot to mention parent post
- camgunz 8y agoYeah you're right, and it's almost certainly the chief constraint most software engineers labor under. But this is a classic race to the bottom, and regulation is coming. The days when you could write an app that takes a person's information and stores it negligently are drawing to a close. Given sufficient liability penalties, the economic question will shift away from "what if we're late" to "what if it's broken", and that's when you'll start seeing a shift away from languages like C/C++ (and probably also languages like Python and JavaScript) towards languages/platforms/tooling that provide strong, indemnifying guarantees.
- coldtea 8y agoThat would be also a great way for the large companies like Google (who can afford to take their time and pay fines when they need) to eliminate all smaller shops -- by extending those penalties in many places where it's not needed (eg. no personal data involved). Like BS regulations in cheese, wine making etc, has eliminated small regional producers (once dominant) in favor of large conglomerates -- at least France is somewhat holding up.
- camgunz 8y agoYeah it's kind of a quandary with regulations: larger organizations have the resources to comply with them while smaller ones don't. There are things you can do to work around it though (though admittedly they're rarely employed): - Exempt smaller organizations. Maybe the classic example is the ACA in the US; if you're under a certain number of employees you don't need to provide health care. Obvious pitfalls, but still an option. - Provide subsidies. This isn't exactly going to let a 10 person shop compete with someone like Airbus, but it does let you do things like hire staff and purchase tools to comply with regulations. And separate from all that, it would be cool if we started enforcing antitrust legislation in the US again.
- deleted 8y ago[deleted]
- 0815test 8y ago"Time to market" is what supposedly drives most technical debt, but most people would probably argue that our problem is having too much technical debt, not too little of it. And buggy code is a sort of tech debt that's especially costly to pay down - putting out fires in production is easily 10x as expensive as fixing the same issues at their outset via more careful coding.