• 20 Posts
  • 537 Comments
Joined 3 months ago
cake
Cake day: January 9th, 2026

help-circle




  • You are talking about the compiler, not the language itself. Humans program in programming languages such as JavaScript and C to write computer programs. The code is human readable text in both cases. Both are code to describe how a program operates. Therefore C and JavaScript are programming languages.

    With your logic, is Python not a programming language? The common compiler is an interpreter. But there are also real compilers that produce machine code. What about C# and Dotnet langauges and Java? They produce Bytecode that needs to be interpreted by an interpreter and executed at runtime, as these are not machine code yet. Are those not programming languages?




  • Why is a scripting language not a programming language? I am not sure if you are joking (would be fitting to be honest, but ask nonetheless in case it is serious). JavaScript is a programming language, and scripting is a sub category or type of it. The language itself does not define if its a scripting language, this is defined by the compiler.

    What about compilers that compile to C first and then machine code / self running executable? I think this is how some Python compilers work (no I am not talking about bundles). What about C# and Dotnet? Java Bytcode?



  • I can’t answer your question in the title, but I can say what I do whenever I learn a new programming language (even if its temporary just to play around with new languages). My personal Hello-World like program I tackle in most cases is something that runs another program. Lot of my personal projects are actually like that. You can start simple, to learn how to do associated tasks with it. There is a lot you can learn by diving into this (first) simple exercise.

    This will help you understanding how to read directories, handle file names and paths correctly, read text files in example, how to spawn a process, handle possible errors and react to error codes, possibly read and process stdout of the program. Also handle commandline options, output stdout so it can be used with other programs easily. Write configuration file and so on.

    An alternative thing you can try is, doing a simple grep like program. Or maybe a simple game that asks you a few questions and gives points. Or a note taking app.