3 ms·
Don't know if you are the only one (I doubt it), but I don't agree :-) Programming (also known as "coding") is instructing the computer what to do. If we want
by mikekchar 10y ago
Don't know if you are the only one (I doubt it), but I don't agree :-) Programming (also known as "coding") is instructing the computer what to do. If we wanted to stay as close to the processor as possible, we would all be writing machine language code (without an assembler!). Or maybe we should just write micro-code. Or design everything in hardware...
Higher level languages help you abstract things more easily. Of course you can make any arbitrary distinction you want between languages and runtime systems, but to what purpose? And even if you were to make a distinction like you have made, where would you draw the line? Is compiled byte code that is run on a VM "coding" or "scripting"? What about tokenized languages that are simply executing lists of precompiled tokens? What about threaded interpretive languages that compile down to jump tables?
Besides, CSS is an excellent example of a declarative programming language. I don't even know that it is not turing complete. I rather suspect it is, actually (though not in any useful way). Writing CSS is programming... just in a different way.
Different kinds of abstractions are useful for creating elegant designs. Programming is young so we only have a few abstractions. It behoves the good programmer to learn how to use all of these kinds of abstractions appropriately. Each is powerful an beautiful in its own way.