Programming is fun and it also gives you power to do very interesting things
Here are building blocks of any programming language.
if you learn them, you pretty much learn all the languages.
Constant Values,
numbers, 1, 2, 56, 3.4, -1.223
String constants , "I am Hero" "I am King"Variables
var myvariable = 10;
int myinteger = 100;
string mystring = "I am Bilal";Arithmetic operations
Addition : var x = 10 + 20;
Subtraction: var y = 40-90;
Multiplication, division, modulus, cosine, sine other scientific operationsLogical operation
And - "I am king" AND "I am Bilal"
Or - "You give me Votes" OR "you go to Hell"
NOT - I am NOT a HackerConditional statements
IF, ELSE, ELSE IF,Switch Cases
Case 1: Case 2: so on
Switch CaseLoops
While loop
For loop
Foreach Loop
Do While loopData Structures
Variables
Arrays
Structures
ClassesFiling,
Where you learn to read and write to a file.
using your program.
If you want to learn to program, This this as a guide
you need to learn all these things. from the very start
if you learn them. you pretty much can code in all languages.
there will be difference of syntax but. mostly all these concepts will be used.
Himself go to hell AND do not come back.
I correctly understood the logical operation?
You got it perfectly right :)
eeeeeaaaahhhh!!!!
You scratch the surface here with your advice. As someone who codes for a living I think I'm qualified to add a quick comment to this post. You are correct in assuming the short list you provide will get you up and running. However, I could break even each learning point you have provided into a complete course in its own. Variables alone is a broad subject. Yes the idea of a variable is easy but the differences are huge. In order to understand what I'm referring too, look into data length. A string in one language may mean 255 bytes, it may be a completely different value for another language. In one language you may be able to populate 'a' string with 254 characters max, in another you can use all 255.
Logical operations...And, Or, Not you better believe syntax will play a role across different platforms.
Not trying to pick your post apart but it reads like the contents of subjects you should start talking in depth about in here.
My advice. Really learn why what you code is doing what it does. By understanding, truly understanding what is going on is the right way to program anything. There are far to many hacks out there. Not enough true coders.
Look forward to your next article.
Thanks for comment, I provided people a guide, a key book lets say..
I am going to write more articles. and probably also video tutorials on this topic
I made videos in past. so I will make more videos now.
Great post. I have been trying to learn python as my first language and I need it to solve some pretty advanced data science problems. I thought I understood the material and could write some codes. But when it got to solving my data science problems I find myself ill-equipped. I had to go back to Udemy to see if I could take an online course. I wonder what my problem is.
Thank you for sharing though.
You solve math problems. train your mind.
as programming needs, a logical mind.. that can build logic.
I will keep trying until I master it. Thanks for your advice.
As a follower of @followforupvotes this post has been randomly selected and upvoted! Enjoy your upvote and have a great day!