Главная
Study mode:
on
1
Common usage scenarios
2
Set variable values is awkward and slow
3
Getting the value of a variable is also
4
Comparing performance of error guard vs explicit checking
5
Getting name value pairs from a namespace
6
Name set ⎕NS
7
Name get ⎕NG
8
Name value pairs ⎕NV
9
Basic usage examples
10
Set default left argument to tradfn
11
Merge values from multiple namespaces
12
Query data objects with defaults for missing values
13
Construct a namespace from names and values
14
Populate class fields from names-value pairs
15
Convert between table and namespace
16
Check the value of an optional global
17
Draft proposal summary
Description:
Explore advanced techniques for setting and getting variable values in complex programming systems through this conference talk from Dyalog '23. Dive into common usage scenarios and learn about the challenges of dynamic variable naming. Discover proposed system functions for improved readability and performance, including name-value pairs (⎕NV), getting a name (⎕NG), and setting a name (⎕NS). Examine performance comparisons between error guards and explicit checking. Gain insights into practical applications such as setting default arguments, merging values from multiple namespaces, querying data objects with defaults, constructing namespaces, populating class fields, and converting between tables and namespaces. Conclude with a summary of the draft proposal for these new system functions in APL programming.

Setting and Getting Variable Values in APL - Proposed System Functions

Dyalog User Meetings
Add to list
0:00 / 0:00