Python Forum

Full Version: [split] Python Class Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(Apr-29-2020, 08:01 AM)astral_travel Wrote: [ -> ]but programs are mechanical aren't they ?
Really don't understand what you mean by that

it's a bunch of instruction to be executed by the CPU. It may be written in high-level language like python or low-level like assembler, but generally at the end all it ends as bunch of 1s and 0s (machince code)
well i think eventually i got to the solution myself, that programs are part abstract & part mechanical...and it's the combination of both that creates the functionality needed...

i mean, if i approach the coding of a program as being a machine like - it simplifies the approach...

i mean - it might have sounded stupid - but it makes a whole lot more sense eventually to think of it this way...that the program itself - is a machine...
(Apr-29-2020, 08:20 AM)astral_travel Wrote: [ -> ]think of it this way...that the program itself - is a machine...

The program is a set of instructions followed by a machine(your computer).
Pages: 1 2