Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dao to "Learn X in Y minutes" #533

Open
dumblob opened this issue Feb 13, 2017 · 3 comments
Open

Add Dao to "Learn X in Y minutes" #533

dumblob opened this issue Feb 13, 2017 · 3 comments

Comments

@dumblob
Copy link

dumblob commented Feb 13, 2017

The repository https://github.com/daokoder/learnxinyminutes-docs needs some love.

  1. 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.

  2. The Issues tab of the repository is off, making the repository hardly usable for cooperation.

@daokoder, do you have resources to address these?

@daokoder
Copy link
Owner

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, static and type);
  • Enum types (symbol, state and flag enums);
  • Core data types (bool, int, float, complex, string, array, list,map and tuple);
  • 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.

@dumblob
Copy link
Author

dumblob commented Feb 17, 2017

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).

@dumblob
Copy link
Author

dumblob commented Feb 19, 2017

Also we should mention conventions/rules. E.g. built-in types are small caps, other types UpperCamelCase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants