Lemmy - RazBot
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish ·
edit-2
3 months ago

The infamous "if loop" actually exists

discuss.tchncs.de

message-square
30
fedilink
184

The infamous "if loop" actually exists

discuss.tchncs.de

kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish ·
edit-2
3 months ago
message-square
30
fedilink

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    Can it hurt you, though? My guess would be every sane compiler and interpreter optimizes this.

    • brian@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      the codebase readability certainly suffers, and this isn’t the only case of shenanigans like this

Programmer Humor@programming.dev

programmer_humor@programming.dev

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.6K users / day
  • 4.68K users / week
  • 9.33K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.37K Posts
  • 46.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org