+ 1
Are the different languages used for doing different tasks...or doing same task differently
That is....i have never saw a sololearner use python and create a page separately with different colours and different allignment of words,shapes etc...why is it lyk that?
5 ответов
+ 1
A bit of both. HTML is for document-type files. CSS adds style to them.
Languages like JavaScript and Python are scripting languages, meaning they are typically good for small projects.
Languages like C are compiled, meaning they are better for larger projects.
Languages like C++ and Java are object oriented compiled languages, meaning they revolve around creating and manipulating custom objects (typically in the form of classes)
+ 1
Wht are custom objects Jackson O’Donnell ..?
+ 1
It would be like you want to have an array of humans. Each human has traits like hair colour, height, weight, etc. As well as actions they can perform: run, jump, walk.
An object would be creating the "human" class that lets you bundle all those functionalities together.
+ 1
What do u mean by such 'small projects' and 'large projects' Jackson O’Donnell ..?
+ 1
Really just how it sounds. If it's going to be a little mobile game or just something you run to filter spam mail, a scriot is pretty nice.
But if you're running the program often (or constantly, operating systems are programs too) or the scope is large, you want it to be efficient as possible.
Scripts aren't very good at this because the computer needs to interpret (translate to machine language) them as they go.
But if you compile the code, boom, machine language. It takes far fewer resources to run.