Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
piehole8332yWhat problem does this solve?
We got an int...
We convert that to String...
We take that, convert that from String to Integer, subtract 1, create a new Integer object unnecessarily, and then convert that Integer object to String..?
If it works, but you could simplify it and have the same functionality, it's just stupid, not "street smart".
7Raiden9312yEven if what it did was sensible, the style totally invalidates it!
This is classic yo-yo code, though it takes extraordinary stupidity to do it that blatantly.