Skip to content

Comment on Marketing the Odin programming language is weirdparent

Comments

I’m not sure I understand your comment, wasn’t the point that

    int a = 3 ** int_ptr;
Calculates 3 times (*int_ptr)?

It was a confusion between ** used as the rise to power operator in languages like Fortran or Python which just validated the grandparent point of confusing syntax for people not used with C that come from other programming languages.

In Python and Fortran for example:

    3 ** 2 = 9
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.