3 ms·
1. Learn an "easy" general purpose scripting language (JavaScript because you can just type F12 in your browser now and start writing code, or Python if you wan
by nnq 10y ago
1. Learn an "easy" general purpose scripting language (JavaScript because you can just type F12 in your browser now and start writing code, or Python if you want something just as simple but more "logical" and "sane", Lua ok too) until you feel you "grok" the basics: once you can write a simple text-based questions and answers game that uses a loop, and you know how to write a simple function that returns another function (called "higher order function" but do not be scared), it means you "grok the basics.
2. Pic the platform/domain of your first project and use the easiest language that is still a first class citizen of that platform. Easy guide:
- iOS -> Swift (don't pick Objective-C if you haven't touched C or C++ before)
- Android -> Java (don't pick JavaScript first, unleast you have serious *web development* experience, the zillions of all-slightly-wrong options and choosing a framework madness will make your brain explode even if the language is simpler!)
- web browser -> JavaScript
- web server -> anything *except* Nodejs (JavaScript) or PHP, you don't want to start by diving head first in callback hell and a zillion ways to do everything and you also don't want to learn all horrible worst practices accepted in PHP-land that you'll have to unlearn later: *Python* or *Ruby* or *Go* are ok here but avoid large frameworks (choose something like Flask for Python or like Sinatra for Ruby first)
- linux -> C
- desktop/console game using Unreal engine -> C++ & UnrealScript
- dektop/console/mobile game using Unity engine -> JavaScript and C# are both ok here
- windows desktop -> C# or JavaScript depending on your purpose
- macos desktop -> start with Swift, got to Objective-C if you can't get to your goal using Swift
- hardware hacking -> "Arduino C" as suggested by someone else or Python if the platform you're hacking supports it
- machine learning / AI -> Python