Get the latest tech news

Swift for C++ Practitioners, Part 1: Intro and Value Types


Swift for C++ Practitioners, Part 1: Intro & Value Types

So, I want to take a different approach to teaching Swift that is specifically geared toward C++ "practitioners": folks who write C++ day-to-day and understand not only the C++ language, but its standard library and best practices. I live in both worlds: I'm a Swift designer, implementer, and advocate, and yet I've a long history with C++ that includes being a code owner of Clang and spending a decade on the ISO C++ committee. But a lot of mutation in Swift works on local values, and the language helps you avoid most of these situations, so the runtime checking is rarely encountered in practice.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Value

Value

Photo of types

types

Photo of c++ practitioners

c++ practitioners

Related news:

News photo

Intel Investors’ Pessimism Over Turnaround Wipes Out $27 Billion of Value

News photo

BlackRock Says World-Beating Kenyan Stocks Still Offer Value

News photo

Fidelity Lowers Value of Stake in Musk’s X by 5.7% in February