Before playgrounds and Swift I used this app to try out little snippets. https://coderunnerapp.com
Just including it in case your follow up question was going to be “so, if no playgrounds then how do I run little snippets”
Check Learning how to Learn on the Coursera https://www.coursera.org/learn/learning-how-to-learn
It will be hard until you understand it and pack into a "memory chunk". After that, you will use this newly acquired knowledge effortlessly. It would hlpe if you experiment in the console, node or coderunner https://coderunnerapp.com/ to understand the behaviour better.
Once you understand how something works it will feel like the giant ball of the unknown in your head is shrunk to a small piece of a puzzle: "oh let's close over this to curry arguments".
TLDR: If you want to make an Apple App. Swift is an excellent place to start.
If you are not completely invested in iOS or Mac app development I would not recommend Swift as a first language. For the sole reason that the code you write can't be deployed anywhere else (easily). That's not to say that you can't translate the skills to other languages. If you are set on wanting your first apps to be on iOS/Mac then I think it's safe to say Swift is the better place to start. Swift is more modern and more user friendly (more forgiving) to a beginning programmer. It's still growing and you will find a lot more resources for Obj-C but Apple is fully committed to Swift. So it probably will help you future proof your skills.
I would also recommend this app for Mac. https://coderunnerapp.com/
It's a no bs way to play around with a lot of different coding languages. Implement simple command line programs without having to worry about installing anything. Try swift and obj-c or even java (better yet all of them) and write simple programs. Like a calculator or task manager. See what language you feel comfortable in.
Honestly the "best" programming language and environment is the one that you feel the least amount of friction in. Friction is anything that comes between your idea and the finished product. Some people find the least friction with vim and C++. Others find the least with javascript and http://codepen.io/pen/ or sublime text. Pursue what's interesting to you and find the path with the least friction.
Good Luck!
P.s. /r/learnprogramming
Man that's GIT version control, the most precious feature for any coder, whether you're working standalone or in a team.
Learn how to use GIT. It saves your ass. You're just not yet finding it useful from the number of lines in your post. And this is about to change within 1 year.
BTW, if you're just start learning C++, get <strong>CodeRunner</strong>. Xcode is for project development, not a good learning tool.
CodeRunner is great if you have code you just wanna run in console to see if it works or type up a fast program to do something for you. There’s no fussing with projects or anything just fire it up and go. It’s not free. I think it was $5 or $10
Edit: it actually appears to be $20 now. CodeRunner
mine is simple, probably wont win but i made this my username cause i like code, conuidentley coderunner is a program editor for macOS
​
my other username u/minejacob35 is my Minecraft username when i was 8, i thought it fitted
​
Get CodeRunner! Its been very useful to me as a code writeing/editing app and IDE. It runs and provides syntax support for all the common languages (Javascript, Python, C, Ruby etc).
The big thing for me was I needed to be able to check my work and get instant feedback about whether it worked or if there were bugs. Its $15 I believe
> Because of new Mac App Store restrictions, CodeRunner 2 is currently only available outside of the Mac App Store.
Why don't you try the latest version instead? There is a trial available.
Analyzing 404forlife
trust score 118.6% ^tell ^them ^your ^secrets!
Fun facts about 404forlife