Who should code?
It is entirely based on the type of work you want to do
If you want to build some apps - Javascript
Do machine learning, data science - Python
Build large distributed and scalable network systems - GO
Build powerful system software - Rust
There is no problem, project or product that can be built with a single language
Let's say hello world...
Programming languages are not skills but tools
char letter = 'A';
float area;
double d;
const letter = 'A';
let area;
let d;
letter = 'A';
while (condition) {
statements;
}
IF condition THEN
sequence 1
ELSE
sequence 2
ENDIF
How long is a variable valid
// js
function area() {
var side = 5;
}
// side is not valid here
console.log(side); // undefined
"hello"[::-1] // reverses the string