Extremely comfy textboard.

begin prog




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?




>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.



Probably an easy language like Ruby.




Definitely not Ruby, it's in deep decline. But Python would work, if OP wants to go generic coder path.



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.



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.




>I have to recommend sicp
Why do you, tho? It's an outdated piece of crap from an Academic Jew who never wrote any useful code in his life.



1. Get any book on programming.
2. Read it thoroughly and take notes.
3. Complete all the exercises.
4. Go to step 1.



If you want to be a codemonkey, just go to code camp.



learn php. create textboard. let hackers brute force it. learn from mistakes. repeat.



I recommend Lua.

Easy, simple and small language
Fast (especially with LuaJIT)
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)




>Easy, simple and small language
Oh, you forgot to add it's not needed in 99% of commercial projects.



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.




>Also, it's much better to start with a simple language and learn the actual programming concepts
I 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.



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.



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 recommendation
I 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.