Honestly, it isn't hard. Go follow a tutorial on writing some JavaScript, you need essentially no tooling and can write some happy little functions fairly quickly! It's a bit of a rabbit hole, but feel free to PM me if you have questions!
Edit: This has gotten a ton of traction!! Kudos to the guy who just said "No."
There are a lot of opinions floating around. Unless you are jumping the gun to go straight to university for programming, don't start with C. I primarily program in C++, Python, and JavaScript (specifically Nodejs).
Both JavaScript and Python are excellent for beginners. All these people with a ton of experience programming forget how unforgiving C#, Java, etc. Can be for someone totally green. I am talking about writing your first loops, hello world. Writing a script that runs infinitely and prints that your best friend is an idiot to send them a video of over social media. That is the kind of stuff that gets people to ease into it.
Regardless my offer still stands to help if you like, and I hope these goons haven't scared you off at the "choose a language to learn" step.
No, if he wants to learn how to code he should investigate non Web languages. They're super inconsistent especially with javascript callback hell. As a starter he should focus on variables types, basic logic and some oop principles. I'd suggest C# and python. Ideally I'd suggest C but most beginners will lose interest very quickly
C# is my favourite language so I might be biased but C# is not really that hard. Sure, it's not Python, but it sure is a lot easier and more high-level than C...
That's exactly the problem. It is so high level that a begginer just starting out is probably going to be confused by classes and the such. Imagine trying to explain OOP to a begginer who doesn't even know what a variable is. I know that you can ignore those things, but I feel the language is ill suited for teaching.
Eh, I mean they used to teach students C++ for coding and now it's usually Java or Python.
My first language was C# and I honestly recommend C# as a starting language. While python is cool for quick scripts and automation and stuff I think C# gives you a better ground knowledge programming as a whole and is still pretty easy.
Ahh yes I see your point. Even if someone could understand classes fine like I did, I had a really hard time at first understanding generics and delegates and interfaces and polymorphism and... Yea maybe beginners should stick to Python.
You don’t have to understand polymorphism to use C#. In fact I’d bet a large number of junior devs couldn’t tell you what it is. I always include a question about it in an interview; because it’s a useful indicator of what level of serious they are about OOP, and more importantly, if they don’t know what it is gives a good indicator of how honest they are when they don’t know something. Honesty and being able to admit when you need help or don’t know is a big positive for a new hire.
TL;DR you don’t need to understand OOP to learn to program in C#. Understanding that a variable is a thing might be useful though, especially in this code block ;)
101
u/Big16th Apr 24 '21
I wish I knew how to code