Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
piehole841322dWhat 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".
7Raiden966322dEven if what it did was sensible, the style totally invalidates it!
Fast-Nop17399322dThis is classic yo-yo code, though it takes extraordinary stupidity to do it that blatantly.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job