Lemdro.id
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 2 years ago

To type or not to type ?

sh.itjust.works

message-square
26
fedilink
448

To type or not to type ?

sh.itjust.works

Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 2 years ago
message-square
26
fedilink
  • voxel@sopuli.xyz
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    2 years ago

    tbh c/c++ type system is super fucked up
    What the fuck is unsigned long long int just call it u64

    • Johanno@lemmy.fmhy.ml
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      2 years ago

      Well it isn’t always 64 bytes. Some architectures differ.

      • darcy@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        ·
        2 years ago

        usize then

    • akari@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      you can just use unsigned long long (drop the int) or, if it bothers you that much, uint64t but keep in mind that yhe size of unsigned long long may vary depending on the architecture

    • socsa@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      deleted by creator

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 364 users / day
  • 1.85K users / week
  • 2.54K users / month
  • 10.1K users / 6 months
  • 87 local subscribers
  • 35.7K subscribers
  • 1.7K Posts
  • 36.9K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • UI: 0.19.8
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org