Python Forum
[split] Python Class Problem - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: [split] Python Class Problem (/thread-26351.html)

Pages: 1 2


RE: [split] Python Class Problem - buran - Apr-29-2020

(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)


RE: [split] Python Class Problem - astral_travel - Apr-29-2020

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...


RE: [split] Python Class Problem - michael1789 - Apr-29-2020

(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).