lemmy.dudeami.win
  • 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
52
fedilink
7

Whitespace

programming.dev

JPDev@programming.dev to Programmer Humor@programming.dev · 1 year ago
message-square
52
fedilink
  • Ferk@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    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
      0
      ·
      1 year ago

      That’s because C was designed by a fool.

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

        The fools who created Unix

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

          And C!

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

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

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.

  • 2.08K users / day
  • 4K users / week
  • 7.95K users / month
  • 19.9K users / 6 months
  • 1 local subscriber
  • 24.9K subscribers
  • 1.4K Posts
  • 44.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org