bigzaphod,
@bigzaphod@mastodon.social avatar

In Swift, OSLog's Logger struct isn't Sendable, apparently? That seems weird. I have a logger instance on my actor, but if I try to use it in one of my nonisolated functions I get a warning when strict concurrency mode is enabled because Logger isn't Sendable. I could shut this up using @preconcurrency import OSLog but is that... I dunno... legit?

bigzaphod,
@bigzaphod@mastodon.social avatar

(I'm imagining someone outside of the Swift ecosystem trying to parse this last toot... lol..)

masukomi,
@masukomi@connectified.com avatar

@bigzaphod things like this are what keep me from adopting swift. After so many years of Perl and Ruby and Lisp / Scheme being all “sure. Go for it.” The idea of fighting with the language how about so many little surprise things that someone randomly restricted either intentionally or without consideration… it just sounds exhausting. I don’t have the spoons.

I understand the value that many of those restrictions provide, but still…

bigzaphod,
@bigzaphod@mastodon.social avatar

@masukomi Swift has it's own language to even talk about a lot of stuff. (Like this Sendable stuff, for example.) It's unfortunate because Swift is becoming downright inscrutable in certain corners, IMO. On the other hand, I feel like they're really pushing the state of the art around stuff like being able to statically identify a huge number of race conditions and other similar foot guns that are super easy to ignore/forget-about-at-the-time/not-even-be-aware-of/etc.

masukomi,
@masukomi@connectified.com avatar

@bigzaphod @dachary keeps describing the weird walls she keeps hitting and i'm like "WTF?" because some of them are just 🤯 . Unfortunately me going "wtf" makes her imposter syndrome kick in, despite the fact that she's really good & has done all the research to know for a fact that it's not just her.

What must it be like for NEW developers? They must constantly feel like they're stupid / too newb, when no, the language just drinks stupid-juice from time to time.

masukomi,
@masukomi@connectified.com avatar

@bigzaphod @dachary I DESPERATELY want there to be a way to code for macOS and / or iOS that DOESN'T involve Swift (or Obj-c) but ALSO allows me to create native UIs.

No language is perfect for everyone's 🧠.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • Durango
  • mdbf
  • magazineikmin
  • InstantRegret
  • rosin
  • modclub
  • Youngstown
  • slotface
  • thenastyranch
  • cubers
  • kavyap
  • everett
  • khanakhh
  • megavids
  • GTA5RPClips
  • osvaldo12
  • ngwrru68w68
  • normalnudes
  • cisconetworking
  • Leos
  • ethstaker
  • tester
  • tacticalgear
  • provamag3
  • anitta
  • JUstTest
  • lostlight
  • All magazines