begin prog
(16)1
Anonymous:I want to learn programming but I'm lazy and don't want to commit too much. Also I'm bad at thinking. What should I do first?
2
Anonymous:>What should I do first?Reconsider your choices, maybe becoming an ops engineer will suit your laziness more.
You don't need that much to start an ops path: install Linux on your laptop, tweak it for couple of months and then move to more advanced topics like web servers.
3
Anonymous:Probably an easy language like Ruby.
4
Anonymous:>>3
Definitely not Ruby, it's in deep decline. But Python would work, if OP wants to go generic coder path.
5
Anonymous:Before you even consider learning to program, you should become skilled in using a computer and just general computer science (ex. make use of command line, networking, etc.)
Then learn programming. You probably hear this a lot, but you will never learn if you don't put in the effort.
Also, I recommend NOT using youtube tutorials, as most will only teach beginner material and are of highly varying quality. I prefer books and occasionally online text-tutorials, but if you prefer videos, then watch them instead, as I'm sure there are high quality ones out there.
6
Anonymous:I have to recommend sicp, and if you want to go further, there's https://teachyourselfcs.com/ which is basically a full undergraduate curriculum.
However, if you're already set in your career and just want to learn programming to complement it, you should just listen to the other people about python and stuff.
Laziness and thinking ability can be improved over time. Don't underestimate yourself.
7
Anonymous:>I have to recommend sicpWhy do you, tho? It's an outdated piece of crap from an Academic Jew who never wrote any useful code in his life.
8
Anonymous:1. Get any book on programming.
2. Read it thoroughly and take notes.
3. Complete all the exercises.
4. Go to step 1.
9
Anonymous:If you want to be a codemonkey, just go to code camp.
10
Anonymous:learn php. create textboard. let hackers brute force it. learn from mistakes. repeat.
11
Anonymous:I recommend Lua.
Easy, simple and small language
Fast (especially with LuaJIT)
Lightweight
Cross-platform (Windows, GNU/Linux, FreeDOS, etc.)
Lua is widely used! See, https://www.lua.org/uses.html
Good editor support (for example: VS{Code,Codium}, (Neo)Vim and Gnu Emacs)
Tables are cool! (tables are basically better arrays, they live a double life as array/associative list)
Lua can be used as an embedded scripting language or config language like in Gmod or Awesome WM.
LuaRocks package manager
Love2D game framework is easy to use
Fennel gives you Lisp syntax for Lua
There is free Lua book! Here is a link: https://www.lua.org/pil/contents.html
* Want another free book? Here! https://www.lua.org/gems/ (start with PIL)
12
Anonymous:>Easy, simple and small languageOh, you forgot to add it's not needed in 99% of commercial projects.
13
Anonymous:>>12
Lua is used in video game industry (Examples: Factorio, Gmod, Dota2). It's the perfect scripting language to embed in your game or some other program. Also, it's much better to start with a simple language and learn the actual programming concepts (it's easier if the language itself is small). And, you should be able to learn more languages after you have learned to program in 1 language.
14
Anonymous:>Also, it's much better to start with a simple language and learn the actual programming conceptsI think it's much better to avoid wasting time on niche stuff and start learning a language that is in general demand. Python, JavaScript, Java, PHP. Even Bash is a more viable option than Lua.
15
Anonymous:>>14
Are you seriously recommending something like Bash or PHP to a beginner? They both have a ton of pitfalls that are very hard to avoid.
• https://mywiki.wooledge.org/BashPitfalls
• http://phpsadness.com
On the other hand, Python is a very reasonable recommendation.
16
Anonymous:>>15
Of course, I'm serious.
Bash is used literally on 99% of commercial projects, because servers are usually Linux. It's very oldschool, but it's a common shell.
Every language has its pitfalls, PHP is not an exception. And examples from that website are ultimately retarded: http://phpsadness.com/sad/46
Such hater websites usually just mean the language is actually popular.
>Python is a very reasonable recommendationI personally hate Python, but I don't state it has "a ton of pitfalls, don't learn it, NOOOO". Though it certainly has its downsides like any programming language, Python is objectively a viable option.