Post Reply 
HP75C / FORTH / Clock?
03-19-2017, 10:00 AM (This post was last modified: 03-19-2017 10:03 AM by J-F Garnier.)
Post: #9
RE: HP75C / FORTH / Clock?
(03-18-2017 04:22 PM)Paul Berger (Canada) Wrote:  
(03-18-2017 08:43 AM)J-F Garnier Wrote:  Now, Forth is definitely too cryptic and unstructured for me ...

(03-18-2017 09:57 AM)Garth Wilson Wrote:  That's the way I see C. An absolute disaster.

I don't understand either of these comments, both C and Forth provide plenty of constructs for for structured programming, however neither one of them forces you to use them.

Just my personal opinion on Forth, and to some extend to other stack-based language like RPL.
By unstructured, I'm not referring to programming structures, but to the difficulty to manage expressions with the variables on the stack (PICK, ROLL, etc, this is the cryptic aspect I was referring to), and the difficulty of using local variables.
[personal opinion again] Stack-based approaches are very efficient for machine internal system - the HP85/75 are good examples - but not friendly for user-level programming language. [/personal opinion]

I know C can be cryptic too, but it's easy to write clean code, and some common expressions that can look as cryptic such as:
checksum += *ptr++;
make immediately sense when you are used to.

Globally, I like better to program in assembly language!

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP75C / FORTH / Clock? - charger73 - 03-17-2017, 02:00 PM
RE: HP75C / FORTH / Clock? - J-F Garnier - 03-18-2017, 08:43 AM
RE: HP75C / FORTH / Clock? - Garth Wilson - 03-18-2017, 09:57 AM
RE: HP75C / FORTH / Clock? - J-F Garnier - 03-19-2017 10:00 AM
RE: HP75C / FORTH / Clock? - John Cadick - 03-18-2017, 05:19 PM
RE: HP75C / FORTH / Clock? - John Cadick - 03-18-2017, 06:36 PM
RE: HP75C / FORTH / Clock? - charger73 - 03-19-2017, 07:17 AM
RE: HP75C / FORTH / Clock? - xerxes - 03-19-2017, 05:12 PM
RE: HP75C / FORTH / Clock? - hth - 03-19-2017, 09:09 PM



User(s) browsing this thread: 3 Guest(s)