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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

simonomi@mstdn.socialS

simonomi@mstdn.social

@simonomi@mstdn.social
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • I am NOT making a Rust replacement, but — if you could fix one* thing about Rust syntax/semantics/etc.
    simonomi@mstdn.socialS simonomi@mstdn.social

    @fasterthanlime this one is a bit tongue-in-cheek, but i think nearly every programmer/language designer has something to learn from the Swift API design guidelines. if Rust could just steal that in its entirety (and probably improve upon it!) that'd be perfect 😛

    Link Preview Image
    Swift.org

    Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.

    favicon

    Swift.org (swift.org)

    Uncategorized

  • I am NOT making a Rust replacement, but — if you could fix one* thing about Rust syntax/semantics/etc.
    simonomi@mstdn.socialS simonomi@mstdn.social

    @soc @fasterthanlime aside from clarity, being able to 'overload' on argument labels is really really nice, and Rust deals with a lot of same-method-but-with-try/mut-instead already

    Uncategorized

  • I am NOT making a Rust replacement, but — if you could fix one* thing about Rust syntax/semantics/etc.
    simonomi@mstdn.socialS simonomi@mstdn.social

    @soc @fasterthanlime by "named arguments" do you mean something akin to python-style kwargs? or maybe LSP inlay of argument names at callsites?

    a lot of the value of argument labels comes from them being manditory and chosen by the callee. i really value Swift's API design tenet of "clarity at the point of use", and even the simple aesthetic change of going from `sayHi(person)` to `sayHi(to: person)` can make a big difference IMO

    Uncategorized

  • I am NOT making a Rust replacement, but — if you could fix one* thing about Rust syntax/semantics/etc.
    simonomi@mstdn.socialS simonomi@mstdn.social

    @fasterthanlime Swift-style argument labels! IMO the most underrated feature that literally every programming language would be better off with (clearer APIs with no downside!!)

    Uncategorized
  • Login

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