Science current events, science news articles, research and discoveries.
Top science news articles and science current events stories from the past week.
Science Current Events Resources
Science Current Events and Science News RSS Feeds
Earth, Life and Space Science News and Current Events RSS Feeds.
|
 |
 |
 |
| View Larger Image | Beginning Lua Programming (Programmer to Programmer) by Kurt Jung, Aaron Brown
| | List Price: | $39.99 | | Price: | $26.39 | | You Save: | $13.60 (34%) |  | | Available: | Usually ships in 24 hours |  | |  | | Sales Rank: | 240375 | | Studio: | Wrox |  | | Binding: | Paperback | | Number Of Pages: | 644 | | Publication Date: | February 12, 2007 | | Publisher: | Wrox |
| |
EDITORIAL REVIEWS | Product Description Lua offers a wide range of features that you can use to support and enhance your applications. With this book as your guide, you’ll gain a thorough understanding of all aspects of programming with this powerful language. The authors present the fundamentals of programming, explain standard Lua functions, and explain how to take advantage of free Lua community resources. Complete code samples are integrated throughout the chapters to clearly demonstrate how to apply the information so that you can quickly write your own programs. |
CUSTOMER REVIEWS (Average Customer Rating: 3.5 based on 6 reviews)
| My review of the "Beginning Lua Programming"  First of all, I am impressed with this book. It is easy reading. The technical content is cohesive. It flows from one topic to the next in a smooth logical manor. The writers did a very good job of directing the text to me, the reader, and not to empty space. I have been programming with real time embedded systems since 1975. My first programming experience was writing assembler code in Octal for an Intel 8080a processor. Since those days, I have had the opportunity, or the misfortune as some would say, to read volumes of manuals. Most manuals were written by the supplier of the CPU, such as Intel, Motorola, Zilog, TI, ST Micro, etc. To say the least, the information was mostly there. Although it took an enormous amount of time to `extract' the information. The point of this, is to say time is precious. Having to read a manual while under a time deadline is not much fun. So when I began reading Lua Programming by Jung and Brown, was I pleasantly surprised! It is as though the writers were in the room talking directly to me. Not talking to empty space, but actually talking to me, the reader. Because they took the time to write clearly and concisely, this book will be in my library with my 8080a assembly language primer.
However before I finish, I feel that I must address an injustice. At this time, there are two other reviews of this book, those reviews did a terrible hack job in the form of a review. It appears nothing more that an amateurish attempt to discredit a fine book. Since both refer to the exact same book, I can only image they were paid to write those disingenuous reviews.
I would honestly rate this book as a solid 4.5 for the above mentioned items. But because of the two hacks, I shall rate the book a 5 to right the afore mentioned injustice.
November 03, 2007 | | C'mon mate, fair go!!!  I think that some of the reviewers might have been a little harsh on this book. I do agree that the coverage of some of the more in-depth topics such as metatables, closures, upvalues to mention a few may have been better presented in the PIL but this book does offer value in its presentation of web programming, database programming and compiling Lua for various platforms, all of which are not covered in the PIL.
Also on the plus side, the typesetting is a bit richer and you can download all of the examples in the book from the wrox web site. Also, you will find that the examples covered in this book are quite extensive. PIL is better suited for more experienced programmers but if you are starting out with a scripting language, you have chosen well in Lua and you can't really go wrong with this book. May 07, 2007 | | Poorly written 
First let me describe my background, so you know where I'm coming from.
I'm an experienced programmer by trade and was interested in writing a C application in my spare time that used Lua as an internal scripting engine.
Much to my surprise I found this book to be confusing. I found the description of upvalues, closures and tail calls hard to understand. I found the way the book handled Lua's object-oriented programming methodology (and modules) was very sparse and not very useful.
Finally, most pertinent to me is the content on how to integrate and use Lua from a host C application. It was disappointingly lacking. First, that content is split over two chapters haphazardly (Chapter 12 - Using Community Libraries, where the book describes calling a C function from Lua, and Chapter 13 - Interfacing Lua with Other Languages, where the rest of the content resides). In addition the book totally omits information on how to setup a full hosting environment to Lua - such as making all the standard Lua libraries available to your scripts. Hint: use luaL_openLibs... this isn't mentioned anywhere in the book. This is important to know, because if you don't provide the libraries, your script won't be able to use io, strings, etc. A quick search on the internet revealed all I needed to get started on this topic - google Christian Larsen's "Using Lua with C++" tutorial for something that is actually WELL WRITTEN, and that something the book should have covered.
I would recommend people stay away from this book and get Programming in Lua, Second Edition by Roberto Ierusalimschy instead. I ended up buying this book after finding myself in circles from reading Beginning Lua Programming. April 20, 2007 | | A Soup to Nuts Intro  I'd like to give this book 4.5 stars, but that doesn't seem to be an option. I think quite highly of Lua and use it a lot. So I like to keep a collection of references that I can loan out to my colleagues and my students in a nut-so-subtle attempt to get them hooked. This book fulfills that role quite nicely.
I think this is an excellent book for several reasons: 1) I can loan it out both to intro students (who have not had much experience in compiling/installing software, coding anything other than toy programs, etc.) and I can loan it to colleagues who can skip all the fundamental material and yet still learn something interesting about Lua, and programming in general; 2) although it's close to 650 pages, it's 650ish pages of useful material, it doesn't achieve its bulk by being filled with gazillions of pages of on-line API documentation, and other fluff like many other intro books; 3) it has exercises (with answers in the back) for each chapter.
There are only two complaints I have with the book and neither are major. In Chapter 18 (Carrying Lua with you) there is no mention of the Lua port for PocketPC and a handful of other platforms. Although I don't use Windows much, there is a nice port of Lua that I use on an HP iPAQ. The other complaint is perhaps a little curmudgeonly: I don't like the authors' usage of the term "side-effect". While technically correct, it doesn't really align well with how most people, particularly in an intro setting, use the term.
That said, I think this is an excellent intro to Lua, contains good examples of programming in general, and I'm quite pleased to have a copy on my book collection. April 16, 2007 | | good, but not for your first programming language  I got this book after failed attempts trying to teach myself C and C++ and thought since the Lua language had simple high level syntax and no OOP, that it would be a breaze. Well first off Lua does have OOP, its just not the fill in the blank type of OOP you may know from other languages. Reading chapter 4 which introduces tables, I was just blown away by the complexity of function scopes as a roll your own OOP construct. If you dont believe me, download the code from www.wrox.com and see if you can figure out what the code for ch4 does. If you think the chapter on tables is all about programs that keep track of employee names and addresses, youre in for an eye opener. I will definately be coming back to this book, but this wont be the book that first teaches me how to program.
Edit: I want to add to this review because Ive learned a lot about Lua since I first wrote it. Basically I think you should skip Lua as a first language since either Python or Ruby are clearer and easier to use. And there is really no reason to use Lua at all since Python has all the functional programming features that Lua has and a lot more. Infact if you want to learn functional programming I suggest just using a real functional language like Scheme, Lisp, Haskell or Erlang and dont screw around with some scripting language that just adds a few functional features as a gimic. The only other reason you would want to use Lua is because it is fast and light as an embedded language in game scripting, but again there are better choices like Pike and Squirrel. April 01, 2007 | |
SIMILAR PRODUCTS |
| |
|
|
|
|