Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Rubyisms in Rails, Digital Shortcut

Buy

This is not a programming guide. Yes, there is code, but this digital shortcut is not about coding. Rather, this is really a short about design, about philosophy, and about appreciating beauty. This short looks at the way in which the grace of Ruby informs the design of Rails.

This is a surprisingly underappreciated concept. Of course, many people have already written about what they find beautiful in Railsaspects of style we will explore furtherbut what the newcomer to Rails might miss is that Rails's design directly reflects Ruby's underlying beauty. Although the name Ruby on Rails suggests that the Rails model could be developed on top of other languages (Perl on Rails? Visual Basic on Rails? Cobol on Rails?), such development is impossible without losing some things in the process. Sure, any Rails port or clone can share certain outward similarities (in the way a cheap lemon and a well-designed automobile both have steering wheels and engines and doors and seats), but Rails's success is as much a measure of Ruby's expressive power as it is of Rails's conventions. Sadly, however, this point is usually lost on people coming to Rails from other more limited languages (PHP, Perl, C++, Java, and so on); but then again, it is never really a connection that is stressed.

This digital shortcut is not a guide for learning Rails; you can already find many excellent books on that topic. However, all of them are designed to quickly drive their readers toward proficiency in Rails. They just do not have the luxury of exploring the Ruby foundation of Rails in any depth. Instead, they usually have to treat distinctive Ruby featuresthings such as symbols, blocks, and metaprogrammingin passing (if at all), like quaint towns and scenic overlooks glimpsed briefly from a car hurtling forward on an interstate highway. The problem here is that the beauty of Ruby gets short shrift. Therefore, many people who have come to coding in Ruby from Rails do not really get Ruby as much as they would like. That is where this digital shortcut comes in.

We're taking the scenic route instead. I do not cover a hitlist of topics either quickly or in depth. I do not teach you Ruby or Rails in 10 days or your money back. I assume you already know how Rails works. By extension, I also assume you have some experience with Ruby but do not understand it entirely; that is, your Ruby coding resembles more Ruby-inflected PHP or Ruby-tinged Java, and you want to become more articulate in the Ruby language. This is not an in-depth guide to the Ruby language, however. Instead, I share with you a few examples of code from within the Rails source code (and perhaps a few other places) that I think are beautiful, some of which also conveniently cause confusion and bewilderment to newcomers. The main goal is aesthetic appreciation and philosophical alignment, nothing more. However, I hope this approach affects you in subtler waysimproving your understanding of why Ruby works and how you can become a better programmer in it.

(HTML tags aren't allowed.)

Statistical Models for Data Analysis (Studies in Classification, Data Analysis, and Knowledge Organization)
Statistical Models for Data Analysis (Studies in Classification, Data Analysis, and Knowledge Organization)

The papers in this book cover issues related to the development of novel statistical models for the analysis of data. They offer solutions for relevant problems in statistical data analysis and contain the explicit derivation of the proposed models as well as their implementation. The book assembles the selected and refereed proceedings of...

My New iPad: A User's Guide
My New iPad: A User's Guide

The iPad is cute. It's lovable. It's fun to play with. And it's a bit mysterious.

My New iPad is your guide to getting more from your new iPad, Apple's latest magical creation. You'll learn how to do the things you want to do right now—like surf the Internet, send email, listen to music,...

A Guide to LATEX: Document Preparation for Beginners and Advanced Users (3rd Edition)
A Guide to LATEX: Document Preparation for Beginners and Advanced Users (3rd Edition)

A completely revised edition of this accessible guide to LATEX document preparation, bringing it up to date with the latest releases and Web ad PC based developments. A Guide to LATEX covers the basics as well as advanced LATEX topics and contains numerous practical examples and handy tips for avoiding problems. It covers the latest LATEX...


Physical Medicine and Rehabilitation: Principles and Practice (2 Volume Set)
Physical Medicine and Rehabilitation: Principles and Practice (2 Volume Set)

The gold-standard physical medicine and rehabilitation text is now in its Fourth Edition—with thoroughly updated content and a more clinical focus. More than 150 expert contributors—most of them new to this edition—address the full range of issues in contemporary physical medicine and rehabilitation and present...

A Practical Guide to Data Structures and Algorithms using Java
A Practical Guide to Data Structures and Algorithms using Java

Although traditional texts present isolated algorithms and data structures, they do not provide a unifying structure and offer little guidance on how to appropriately select among them. Furthermore, these texts furnish little, if any, source code and leave many of the more difficult aspects of the implementation as exercises. A fresh...

PowerPoint 2010 For Dummies
PowerPoint 2010 For Dummies

Start creating dynamite presentations with PowerPoint 2010

PowerPoint, the number one presentation software, has been revised and improved with the introduction of Microsoft Office 2010. More than 120 million people are using PowerPoint to create business and educational presentations worldwide.

Both new and veteran...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy