Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donuts236728y@akd5010 OK, a test :)
What are 3 different ways to solve 1 + 1? And of course, some contraints:
-base 10 number system
-using different objects/symbols to represent 1 is still the same way -
deMark4258y@allanx2000 if the input are strings then 1+1=11
Also https://www.devrant.io/rants/406036
Edit: it's technically still a solution, not necessarily the right one or what the person wanted... -
donuts236728y@deMark true but syntactically, there are no quotes and the base 10 constraint implies it's a number!
-
@allanx2000 there you go, 3 different ways of adding 1 + 1. Now, they may look silly, since you picked such small numbers....but, still was able to do it. It's ok though, you just didn't understand your own question fully (yet), as hypothesized 😉
-
But in all seriousness, this is just a way to think of issues in general. At our current jobs, our daily problems are typically harder than an addition problem. The concept just makes me make sure I understand what's going on ☺
-
donuts236728y@akd5010 thanks for responding to the challenge. I had a feeling you'd use transitivity as one of the alternate solutions.
Usually for me, I understand mostly it and brute force, then send it back to the user for "adjustments". Because the user never knows what they actually want... until they get something they can criticize.
Related Rants
!rant
Something that has probably stuck with me the most and has changed how I think about things:
"If you can't think of at least 3 different ways to approach an issue, you do not fully understand it yet."
undefined
experience
meaningful words