I don't quite understand why 'true mathematicians' fail to get the point. Any ideas?
A Parable by Dijkstra (1973)
21–30 of 107 posts
Re: A Parable by Dijkstra (1973)
#22I thought the moral was going to be that accommodating toiletless cars cost more than simply building all cars with toilets.
Re: A Parable by Dijkstra (1973)
#23Moral: The engineer who conceived of the innovation was forgotten and not compensated for it, and the train owners made the bulk of the money. Sounds like software engineering to me!
That, plus a manager inventing and enforcing specific requirements for dubious reasons, causing trouble in the company, and - as 'jancsika points out in their comment - quite likely introducing many new problems into the product.
Re: A Parable by Dijkstra (1973)
#24I thought the moral was going to be that accommodating toiletless cars cost more than simply building all cars with toilets.
A lot of times when we try to build for speed, the real bottlenecks are no where we think they'd logically be.
Re: A Parable by Dijkstra (1973)
#25Moral: The engineer who conceived of the innovation was forgotten and not compensated for it, and the train owners made the bulk of the money. Sounds like software engineering to me!
And the one guy who would have thought of this, they passed on three months before because he wanted 10% more in salary.
/cynicism
Re: A Parable by Dijkstra (1973)
#26When the shunting person persuaded everyone to imagine the two-car units as if they were symmetrical, the passengers still complained. Toilets can break, and when they did the doubly unlucky passenger would be forced to walk four car lengths to get to the nearest toilet. Also, those helpful arrows would be guiding the passenger the wrong direction for two of those car lengths. So we have comments that go out of sync…
I just want to elaborate on this to show which assumptions you are making. There are two ways to make a paired unit: --+ and -+-.
In your scenario I think you assume the first. The end of the train is thus ...+----+, since you mention the second last car's orientation being reversed. The +'s represent toilets. Then, what you are saying is to consider a passenger located at the ^ symbol: ...+--^--+. In this configuration, your observation makes sense.
I do think that a more practical solution is to work only with (-+,-) pairs. The symmetry that Dijkstra talks of is then that (-+,-) and (-,+-) are equivalent for the purposes of the problem. Then an end of a train would be: ...-+-+-. This is then the "extra few feet" that he talks of.
Re: A Parable by Dijkstra (1973)
#27In that respect programming is often as much an art as it is a practice.
Re: A Parable by Dijkstra (1973)
#28Is Haskell still a preferred introductory language to enter the Functional Paradigm with? Or do you think other alternatives do a better job at that than Haskell ? I'm learning Scheme with the SICP Book ATM, and am confused where to go next to get better at Functional thinking(and programming).
Haskell. If programming languages were mountains, Haskell is Everest. Conquer it and other languages can be mastered in your sleep. Go further.