-
Notifications
You must be signed in to change notification settings - Fork 149
Boo Primer
Nathaniel Sabanski edited this page Jan 20, 2016
·
21 revisions
by Cameron Kenneth Knight
A version is also available in Portuguese, translated by Cássio Rogério Eskelsen. <<<--- CAN'T FIND IT
A version is also available in Traditional Chinese (繁體中文), translated by Yan-ren Tsai aka Elleryq.
The english version is downloadable in a PDF.
- Starting Out
- Hello, World!
- Comparing code between Boo, C#, and VB.NET
- Booish
- Exercises
- Variables
- Using Booish as a Calculator
- Types of Numbers
- Characters and Strings
- String Interpolation
- Booleans
- Object Type
- Declaring a Type
- List of Value Types
- Exercises
- Flow Control - Conditionals
- If Statement
- If-Else Statement
- If-Elif-Else Statement
- Unless Statement
- Statement with Modifier
- Not Condition
- Combining Conditions
- Exercises
- Flow Control - Loops
- For Loop
- While Loop
- Continue Keyword
- While-Break-Unless Loop
- Pass Keyword
- Exercises
- Containers and Casting
- Lists
- Slicing
- Arrays
- List to Array Conversion
- Casting
- Hashes
- Exercises
- Operators
- Mathematical
- Relational and Logical
- Types
- Primary
- Unary
- Difference between Pre and Post Increment/Decrement
- Exercises
- Functions
- Builtin Functions
- Defining Your Own Functions
- Arguments
- Function Overloading
- Variable Arguments
- Exercises
- Classes
- Defining a Class
- Fields and Properties
- Class Modifiers
- Inheritance
- Interfaces
- Exercises
- Methods
- Defining a Method
- Class Constructor and Destructor
- Method Modifiers
- Member Visibility
- Declaring Properties in the Constructor
- Exercises
- Polymorphism, or Inherited Methods
- Exercises
- Structs
- Declaring a Struct
- Exercises
- Namespaces
- Declaring a Namespace
- Importing Another Namespace
- Exercises
- Enumerations
- Declaring an Enumeration
- Exercises
- Exceptions
- Catching Exceptions
- Raising Exceptions
- Exercises
- Functions as Objects and Multithreading
- Exercises
- Generators
- Generator Expressions
- Generator Methods
- Exercises
- Macros
- print Macro
- assert Macro
- using Macro
- lock Macro
- debug Macro
- Duck typing
- Exercises
- Using the Boo Compiler
- Command-line Options
- Using NAnt
- Structure of a Boo Project
- On the Project-level
- On the File-level
- Documentation
- Useful Links
Back to Home