Re: load_map in map.e - unstructured programming example.
- Posted by jimcbrown (admin) May 08, 2014
- 1440 views
5 Conclusion
It seems to me the writer of this procedure was more taken with the cleverness of nested while with entry loop than with any integrity the program might have.
The latter is more 'picking-on' than any direct criticism of code could be.
I think it's a legitimate way to criticize something.
I think it's a valid point. I know I've noticed times when I've thought some language feature / routine would be cool to use somewhere, but eventually realized that an apparently less elegant or clever way was actually better. I'm sure there are places where I haven't noticed that in my own code.
I'd agree in general, but in this specific case that conclusion is actually unwarranted. None of the points brought up by gimlet have anything to do with the use of 'entry'.
I don't think I wrote the load_map() stuff, and I haven't spent the time or energy to see if I agree with gimlet, but
IIRC it was Derek.