Skip to content

Comment on Marketing the Odin programming language is weirdparent

Comments

See, it is confusing, because the code doesn't compute a power.

It's a multiplication with the value pointed to by int_ptr, e.g. rewritten to make more sense:

    int a = 3 * (*int_ptr);
...or in Odin it would look like this (I think, haven't used Odin all that much yet):
    a := 3 * int_ptr^
AboutSource Built by g1lg1l

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