Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 3 months ago

pretty small subtotal.

programming.dev

message-square
26
fedilink
151

pretty small subtotal.

programming.dev

irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 3 months ago
message-square
26
fedilink
  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    33
    ·
    3 months ago

    Repeat after me: “Don’t use floating-point numbers for currency values.”

    • swab148@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      ·
      3 months ago

      I still wanna see someone get naneinf money in Balatro

      • SuperSpruce@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        With the cryptid mod you probably can

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Instead, use arrays.

      int[] total = […itemsPriceArrays.flatten()];
      

Software Gore@programming.dev

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

A community for posting software malfunctions

Deliberately bad software or bad design is not software gore, it must be something unintentional

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it



Visibility: Public
globe

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

  • 1 user / day
  • 63 users / week
  • 73 users / month
  • 296 users / 6 months
  • 1 local subscriber
  • 1.22K subscribers
  • 65 Posts
  • 470 Comments
  • Modlog
  • mods:
  • irelephant [he/him]@programming.dev
  • irelephant [he/him]@lemmy.dbzer0.com
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org