I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
Your code in #4 shows off the dangers of refactoring without tests, though. You change ! .. <= into >= where it should just be >. I can't count the number of times I've made that mistake "fixing" other people's code.
Well, I could count it, but I'd probably be off by one...
Your code in #4 shows off the dangers of refactoring without tests, though. You change
! .. <=
into>=
where it should just be>
. I can't count the number of times I've made that mistake "fixing" other people's code.Well, I could count it, but I'd probably be off by one...
good catch! Will update the gist, many thanks!