Why is commercial software so crap? I'm not talking about Excel or Microsoft SQL Server. I'm talking about the lowly NOTEPAD. Why are the writers of notepad / WordPad so stupid?
I've got a relatively large 41 MB .txt file - tab separated values...
It takes forever to load into memory...
Question 1: why load the entire thing into memory? Surely this would be the 1st attempt of a quick-and-dirty computer 101 student. Who
would then get a barely passing grade.
Then it takes roughly 30 seconds to do a paste of a 6-character string about 1/2 way in the file...
Funny, I can type in the 6 characters faster than the "paste" operation. No delays whatsoever with each keystroke. Something seriously wrong there.
Question 2: Why was it so poorly written as to move the entire 41 MB file, for EACH and EVERY character? I'm just guessing that's what's going on internally. Who writes crap like this? I think if I tried to do a 41 MB memcpy that many times it would still be faster than this.
When I get "about Notepad", it proudly displays a Windows 7 Professional screen. Wow, I wouldn’t be bragging about it. They could have saved face if it was credited to something like Joe's Notepad (TM), written for TRS-80 Model I, copyright 1981 or something.
I guess my rant boils down to why we accept such shoddy programming from "professionals", who no doubt get paid a whole lot more by Microsoft for their work than most of us poor slobs here do... and yet we write complicated stuff day-to-day. Not just stuff like a basic "notepad" editor.
I mean, c'mon, people. Ever heard of buffering, indexing, linked list... y'know, computer 201 !!!! before applying to work at Microsoft... or is that too much to expect.
I couldn't make a slower program unless I tried real hard to put in a lot of bubble sorts for no reason. Sheesh.
Why do we put up with crap software from the "professionals", when I'm sure many of us here on this forum could do a better job.
I am using 3.33 GHz Intel hexacore Xenon X5680 (24 virtual cores) with 4 GB RAM.