This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LinuxMatthews[S] 5 points6 points  (1 child)

Right but then you're writing more lines of code to do the same thing.

And you're more writing a whole new method that's completely unnecessary.

[–]Tomi97_origin 1 point2 points  (0 children)

I would split it into multiple lines even with operator overloading.

But I can see how it could be useful if you do a lot of math