-
Notifications
You must be signed in to change notification settings - Fork 4
Professional programming
APL Team Ltd edited this page Feb 14, 2018
·
3 revisions
-
Discuss global variables.
-
What exactly should a function ideally do? One thing!
-
Classes, scripted namespaces and ordinary namespaces.
-
Public interface (Black box principle)
-
Multiple versus single undo/redo stack
-
Direct versus traditional functions - pros and cons
- You cannot trace into one-line direct functions
- No thread switches in direct functions after line 0
- Direct functions have disadvantages when it comes to tracing.
-
Passing parameters to functions
- List of values (typically mandatory parameters, right argument)
- Optional parameters (often left argument)
- Lists of key-value pairs
- Namespace with variables and possibly references
-
The dfns workspace.
-
Names!
There are only two real challanges in writing software: memory management and finding the right names.