halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected]English •
edit-2
5 months ago

The infamous "if loop" actually exists

discuss.tchncs.de

message-square
29
fedilink
177

The infamous "if loop" actually exists

discuss.tchncs.de

@[email protected] to Programmer [email protected]English •
edit-2
5 months ago
message-square
29
fedilink

  • @[email protected]
    link
    fedilink
    39•
    edit-2
    5 months ago
    int main() {
        useless:
        int x = 10;
        if (1) {
            goto useless;
        }
    }
    
    • @[email protected]
      link
      fedilink
      25•5 months ago

      Yea, I saw C style and was disappointed when it didn’t abuse gotos.

    • @[email protected]
      link
      fedilink
      6•5 months ago

      This is the real way!

Programmer [email protected]

[email protected]

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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
  • 857 users / day
  • 3.51K users / week
  • 8.61K users / month
  • 19.1K users / 6 months
  • 24.6K subscribers
  • 1.53K Posts
  • 55.2K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org