home - all | technology - lemmyshitpost - news - politics - microblogmemes - comicstrips - memes - onehundredninetysix - asklemmy - world - programmer_humor - politicalmemes - fuck_ai - games - memes - pcgaming - nottheonion - cat - privacy - linuxmemes - more ยป
log in or sign up | preferences
thelemmy.club site icon
ArmchairFilosopher@alien.top
  • overview
  • ArmchairFilosopher

    ArmchairFilosopher@alien.top
    joined 3 years ago
    sorted by: new top controversial old
    what does it mean ๐Ÿ’€ in c/apple@hardware.watch
    [โ€“] ArmchairFilosopher@alien.top [B] 1 point 3 years ago

    Swift (used for Apple devices) has them (see the Integers section):

    https://docs.swift.org/swift-book/documentation/the-swift-programming-language/thebasics/

    So it was actually written in a language that has them...

    C# has them (goes without saying)

    Java doesn't seem to.

    This is still clearly far from "virtually all."

  • permalink
  • fedilink
  • source
  • parent
  • context
  • what does it mean ๐Ÿ’€ in c/apple@hardware.watch
    [โ€“] ArmchairFilosopher@alien.top [B] 1 point 3 years ago (7 children)

    Why use a signed integer for something strictly non-negative (ignoring bugs ofc)?

  • permalink
  • fedilink
  • source
  • parent
  • context
  • lemmy
    0.19.21
    mlmym (mschae)
    26.4.1