Code Clinic: Ruby

Code Clinic: Ruby
Author:
Publisher:
Total Pages:
Release: 2014
Genre:
ISBN:

Explore solutions to common Ruby programming challenges, and compare the results with other programming languages, in the Code Clinic series.

Code Clinic: Ruby

Code Clinic: Ruby
Author:
Publisher:
Total Pages:
Release: 2014
Genre:
ISBN:

Many successful programmers know more than just a computer language. They also know how to think about solving problems. They use "computational thinking": breaking a problem down into segments that lend themselves to technical solutions. Code Clinic is a series of six courses where authors solve the same problems using different programming languages. Here, Kevin Skoglund works with Ruby. Kevin introduces challenges and provides an overview of his solutions in Ruby. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices. Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, Java, PHP, and Python.

Code Clinic: R.

Code Clinic: R.
Author:
Publisher:
Total Pages:
Release: 2018
Genre:
ISBN:

Successful programmers know more than just how to code. They also know how to think about solving problems. Code Clinic is a series of courses where our instructors solve the same problems using different programming languages. Here, Mark Niemann-Ross works with R. Throughout the course, Mark introduces challenges and then provides an overview of his solutions in R. Challenges include topics such as statistical analysis and accessing peripheral devices. Visit other courses in the series to see how to solve the same challenges in languages like C++, C#, JavaScript, PHP, Python, Ruby, Go, and Swift.

Ruby

Ruby
Author: Jules J. Berman
Publisher: Jones & Bartlett Learning
Total Pages: 51
Release: 2008-02-14
Genre: Computers
ISBN: 0763757578

An ideal companion to many introductory computer science courses, as well as an excellent primer, Ruby: The Programming Language offers an accessible introduction to this easy to learn, open-source language. This overview describes the fundamentals of the object-oriented Ruby language and discusses how students can quickly construct complete web applications with ease. Ruby: The Programming Language will excite students on the capabilities of computer programming and inspire them to delve deeper into the computer science discipline.

Ruby Best Practices

Ruby Best Practices
Author: Gregory T Brown
Publisher: "O'Reilly Media, Inc."
Total Pages: 328
Release: 2009-06-11
Genre: Computers
ISBN: 0596551231

How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more. Ruby Best Practices will help you: Understand the secret powers unlocked by Ruby's code blocks Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly Discover the ins and outs of testing and debugging, and how to design for testability Learn to write faster code by keeping things simple Develop strategies for text processing and file management, including regular expressions Understand how and why things can go wrong Reduce cultural barriers by leveraging Ruby's multilingual capabilities This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.

Clean Ruby

Clean Ruby
Author: Carleton DiLeo
Publisher: Apress
Total Pages: 119
Release: 2019-11-29
Genre: Computers
ISBN: 1484255461

Learn how to make better decisions and write cleaner Ruby code. This book shows you how to avoid messy code that is hard to test and which cripples productivity. Author Carleton DiLeo shares hard-learned lessons gained from years of experience across numerous codebases both large and small. Each chapter covers the topics you need to know to make better decisions and optimize your productivity. Many books will tell you how to do something; this book will tell you why you should do it. Start writing code you love. What You Will Learn Build better classes to help promote code reuse Improve your decision making and make better, smarter choicesIdentify bad code and fixed itCreate quality names for all of your variables, classes, and modules Write better, concise classesImprove the quality of your methodsProperly use modules Clarify your Boolean logic See when and how you refactorImprove your understanding of TDD and write better tests Who This Book Is For This book is written for Ruby developers. There is no need to learn a new language or translate concepts to Ruby.

Effective Ruby

Effective Ruby
Author: Peter J. Jones
Publisher: Pearson Education
Total Pages: 236
Release: 2015
Genre: Computers
ISBN: 0133846970

