Best Of Quora: Programming Languages, Slack, Objective-C and Protocol Inheritance (Week 32)
In an ongoing series “Best Of Quora” I capture gems of questions. Do you have a question about app making that you want answered? Ask me a question on Quora.
This week’s edition, topics include computer programming languages, building a website, Slack, Objective-C vs. Swift and protocol inheritance.
I am currently 16 and only know C++. Which language should I take up next if I want to develop websites and apps?
It’s a good question: you’ve got some experience with a programming, but now actually want to build something. How do you get there? Well, you can learn Swift to get going with iPhone apps, Java for Android apps, and Python, Ruby or Go for back-end programming.
But… wouldn’t you be a better programmer if you could work multidisciplinary? Learn too about management, communication, design and leadership!
What programming language would I need to know to write a website?
Is it beneficial to learn Objective-C before learning Swift?
I’d do it the other way around. Get your feet wet with Swift, build an app or two, then learn Objective-C.
Objective-C is much harder to learn, compared to Swift, but most apps still use it these days. When you want to be a professional iOS developer, you’re going to see a lot of Objective-C for the coming years. You will want to work with that, unless you’re only using Swift for your own apps and/or startup project.
What is Protocol Inheritance?
From the awesome Apple docs on the subject of “protocol inheritance”: A protocol can inherit one or more other protocols and can add further requirements on top of the requirements it inherits.
Inheritance is a feature of Object-Oriented Programming (OOP). Inheritance simply means you can take the protocol, extend it, and add more methods to it. You create a new protocol, code that it inherits from the other protocol, and add more methods to it. All the old methods exist, and the newly added.
What do I need to know to create an iOS app like Slack?
Slack is incredibly popular these days. It’s a platform for in-company communication through chat messaging, and an armada of third-party integrations. It’s so simple, and very powerful.
So, a lot of aspiring coders ask: how can I make something like Slack? It’s a good project to mimic, although a bit too big. Why don’t you get started with a simple chat app?
Do you have a question about app making that you want answered? Ask me a question on Quora.
Hi, I'm Reinder.
I help developers play with code.
Most Popular Content
- How To Launch Your App
- How To: Random Numbers in Swift 4
- How To: Pass Data Between View Controllers In Swift (Extended)
- How To: Displaying Alerts With UIAlertController In Swift
- How To: Build A Real-Time Chat App With Firebase And Swift
- Grand Central Dispatch: Multi-Threading With Swift
- » Show latest