pakLebah / paklebah.github.io

This is Mr Bee's aka Pak Lebah's blog on GitHub Pages.
0 stars 0 forks source link

[Named Parameter for Pascal] comments. #2

Open pakLebah opened 6 years ago

pakLebah commented 6 years ago

Write your comment about my Named Parameter for Pascal post below. Thank you. 😊

MarkowEduard commented 5 years ago

Hi Pak This is a valuable proposal. You may know that Ada amongst others provides such kind of mechanism - see http://cui.unige.ch/isi/bnf/Ada95/parameter_association.html. Pascal as designed by Wirth Niklaus has grown into a huge language. But basically the ideas of Wirth aim for simplicity. Therefore it is better not to add alternatives for achieving the same result. If parameter association is introduced it has to be mandatory not optional. I also dislike optional parameters - especially in combination with function name overloading because it make reading and understanding the program text harder. Kind regards Eduard