If you're an experienced Ruby programmer, Effective Ruby will help you harness Ruby's full power to write more robust, efficient, maintainable, and well-performing code. Drawing on nearly a decade of Ruby experience, Peter J. Jones brings together 48 Ruby best practices, expert tips, and shortcuts--all supported by realistic code examples. Jones offers practical advice for each major area of Ruby development, from modules to memory to metaprogramming. Throughout, he uncovers little-known idioms, quirks, pitfalls, and intricacies that powerfully impact code behavior and performance. Each item contains specific, actionable, clearly organized guidelines; careful advice; detailed technical arguments; and illuminating code examples. When multiple options exist, Jones shows you how to choose the one that will work best in your situation. Effective Ruby will help you systematically improve your code--not by blindly following rules, but by thoroughly understanding Ruby programming techniques. Key features of this concise guide include How to avoid pitfalls associated with Ruby's sometimes surprising idiosyncrasies What you should know about inheritance hierarchies to successfully use Rails (and other large frameworks) How to use misunderstood methods to do amazingly useful things with collections Better ways to use exceptions to improve code reliability Powerful metaprogramming approaches (and techniques to avoid) Practical, efficient testing solutions, including MiniTest Unit and Spec Testing How to reliably manage RubyGem dependencies How to make the most of Ruby's memory management and profiling tools How to improve code efficiency by understanding the Ruby interpreter's internals

Code Clinic: R (2015).

Code Clinic: R (2015).
Author:
Publisher:
Total Pages:
Release: 2015
Genre:
ISBN:

Successful programmers know more than a computer language. They also know how to think about solving problems. They use "computational thinking": breaking a problem down into segments that lend themselves to technical solutions. Code Clinic is a series of ten courses where authors solve the same problems using different programming languages. Here, Mark Niemann-Ross works with R. Mark introduces challenges and then provides an overview of his solutions in R. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices. Visit other courses in the series to see how to solve the exact same challenges in languages like C++, C#, JavaScript, PHP, Python, Ruby, and Swift.

Code Clinic: C.

Code Clinic: C.
Author:
Publisher:
Total Pages:
Release: 2018
Genre:
ISBN:

Successful programmers know more than just how to code. They also know how to think about solving problems. Code Clinic is a series of courses where our instructors solve the same problems using different programming languages. Here, Dan Gookin works with C. Throughout the course, Dan introduces challenges and then provides an overview of his solutions in C. Challenges include topics such as geolocation and face recognition. Visit other courses in the series to see how to solve the same challenges in languages like C++, C#, JavaScript, PHP, Python, Ruby, Go, and Swift.

Comprehensive Ruby Programming

Comprehensive Ruby Programming
Author: Jordan Hudgens
Publisher: Packt Publishing Ltd
Total Pages: 319
Release: 2017-06-30
Genre: Computers
ISBN: 1787287998

This book will provide you with all of the tools you need to be a professional Ruby developer. Starting with the core principles, such as syntax and best practices, and up to advanced topics like metaprogramming and big data analysis. About This Book Provides the core skills required to become a Ruby programmer Covers how to use the most popular Ruby Gem libraries Includes details on regular expressions Who This Book Is For This is a complete course written from the ground up for beginners wanting to gain a solid understanding of the Ruby language. It starts at the beginning with how to install Ruby and work with it on multiple machines, so simply have a computer that's connected to the Internet and you'll be ready. What You Will Learn Learn how to use Ruby code effectively, picking the right tool for the job and not duplicating built-in functionality Gain best software development practices, and how to identify and fix common errors Absorb core programming skills, such as variables, strings, loops, conditionals, and much more Explore object-oriented programming and learn to create modular, reusable code that you can use across projects Build 10 practical Ruby programs as you work through the book on topics such as big data analysis and solving Euler equations In Detail Ruby is a powerful, general-purpose programming language that can be applied to any task. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this book is your comprehensive Ruby coding guide. Starting with the foundational principles, such as syntax, and scaling up to advanced topics such as big data analysis, this book will give you all of the tools you need to be a professional Ruby developer. A few of the key topics are: object-oriented programming, built-in Ruby methods, core programming skills, and an introduction to the Ruby on Rails and Sinatra web frameworks. You will also build 10 practical Ruby programs. Created by an experienced Ruby developer, this book has been written to ensure it focuses on the skills you will need to be a professional Ruby developer. After you have read this book, you will be ready to start building real-world Ruby projects. Style and approach This is a comprehensive course for learning the Ruby programming language that works methodically through everything that you need to know. It begins with the basics of the language and then works through some complete projects to apply your skills and ensure that you have fully absorbed them and can use them in the real world.