You are viewing a single thread.
View all comments

I propose a new, more threatening kind of control flow.

do {
  /* something */
} or else {
  /* you don't want to find out */
}
permalink
report
reply
8 points

It_would_be_a_shame_if(condition)

permalink
report
parent
reply
4 points

The better try-catch. More intuitive if you ask me.

permalink
report
parent
reply
3 points

It exists, kind of. Python has this construct

for item in iterable:
    ...
else:
     ...

which always puzzles me, since it depends on a break statement execution. I always have to look it up when the else block is executed.

permalink
report
parent
reply
3 points

You just made me a offer I can’t refuse. I go now to sleep with the fishes…

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 1

    Monthly active users

  • 256

    Posts

  • 842

    Comments