FreeComputerBooks.com
Links to Free Computer, Mathematics, Technical Books all over the World
|
|
- Title Programming with yab
- Author(s) Michel Clasquin-Johnson
- Publisher: smashwords
- Paperback N/A
- ebook PDF, EPUB, MOBI (Kindle).
- Language: English
- ISBN-10/ASIN: N/A
- ISBN-13: N/A1
- Share This:
This book will teach you how to program in the yab programming language, one of the main platforms for writing applications for the Haiku Operating System.
The joy of yab is that it remains a procedural language, in which instructions are followed one by one, starting at the top. Despite that, you can do things with it for which you would normally require a much more complex object-oriented language. The object orientation is all hidden in the operating system, and the programming language simply accesses it. Once you become used to this, it is quite addictive.
For example, with yab you can create a basic notepad in about twenty lines of code. When you right-click on that notepad, you will see the options to cut, copy and paste text in a context menu, even though you never programmed it in. It is simply a necessary part of what every text editing area in Haiku needs to be able to do, and every text editing area inherits that ability. This is object orientation, but you, the yab programmer, don't need to worry about the convoluted code it actually requires. This makes yab a unique programming experience. There are languages on other platforms that come close. Applescript, for example. But nothing is quite like yab.
A major use for yab is to create a graphical front-end for something you would otherwise do in Terminal. But the language can be used to create standalone applications, both for the command line and the Haiku Graphical User Interface.
About the Authors- Michel Clasquin-Johnson is a Professor of Religious Studies at the University of South Africa and was, until recently, the entire Buddhological establishment on the continent of Africa. He lives in Pretoria, South Africa with his wife, son and two motorcycles.
:
|
|