Liste des Groupes | Revenir à cl c |
On Wed, 28 Aug 2024 14:17:49 -0000 (UTC), Blue-Maned_Hawk wrote:its not much about allowing to define operators - but about the fact C lacks some
>I personally hate all operators.>
Operators are great. They’re popular in maths because they avoid
parenthesis clutter, leaving the structure of the expression clearer.
>
Fun fact: Python’s operator precedence rules differ from C’s ones in one
subtle little way, that actually reduces the need for parentheses in real-
world code.
>
While Python and C++ let you define new overloads for standard operators,
very few languages allow you to define entirely new operators. Algol 68
did (from a limited character set). You can kind of simulate it in Python,
too.
>
Les messages affichés proviennent d'usenet.