D•Scribe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JPDev@programming.dev to Programmer Humor@programming.dev · 1 year ago

Whitespace

programming.dev

message-square
59
fedilink
295

Whitespace

programming.dev

JPDev@programming.dev to Programmer Humor@programming.dev · 1 year ago
message-square
59
fedilink
  • Exocrinous@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    5
    ·
    1 year ago

    Int *p is unreadable, unreasonable, and bad programming.

    • Ferk@kbin.social
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      edit-2
      1 year ago

      But C syntax clearly hints to int *p being the expected format.

      Otherwise you would only need to do int* p, q to declare two pointers… however doing that only declares p as pointer. You are actually required to type * in front of each variable name intended to hold a pointer in the declaration: int *p, *q;

      • Exocrinous@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        6
        ·
        1 year ago

        That’s because C was designed by a fool.

        • Aatube@kbin.social
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          1 year ago

          The fools who created Unix

          • Tja@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            And C!

        • CanadaPlus@futurology.today
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          What, could you have done better in 70-whatever?

    • Aatube@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Why so? It’s what it actually is

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: !programmer_humor@programming.dev

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.

  • 466 users / day
  • 4.53K users / week
  • 8.78K users / month
  • 17.9K users / 6 months
  • 9 local subscribers
  • 23.2K subscribers
  • 1.27K Posts
  • 40.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org