Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
Frost, wolf of winter πŸΊπŸŽ„:therian:I

icewolf@masto.brightfur.net

@icewolf@masto.brightfur.net
About
Posts
6
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • @IceWolf@masto.brightfur.net @roxy@chitter.xyz @sodiboo@gaysex.cloud js calls that an "array" bevause thats what it is : a contiguous slice of same size values (pointers) , pointing to arbitrary values .
    Frost, wolf of winter πŸΊπŸŽ„:therian:I Frost, wolf of winter πŸΊπŸŽ„:therian:

    @fiore @lizzie @sodiboo I mean, I don't see why

    ["w", "o", "l", "f", "🐺"]

    wouldn't be an array?

    (see: Ruby's String.chars method)

    Uncategorized

  • @IceWolf@masto.brightfur.net @roxy@chitter.xyz @sodiboo@gaysex.cloud js calls that an "array" bevause thats what it is : a contiguous slice of same size values (pointers) , pointing to arbitrary values .
    Frost, wolf of winter πŸΊπŸŽ„:therian:I Frost, wolf of winter πŸΊπŸŽ„:therian:

    @fiore @lizzie @sodiboo The point being, there's a difference between "contiguous C-style array" and "array". You can implement arrays using the C kind of array, but you don't have to, and if you do it another way you might wind up with a shitty array, but it'd still be an array, just a shitty one.

    Uncategorized

  • @IceWolf@masto.brightfur.net @roxy@chitter.xyz @sodiboo@gaysex.cloud js calls that an "array" bevause thats what it is : a contiguous slice of same size values (pointers) , pointing to arbitrary values .
    Frost, wolf of winter πŸΊπŸŽ„:therian:I Frost, wolf of winter πŸΊπŸŽ„:therian:

    @lizzie @fiore @roxy @sodiboo It may not be a hashmap, but it is a dictionary.

    Uncategorized

  • @IceWolf@masto.brightfur.net @roxy@chitter.xyz @sodiboo@gaysex.cloud js calls that an "array" bevause thats what it is : a contiguous slice of same size values (pointers) , pointing to arbitrary values .
    Frost, wolf of winter πŸΊπŸŽ„:therian:I Frost, wolf of winter πŸΊπŸŽ„:therian:

    @lizzie @fiore @roxy @sodiboo I don't know if any have ones that aren't constant time. But whether they're constant time or not is an implementation detail. Whether it's an array or not is how you use it, right? Why would it stop being an array if you change how it's implemented? That wouldn't make any sense.

    Uncategorized

  • @IceWolf@masto.brightfur.net @roxy@chitter.xyz @sodiboo@gaysex.cloud js calls that an "array" bevause thats what it is : a contiguous slice of same size values (pointers) , pointing to arbitrary values .
    Frost, wolf of winter πŸΊπŸŽ„:therian:I Frost, wolf of winter πŸΊπŸŽ„:therian:

    @fiore @roxy @sodiboo it's like, if you start with C arrays,

    it's down to what you consider important, the "constant time access" part or the "array of items" part or whatever. For y'all it seems to be the "constant time access" part. For me it's the "array of items" part.

    Uncategorized

  • @IceWolf@masto.brightfur.net @roxy@chitter.xyz @sodiboo@gaysex.cloud js calls that an "array" bevause thats what it is : a contiguous slice of same size values (pointers) , pointing to arbitrary values .
    Frost, wolf of winter πŸΊπŸŽ„:therian:I Frost, wolf of winter πŸΊπŸŽ„:therian:

    @fiore @roxy @sodiboo I mean, some people (and languages) call dictionaries "dictionaries". Some call them "maps". Some even call them "hashes" (????).

    It's all still the same type of thing.

    "my definition of an array is the ONE TRUE DEFINITION and every other programming language is WRONG!"..uh, no not really.

    Uncategorized
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups