6 ms·
What really disturbs me is this comment: ,,But no one said fs.promises.readFile should perform similarly to fs.readFile '' I'm happy that it was downvoted at
by xiphias2 6y ago
What really disturbs me is this comment:
,,But no one said fs.promises.readFile should perform similarly to fs.readFile ''
I'm happy that it was downvoted at least, but there should be a better way to set expectations for excellence in development.
- arghwhat 6y agoI fear that the individual might even be serious...
- ncallaway 6y agoIt seemed pretty clear that it's a joke to me, with the thinky-face emoji after it, but that's just my reading of it.
- arghwhat 6y agoLast I checked that wasn't an indicator for sarcasm, but maybe GitHub emoji culture has just gotten away from me.
- bryanrasmussen 6y agoI don't know, I might say it as a joke, therefore seeing it said I assume they say it in the same manner as I would with the sound of innocent wonder that can be used to denote sarcasm. I think as a general rule it is good to assume the best, even though I myself might not always be able to do so because of various limitations of understanding.
- CyberRabbi 6y agoWell his point is this technically isn’t a bug because comparable performance to fs.readFile was never guaranteed as part of the API contract. I don’t think his statement implies we generally ought not to expect excellence nor that effort shouldn’t be spent on improving things. I think his point is valid even if slightly tongue in cheek. Bugs are defined by the contract / specification not wishful thinking.
- xiphias2 6y agoIt wasn't categorized as a bug, but as a speed issue. Do you categorize thinking that JSON parsing takes at most O(n log n) time as wishful thinking as well? It's humanly impossible to code for contract, that's why generally it's important to strive for no surprises in an API. This is the only way to build more and more complex software over time.
- mr_toad 6y agoThis is how enterprise software is written. Performs exactly as specified, and completely unusable.
- mrtweetyhack 6y agoand too lazy to give a shit
- CyberRabbi 6y agoIt’s also how great software is written. Assuming a subcomponent behaves in a way that it does not claim to isn’t a recipe for functional software, enterprise or otherwise.
- hmillison 6y agoAs engineers, we should be capable of critical thinking beyond this. Otherwise you will end up with barely working enterprise software like the sibling comment mentioned. If this is how you do your work, you are asking for a computer to replace you! We should aspire to be better than this. It’s crazy to me that people take massive salaries and expect other people to spoon feed their tasks to them.
- carlmr 6y ago>It’s crazy to me that people take massive salaries and expect other people to spoon feed their tasks to them. I remember being one of two software engineers working on a project in a small company. We were cooperating with two bigger companies delivering other parts of the system. I kept asking myself: "These guys have hundreds of well paid engineers working on this, and they never deliver! Are they sabotaging the project?". In the end we delivered the finished prototype and the customer ran a 48h acceptance test, their parts fizzled out almost immediately, while ours just kept running. It took me a few years and joining a bigger company to notice that thinking about what you're doing is not expected in bigger corporations, where everything is bureaucratized. Also if the company is big enough it can shift the deadlines set by its customers. It drove me near madness whenever a colleague said something "wasn't their job". I never heard such an attitude before, and these people were paid twice as much as in my previous company. I still, to this day, hope that a lot of these people get replaced by computers. Defective programs can at least be improved.
- fireattack 6y agoIt doesn't disturb me unless he/she is a core dev of node.js. I mean, anyone can say anything they want. Not to mention it's likely a joke.
- docmars 6y agoI agree -- and I'd venture to say that the sentiment could be alluding to the fact that mistakes and things overlooked in software development are inevitable. Don't take this for defending him, but it's in the realm of possibilities ¯\_(ツ)_/¯
- boring_twenties 6y agoI've posted about this before, but I know someone whose coworkers actually tried to defend themselves with "not leaking memory wasn't in the requirements," in a meeting with several managers, the subject of which was the memory leak.
- josephg 6y agoI don't know whether its true but there's an old story of engineers a few decades ago working on the guidance system for a missile. The programmers didn't bother to free() any of their memory - instead they just calculated the maximum amount of RAM their program could consume while the rocket was in the air, doubled it, then installed that much ram in the rockets.
- fomine3 6y agohttps://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98125 https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98...
- boring_twenties 6y ago> the ultimate in garbage collection is performed without programmer intervention. The author owes me a new keyboard.
- hjek 6y agoThanks for the link. Am I the only one who is terrified by reading an "amusing story" about "on-board software for a missile"? The amusement sort of requires us to completely ignore the individuals being blown to pieces.
- tomgp 6y agoI mean writing software for missiles kind of requires that mind set anyway
- boring_twenties 6y ago
- deleted 6y ago[deleted]
- artursapek 6y agoExcellence? This is NodeJs we’re talking about.
- lucideer 6y agoSarcasm in text can be hard to discern, but that looks like sarcasm to me. Then again, 206 downvoters didn't seem to think so (unless their reason for downvoting was objection to such a low form of wit).
- cutemonster 6y agoSarcasm -- yes maybe, especially with the thoughtful smiley Now when I think about it > such a low form of wit I think it's fun :-)