CodeSOD: What Condition is This (opens in new tab)
Untodesu sends us this submission, with this comment: Literally no idea what kind of drugs the guy was taking but nonetheless we've rewritten it to be just a two-liner Well, that doesn't tell us a lot about what to expect from the code, but let's take a look. QStringList TableViewAssembly::parametersFilter(ProbePart::Type type, int pos, QList probeDesign) { QString to, from; if(pos == -1) { if(probeDesign.length() == 0) { to = "*"; from = "AutoJoint"; } else { to = probeDesign.at(0...
Read the original article