Which language is this? I suspect Java, but I'm not sure at a glance.
This reminds me a bit of my alternating pair approach (in C), but it's strangely lovely. Nice work.
P.S. Did you mean for y += X to have an upper case X?
y += X
X
Thank you! It's JavaScript, easiest thing for me on my phone. And I did not, thank you! I'll change it now.
I figure it could probably be made much fancier, but I'm not up for it right now!
Shoot, bonus points for typing it on mobile at all, mate. ;-)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Which language is this? I suspect Java, but I'm not sure at a glance.
This reminds me a bit of my alternating pair approach (in C), but it's strangely lovely. Nice work.
P.S. Did you mean for
y += X
to have an upper caseX
?Thank you! It's JavaScript, easiest thing for me on my phone. And I did not, thank you! I'll change it now.
I figure it could probably be made much fancier, but I'm not up for it right now!
Shoot, bonus points for typing it on mobile at all, mate. ;-)