minus-squareGloomy-Fix-4393@fediverser.communick.devBtoPython@fediverser.communick.dev•Ruff adds black-compatible formattinglinkfedilinkEnglisharrow-up1·1 year agosounds like you haven’t learned most of what is being taught by the greats such as Uncle Bob and his clean code talks. print() in almost every case should probably be logger.log() if it is important. comments, doc strings aside, are usually (almost always?) a “code smell”. linkfedilink
minus-squareGloomy-Fix-4393@fediverser.communick.devBtoPython@fediverser.communick.dev•Ruff adds black-compatible formattinglinkfedilinkEnglisharrow-up1·1 year agonow it just needs iSort linkfedilink
sounds like you haven’t learned most of what is being taught by the greats such as Uncle Bob and his clean code talks.
print() in almost every case should probably be logger.log() if it is important.
comments, doc strings aside, are usually (almost always?) a “code smell”.