programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Baldr to Swift · 1 year ago

Safer Swift: How ~Copyable Prevents Hidden Bugs

arturgruchala.com

external-link
message-square
0
link
fedilink
-1
external-link

Safer Swift: How ~Copyable Prevents Hidden Bugs

arturgruchala.com

Baldr to Swift · 1 year ago
message-square
0
link
fedilink
Swift 5.9 introduced the new ~Copyable protocol, which makes an entity "non-copyable." By default, Swift automatically adds the Copyable protocol to all types—without it, value types wouldn't work! This implicit conformance simplifies our day-to-day work, allowing us to ignore copying mechanics in most cases. However, there are situations
alert-triangle
You must log in or # to comment.

Swift

swift

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: [email protected]

This group focus on the content related to the development of Apple Eco-system software. So feel free to share and talk about, for example;

  • Swift
  • Xcode
  • macOS, iOS, iPadOS…etc.
Visibility: Public
globe

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

  • 1 user / day
  • 6 users / week
  • 15 users / month
  • 56 users / 6 months
  • 134 local subscribers
  • 510 subscribers
  • 180 Posts
  • 50 Comments
  • Modlog
  • mods:
  • Ategon
  • Vacant
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org