Skip to main content
7 events
when toggle format what by license comment
Feb 3, 2022 at 1:02 comment added puerile I can scan down the left side of the page and easily find my function names. -This alone should be reason enough to go with postfix languages
Jun 17, 2020 at 15:32 comment added Aykhan Hagverdili The C++ syntax you showed is doing something entirely different. To improve the C pointer syntax you use typedef or using in C++.
Mar 4, 2016 at 19:43 history edited Karl Bielefeldt CC BY-SA 3.0
Address closed-minded comments
Mar 4, 2016 at 10:04 comment added amon This is true for C, and the circumfix type syntax has largely been recognized to be a mistake. However, other languages imitate C or Algol and put the type before the variable name without this insane circumfix syntax, e.g. Java or C#, or even C++ without the C subset. None of these have problems with higher-order functions, e.g. modern C++ might write std::function<int(std::function<int(int x, int y)> ff, int b)> fp which has none of the ambiguities you mentioned.
Mar 4, 2016 at 1:24 comment added user40980 Are you certain that this is the answer? or is it one of many possible reasons that it uses such an approach?
Mar 3, 2016 at 23:57 comment added Robert Harvey What would the example you provided look like in the new form?
Mar 3, 2016 at 23:44 history answered Karl Bielefeldt CC BY-SA 3.0