February 17, 2017 by Marco Cecconi
One of the most common questions about programming is what language should be used. I think that at this point in time the answer is clearly JavaScript. The reason is simple: it's everywhere a browser is, and it is powerful enough to be way more than a toy.
Press F12 on this browser window. Or Hamburger Menu→More Tools…→Developer Tools→Console.

Now you should see something like the following image, and do note which "tab" is selected, and if different, click on the correct one!

Let's tell the computer to write out your name. Here's how I did it for mine, type next to the > something like
console.log("Sklivvz is a nice person")
and press enter. Result? The computer knows how to treat me right.

Programmers write… programs. A program is a set of lines of code executed in sequence. We can either type these instructions in sequence, or we can build a list of instructions and execute them all at once. Try typing this
function program() {
console.log("Sklivvz is a nice person")
console.log("And this is a second line")
}
As you can see, nothing is printed when you press Enter, just undefined. The computer has stored your program but is waiting for your command to execute it. In order to do so, use the following command:
program()

Hopefully this piqued your interest! If you want to know more and learn more commands to give to your computer you can head off to javascript.com where there is a nice tutorial.
I also am publishing a series of beginners posts, starting with variables here.
Have fun!
I am the Chief R&D at BaxEnergy, developer, hacker, blogger, conference lecturer. Bio: ex Stack Overflow core, ex Toptal core.
Read moreFebruary 20, 2026 by Marco Cecconi
Last night I decided to dedicate some time to my old [z80 emulator](https://sklivvz.com/posts/z80). I've squashed a few bugs and ported it to .NET 10. Then I added a ULA emulator.
Read moreFebruary 08, 2026 by Marco Cecconi
Compile-time translations via source generators, ICU MessageFormat + CLDR plurals, PO file workflows, no per-request allocations.
Read moreDecember 27, 2024 by Marco Cecconi
TDD can’t guarantee zero-defects. Let us debunk this software development myth.
Read moreMarch 12, 2023 by Marco Cecconi
Stack Overflow could benefit from adopting a using conversational AI to provide specific answers
Read more$ wget -O - hackurls.com/ascii | less
Read more…