??? 09/29/06 15:40 Read: times |
#125375 - structured programming Responding to: ???'s previous message |
Programming languages in fact do not have built-in support for structured programming; rather, they have built-in restrictions for unstructured programming... On that account, any language can be used in structured form, even asm; although I doubt anybody can resist the temptation...
When I was taught programming in (secondary) school, we used to write down our first programs in a made-up (actually, Pascal-like) language using keywords of our language; then, to verify the result, we hand-translated it into BASIC according to firmly set rules and typed in and run in the then used 8-bitter school computer (PMD-85). Of course, this approach works, but is slow, cumbersom etc. - as are those languages (and the resulting code from them) which "support" structured programming, strong typing, and all those "good habits" etc.etc. Jan Waclawek PS. <shameless advertising> Andy, if you really want BASIC on AT89C51RD2 for really cheap (= free), and you don't mind it's not structured, modern, etc. and even interpreted=slow, get my modification of BASIC52 for RD2, burn it into the chip, run a terminal program, and go.</shameless advertising> |