isEven(0) ->
true;
isEven(Num) ->
isOdd(Num-1).
isOdd(0) ->
false;
isOdd(Num) ->
isEven(Num-1).
- 0 Posts
- 337 Comments
FiskFisk33@startrek.websiteto Programmer Humor@programming.dev•I got to avoid memory management for quite some time7·30 days agoit is good to learn C, even if you’re never gonna touch it again. It teaches you what other languages abstract away.
FiskFisk33@startrek.websiteto Uplifting News@lemmy.world•Over 450 Diablo developers at Blizzard have unionizedEnglish12·1 month agoThey’re not ionized anymore!
FiskFisk33@startrek.websiteto Programmer Humor@programming.dev•We don't talk about IPv519·2 months agofun fact, the RFC introducing NAT calls it a “short-term solution”
FiskFisk33@startrek.websiteto Comic Strips@lemmy.world•Cutting Out the Middleman (by Jen Sorensen)3·2 months agofair point, but to get there you must go to the comments to begin with, which I believe might be less likely you do when you don’t have something to say.
FiskFisk33@startrek.websiteto Comic Strips@lemmy.world•Cutting Out the Middleman (by Jen Sorensen)3·2 months agoon the other hand, there is generally not much to discuss if you have an agreeing position. right?
“vertically challenged” hahahah
What did you think we had encyclopedias for?!
FiskFisk33@startrek.websiteto No Stupid Questions@lemmy.world•After Israel and USA's bombing, wouldn't any supposed nuclear bombs go off if there were any?1·3 months agoI would presume so, yes.
FiskFisk33@startrek.websiteto No Stupid Questions@lemmy.world•After Israel and USA's bombing, wouldn't any supposed nuclear bombs go off if there were any?26·3 months agoNuclear bombs are extremely stable when not armed. If you blow one up with external explosives it will just break.
wait, does windows jit compile C++ ??
FiskFisk33@startrek.websiteto Programmer Humor@programming.dev•I'm gonna refactor later.181·5 months agobut it removed half the point…?
i know this is a joke, but i find it quite interesting those two words have completely different etymologies.
Grave as in burial site comes from an old proto indo european word for “dig”, while grave as in serious comes from french.
I mean, sure, you won’t stay alive for very long with a stopped heart.
I meant like, when someones heart stops and gets restarted again with cpr or a defibrillator or something. People often call that being dead, and coming back.
https://www.npmjs.com/package/is-even
don’t look at the weekly downloads if you are faint of heart.