Re: load_map in map.e - unstructured programming example.
- Posted by mattlewis (admin) May 08, 2014
- 1504 views
jimcbrown said...
gimlet said...
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 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 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 I think it's a legitimate way to criticize something.
Matt