S Fox wrote:It should be implied that we want a new object and that we want the same type we already specified, why write it twice.
Mark Richardson wrote:So, I sat down and created myself a personal project full of puzzlers, and hackerrank.com style solutions that I will try to solve in Java.
It began to occur to me how verbose Java is and how this was detracting from my ability to actually focus on the problem at hand.
Mark Richardson wrote:I will write/practice my problems in Python, and this will help me become a better problem-solver... a skill which will theoretically transfer over as a Java developer
Scott Shipp wrote:what if you dispensed with the languages altogether? I think you may only need a pencil and paper.
S Fox wrote:YEP!!! I just found out that the mod operator of python does not work correctly. After spending all day debugging the same section of code, I finally figured out that python has just arbitrarily changed the rules of their math operators. What a pain in the ass! This isn't operator precedence change, they went and made mod operations work differently for negative numbers. So python doesn't give the same result as every calculator on the planet let alone other languages.