The menstrual cycle is like conditional loops in programming

High-level language pseudocode below:

While (!fertilized) {
flush();
Luteal 15 days;
Follicular 15 days;
onEvent(fertilize) {
fertilized = true;
conceive();
}
}

Or something like that. As for Assembly or machine conditional branch pseudocode…

flush()
Luteal 15-days;
Follicular 15 days;
Branch to <address of the beginning of code> if not fertilized. Otherwise Concieve.

Note that “flush()” refers to when a woman has her period.

Estrus cycle in most mammals would be like a while loop similarly to the above. While the females of most mammals have the estrus cycle, humans and a few non-human primates and a few cetaceans have concealed ovulation.

Leave a comment

Design a site like this with WordPress.com
Get started