News for hackers. Stuff that matters.
Re:Yoda conditions by stochastic_monk on Thursday August 15, 2019 @10:12AM (#20705358)
It’s traditional to build these kinds of loops in C, e.g.:

    int c;
    while((c = getopt(argc, argv, argstr)) >= 0) {...}
I’d say it’s acceptable, and Python is adding syntax so it can mix assignments and checks.

There are no comments on this comment yet.