isEven(0) ->
true;
isEven(Num) ->
isOdd(Num-1).
isOdd(0) ->
false;
isOdd(Num) ->
isEven(Num-1).
- 0 Posts
- 11 Comments
I see what you did þere
FiskFisk33@startrek.websiteto Programmer Humor@programming.dev•I got to avoid memory management for quite some time7·15 days agoit is good to learn C, even if you’re never gonna touch it again. It teaches you what other languages abstract away.
I like to imagine it’s lazily hovering
so, when you drop an egg on the floor, you increased its entropy too much, and since entropy isn’t reversible, your dropped egg isn’t recoverable
wait, does windows jit compile C++ ??
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.
The heart beating is not a good definition of being alive in my opinion. The heart stopping temporarily doesn’t mean you died, you were just in terribly grave danger.
If a person is defined by their heart, what does that make a heart transplant?
utterly useless definition.
[citation needed]
FiskFisk33@startrek.websiteto Programmer Humor@programming.dev•Why pay for an OpenAI subscription?0·2 years agoan LLM is an AI like a square is a rectangle.
There are infinitely many other rectangles, but a square is certainly one of them
https://www.npmjs.com/package/is-even
don’t look at the weekly downloads if you are faint of heart.