Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 3年前

To type or not to type ?

sh.itjust.works

message-square
24
fedilink
466

To type or not to type ?

sh.itjust.works

Wats0ns@sh.itjust.works to Programmer Humor@lemmy.ml · 3年前
message-square
24
fedilink
  • voxel@sopuli.xyz
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    3年前

    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
      ·
      3年前

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

      • darcy@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        ·
        3年前

        usize then

    • akari@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      3年前

      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
      ·
      3年前

      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.

  • 267 users / day
  • 595 users / week
  • 1.88K users / month
  • 5.74K users / 6 months
  • 440 local subscribers
  • 41.7K subscribers
  • 2.01K Posts
  • 40.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org