syntax difference

bart4858 at gmail.com bart4858 at gmail.com
Wed Jun 20 07:53:49 EDT 2018


Pointers are perhaps a more technical feature. Switch and case, the latter a more general version of switch, are universal.

Repeat n times is universal. While it is trivial to implement with other constructs, it as an annoyance and distraction that is easily fixed.

Now you will probably say it is possible to do without loops at all, or without selecting from one of multiple execution paths (by using functional approaches). I suggest that such features just make life a little simpler. (And make writing an efficient interpreter a little bit easier.)



More information about the Python-list mailing list