How codes work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How codes work?

can anyone tell me in the first place why people made codes and how do they actually works?

13th Jan 2018, 10:30 AM
Akela Gulshan Pahu
Akela Gulshan Pahu - avatar
5 Answers
+ 8
Why? Because it's not doable to directly program in binary How does they work? They get converted to binary
13th Jan 2018, 10:33 AM
Dapper Mink
Dapper Mink - avatar
+ 8
With a compiler, it follows an algorithm which knows how each lines of codes could be directly rewritten in binary
13th Jan 2018, 10:41 AM
Dapper Mink
Dapper Mink - avatar
+ 4
basically the high level programming languages compiling the code line by line to multiple programming languages, that's why they called high level programming languages. Java -> C / C++ ( I guess ) -> assembly -> binary.
13th Jan 2018, 2:40 PM
Cain Eviatar
Cain Eviatar - avatar
+ 2
and how computer convert the codes?
13th Jan 2018, 10:34 AM
Akela Gulshan Pahu
Akela Gulshan Pahu - avatar
+ 2
oh i see
13th Jan 2018, 2:41 PM
Akela Gulshan Pahu
Akela Gulshan Pahu - avatar