dao
dao copied to clipboard
Add Dao to "Learn X in Y minutes"
The repository https://github.com/daokoder/learnxinyminutes-docs needs some love.
-
The repository does not currently contain Dao. The page https://learnxinyminutes.com/ already saved a lot of time to many people I know and now I need few good programmers to learn Dao, but they have to dig through the incomplete "long" documentation, which does not make them very happy.
-
The Issues tab of the repository is off, making the repository hardly usable for cooperation.
@daokoder, do you have resources to address these?
Adding Dao to "Learning X in Y minutes" would make it a nice starting place for learning Dao. I didn't prepare anything for this yet, as it seemed a bit premature at that time. Now you mentioned this, I think it is about to time to draft a Dao page.
We can include the followings in the page:
- Commenting (single line, multiple lines);
- Module loading (
load math); - Declarations (
const,var,invar,staticandtype); - Enum types (symbol, state and flag enums);
- Core data types (
bool,int,float,complex,string,array,list,mapandtuple); - Conditional and looping controls;
- Deferred block and error handling;
- Routine and closure;
- Code section method;
- Class (inheritance and mixin);
- Interface (abstract and concrete);
- Asynchronous function call, asynchronous class and future value;
- Channel and communication;
- Parallelization methods;
We can add a such page to the standard help pages first, then to "Learning X in Y minutes" when it become ready.
Sounds good. We shouldn't forgot to mention a general principle, that if something low-level is not explicitly defined, then it behaves exactly as in C99 or newer (e.g. rounding).
Also we should mention conventions/rules. E.g. built-in types are small caps, other types UpperCamelCase.