Comment

Comment by danielvf

There is a very large crypto currency project, holding 9.3 billion dollars, that believes that variable names should be mostly meaningless, and furthermore that all nouns should be three letters long, and all verbs four. Here's the start of the method "frob()", from the file "vat":

        Urn memory urn = urns[i][u];
        Ilk memory ilk = ilks[i];
        // ilk has been initialised
        require(ilk.rate != 0, "Vat/ilk-not-init");

        urn.ink = add(urn.ink, dink);
        urn.art = add(urn.art, dart);
        ilk.Art = add(ilk.Art, dart);

        int dtab = mul(ilk.rate, dart);
        uint tab = mul(ilk.rate, urn.art);
parent danielvf 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton