Book Image

D Cookbook

By : Adam Ruppe
Book Image

D Cookbook

By: Adam Ruppe

Overview of this book

Table of Contents (21 chapters)
D Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Finding more information about D


Searching for D information on the Web can be difficult. If you have a question, how can you get help?

How to do it…

To find more information about D, we need to execute the following steps:

  1. Check the documentation at http://dlang.org/. Navigation is easier if you have an idea where to look: the Phobos functions are organized by module and the language features are organized by the type of item: expressions, statements, and so on. Generally, if you are looking for something which returns a value, it can be found under Expressions or Functions. Other language constructs can be found under Statements if a specific page for it cannot be found on the sidebar. The web page contents are also included in the dmd zip download in dmd2/html for offline viewing or searching (for example, with grep).

  2. Try searching the web with the terms D programming language (optionally in quotes) or dlang in your query.

  3. Search the wiki at http://wiki.dlang.org/ for your topic.

  4. Search or ask on Stack Overflow using the D tag (http://stackoverflow.com/questions/tagged/d).

  5. Ask in the D.learn forum at http://forum.dlang.org/. No question is too trivial or too complex to ask the group.

  6. Join the #d chat room on the server irc.freenode.net. Use an IRC client to log in, or use the web client https://webchat.freenode.net/. In the chat, you can ask a bot for definitions or links by typing ?some_term or ask the other people in the room normally. Just jump in and ask; there is usually at least one person active who will be willing and able to help.

  7. If all else fails, read the source. The complete source is available on Github at https://github.com/d-programming-language or in the dmd zip file under dmd2/src.

    Tip

    If you write an article on D, use the complete D programming language term in the header so search engines will help other people find it.

How it works…

The preceding tips may help you find answers to questions on your own, and if that fails, the D community is active and generally friendly. Don't hesitate to stop by the forums or chat room to ask us anything. We know a lot of projects and links in our brains that aren't easy to find on the open Web and are often willing to work with you to find solutions to novel problems too.