
Originally Posted by
john_yo
after comilation kay naa nana cya extension na exe or com, usually basta com kay .
here is where you got it all wrong
1. Codes are not just compiled to EXE and COMS,
how about the OS kernel codes, driver codes that those that run on top of a virtual machine like the .NET or JVM? how about web development?
nope they are not exe or com..
you forgot about the scripts too? Javascripts, python, BASH and.... DOS batch scripts.
2. you forgot that programmin is LITERALLY commands also right? is is writing commands to CPU, ever played around with assembly?
programming is actually invoking a command to CPU or to a target machine like a JVM or the .NET layer,
let say,
hmm let say for example
printf(), we can call it a function, part of a code, but it is actually contains commands to the OS to invoke interrupt 21h,
oh there is a "DOS" command equivalent for that.
its echo.
type
C:\> echo "hey"
3. Codes are instructions to a target, so a command is an instruction so it is a code.
Target here can be a Device such as CPU, JVM, a browser interpreter, OS, etc.
4. you are limiting your definition of word "code" to programming, technically it is not, you missed the first lines of my previous post so here:
Code