-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Categories / Organisation #7
Comments
Added "Abstract types" as a category a minute ago, together with an Email type example. |
Hello - I would like to join this project and help out writing examples. Is there a roadmap of snippets that needed to be written? Thinking of what tripped me up were how Value worked - esp. the ._ acccess. Other beginner stuff I could add - declaring variables, setters, getters. |
Hi! Great you want to help. No there is not a roadmap, but the goal is to create a practical guide to lead people into Haxe. I find people on the forum or stackoverflow struggle with how-to-do stuff. Thats one of the reasons of this cookbook. For the beginner section I think we want to write about arrays, core types, lambdas, regular expressions, json, xml, enums/adt, typedefs, math, conditional compilation, pattern matching, etc etc. Haha all the great stuff! |
ok - thanks - I put an entry in about variables earlier that got some feedback- so I'll just keep plugging away at that- then maybe I'll start on some of the things above (arrays, base types etc) |
Maybe there should be a separate category called "Compiler"? I will create a PR for a recepie called "Compiling libraries without main class" - that one could fit there. What do you think? |
I rather call it "compilation" |
I am starting to feel uncorfortable with the "other" category, it has many stuff. Should we create new ones? |
Yes. Maybe "Data structures" for the iterator and arrays stuff...? Sooner or later, there will be a need for differentiation on targets. This might however lead to the need for subcategories... Javascript is very hot these days, and it has its own paradigms and workflows, so it should be easy to find the js stuff! |
I agree that the 'Other' category should be split into numerous different ones. It's kind of difficult to determine what sort of categories would be suitable candidates, really. Target-specific categories seem like a step in the right direction. It would be nice to provide cookbook readers with an introduction to writing code for supported languages. This something that comes up every so often on IRC and should be addressed. People also tend to ask about data structures: if hash tables exist in Haxe, or how someone can use a structure as a key in a map if Haxe passes them by reference instead of value. A couple of recipes in this category would clean up any misconceptions fairly quickly. |
I think we indeed need a category for the top most popular libraries in the cookbook, with introduction and getting started code and outlinks links to their website. But the rest is up to the libraries itself. As for the target specific articles, Ill wait for the people to bring them in 😄 For now Ill close this topic, as there is nothing more to discuss. Please keep contributing 👍 |
How do we want to structure all snippets, which categories do we need?
The text was updated successfully, but these errors were encountered: