Post Reply 
define questions
06-26-2017, 06:13 AM
Post: #9
RE: define questions
Hello,

You are correct, DEFINEs (internally) ARE programs, very simplified ones, but programs nevertheless. They are programs because that is what makes them the easiest to implement.

Why do we have defines while there is a perfectly good programming environment?

Because it is much easier for a non-programmer/beginner to use the define environment than the programming one!

One of the problem that we have to solve with Prime is that it is used by a wide variety of persons, with a wide variety of knowledge levels and center of interest.

The programming system, for example, allows you to migrate easily from novice to advanced users, slowly learning better and better programming technics. At the begining using home global variables for everything and then slowly moving up to much cleaner programs for example...

But this comes at a cost. For example some things are there twice, in various forms to make it easier for various persons... Cleanness of code is not enforced...

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
define questions - webmasterpdx - 06-21-2017, 12:31 PM
RE: define questions - Tim Wessman - 06-21-2017, 02:04 PM
RE: define questions - DrD - 06-21-2017, 02:14 PM
RE: define questions - webmasterpdx - 06-21-2017, 03:17 PM
RE: define questions - Didier Lachieze - 06-21-2017, 11:07 PM
RE: define questions - DrD - 06-21-2017, 09:19 PM
RE: define questions - AlexFekken - 06-22-2017, 02:12 AM
RE: define questions - webmasterpdx - 06-22-2017, 12:05 PM
RE: define questions - cyrille de brébisson - 06-26-2017 06:13 AM



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