Ilya Kulakov
1 min readJan 8, 2020

--

You can have readonly properties and automatically generated initializers.

C structs are a pain to deal with when you’re working in Objective-C. No way to add custom (immutable) methods nicely . It doesn’t play well with Foundation primitives such as collections. No runtime interoperability.

This is a very nice concept to have, but C structs are ill-fitting. C++ classes seem to be a better fit, not sure how it plays with ARC though.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Ilya Kulakov
Ilya Kulakov

Written by Ilya Kulakov

Tech Entrepreneur and Quality Freak with passion.

Responses (1)

Write a response