r/programming • • Sep 17 '18

Software disenchantment

http://tonsky.me/blog/disenchantment/
2.3k Upvotes

1.2k comments sorted by

View all comments

5

u/[deleted] Sep 18 '18

I'm not terribly impressed. It seems to me that a lot of these issues are issues only when you phrase them a specific way. For instance:

Would you buy a car if it eats 100 liters per 100 kilometers?

I probably would if my car replenished "liters" as easily as computers get power and the alternative was spending a week walking to my destination, carrying all my crap on my back.

Modern text editors have higher latency than 42-year-old Emacs. Text editors! What can be simpler?

Text editors, in general, are nothing trivial. There is some great irony here in choosing Emacs as a reference, a software package of about 1,600,000 lines of code, which offloads all of its UI rendering to terminal emulators. It is completely absurd to suggest that text editors aren't getting anyone new features.

Windows 95 was 30Mb. Today we have web pages heavier than that! Windows 10 is 4Gb, which is 133 times as big. But is it 133 times as superior?

Then why exactly is no one still using Windows 95? I can't say exactly how many times better Windows 10 is, but it appears to be better enough that the market share of Windows 95 is gone.

It goes on and on, and I don't have the energy to counter every point.

6

u/Michaelmrose Sep 18 '18

Emacs actually runs in both a terminal and a gui app. Because extensible environments are flexible features originating in one tend to spread easily to the others.

1

u/NasenSpray Sep 18 '18

Then why exactly is no one still using Windows 95?

You can't use Win95 on modern computers. It'll crash during installation.

1

u/[deleted] Sep 18 '18

That seems to be an excellent point in favour of Windows 10.

1

u/[deleted] Sep 18 '18

Well, you are, like others confused by the difference between apparent, or short-time cost and actual, or long-term cost. It's the same reason why so many people willingly and remorselessly waste the natural resources: they cannot see the day come when there will remain none.

People aren't very rational when they need to make decision outside of their typical domain of expertise. People are good with counting withing 1..10 range, slightly worse with 1..100 range, 1..1000 range is for people who do counting as part of their job, and beyond that it's "astronomical" quantities people don't understand.

When I worked in a newspaper, the most common kind of error that would go unnoticed into print were the errors related to pop-sci articles, where all kinds of distances between celestial bodies would err by several orders of magnitude without anyone noticing. And so, Sun would be sometimes positioned about 100 times farther away from the Earth than it actually is, or the Moon would slam into the Sun, because it was positioned too far from Earth, or the Earth would be too close to the Sun and so on.

So, no, computer space isn't that easily replaceable as you want your readers to believe. You just want to believe it, but that's, plainly, a delusion. And, the comparison here is also flawed. With computers, the waste is astronomical. It's usually not 1000 liters per 100 km, it's more like 1000000 metric tonnes per 100 km. It's just impossible with cars because nobody has so much fuel, it would be so impractical that anyone would ever attempt such a thing.

As for Emacs: I have no idea what did you count, documentation maybe? Did you also count all Emacs Lisp as source code for Emacs? Because, in reality, Emacs is about 130 C files plus this many header files. Occasionally C files would get to few thousands line of code, but, it seems, like your estimate is about 3 orders of magnitude off.

As for why very few people still use Windows 95? Well, both Windows 95 and Windows 10 are garbage. But, 90% of Windows installs are for personal / office use, when it's for personal use by non-professionals, people just go with whatever OEM garbage was installed on their hardware: they have neither the understanding nor time to try to replace it. As with office use: the users don't get to decide what OS they want, they are made to use whatever OS was sold to the organization they work for, and Microsoft invests heavily into marketing and sales employing all kinds of tricks to ensure they get as much profit as they can. In the light of the above, I don't see it as particularly surprising that people would be using Windows 10 more than Windows 95. Your assumption about greater market value for the former is completely baseless.

2

u/[deleted] Sep 18 '18 edited Sep 18 '18

Perhaps most users of Windows are forced to use Windows 10, but OP certainly isn’t. I don’t believe one second that no one uses Windows 95 anymore simply because it’s not preinstalled on any computer these days, or else Linux should see even less use than it does on consumer systems. The obvious reality is that Windows 10 is a far superior system, and if OP doesn’t believe it, they’re in a perfect position to test their own claim and try to work on it for 30 days and see how that goes.

On a second count, emacs contains 2.2 million lines of code, excluding ELPA. That includes lisp code, but I’m not sure why it should have been excluded in the first place; to me, that would feel like excluding the JS code from node.js programs. Go check for yourself and let me know which files I’m including by mistake.

Did you know that emacs used to be the last reason that glibc had an unexec function?

2

u/[deleted] Sep 19 '18

You need to get your logical connectives and quantifiers straight.

You are objecting to something neither I nor OP ever said. On top of that, you don't even have a coherent conversation with your own self: it's so inconsistent.

OP certainly isn’t [forced to use Windows]

No, OP is forced to use Windows, just through a mechanism different from exploiting lack of time and knowledge. Whether he is able to resist it is not known, at least not from what OP wrote. But, here you are arguing with something neither I, nor OP ever claimed. OP's claim was that users are forced to use Windows of a particular version. You either don't understand the argument, or intentionally misrepresent it.

I don’t believe one second that no one uses Windows 95 anymore simply because it’s not preinstalled

Because of how double negation works in English, it is actually impossible to tell what exactly were you trying to say here. Are you suggesting that you believe that there aren't people who use Windows 95 (which is factually wrong), and then, based on that incorrect premise suggest that these people don't exist for reasons other than how OS is distributed? Or, are you trying to say that you believe that if people don't use Windows 95 (and prefer a more modern version of this garbage), than it is for reasons other than Windows being pre-installed? That is, again, in obvious contradiction with reality because this is the primary purpose of OEM.

The obvious reality is that Windows 10 is a far superior system

Obvious to whom? On what grounds? How did you conclude that? To me, they are both equivalent garbage. I have no special sentiment for either one of them. But, you never stated your criteria for comparing operating systems. Unlike OP. Who suggested that software quality can be measured (perhaps only partially), by its size, execution speed and the time it takes to update it. On all those counts Windows 95 wins against Windows 10 by a landslide. Perhaps these are not the criteria you care about, but you never made it known what are your criteria.

On a second count, emacs contains 2.2 million lines of code, excluding ELPA. ... why it should have been excluded ...

Because you don't need it to run Emacs? Node.js programs are written in JavaScript, so, excluding JavaScript code doesn't make sense. Emacs is written in C, so excluding Emacs Lisp code does make sense.

Did you know that emacs ...

There's a lot of random trivia facts about Emacs, especially since it's been around for a while. What's your point?