SØG - mellem flere end 8 millioner bøger:

Søg på: Titel, forfatter, forlag - gerne i kombination.
Eller blot på isbn, hvis du kender dette.

Viser: Ruby Best Practices - Increase Your Productivity - Write Better Code

Ruby Best Practices, 1. udgave
Søgbar e-bog

Ruby Best Practices Vital Source e-bog

Gregory T Brown
(2009)
O'Reilly Media, Inc
299,00 kr.
Leveres umiddelbart efter køb
Ruby Best Practices - Increase Your Productivity - Write Better Code

Ruby Best Practices

Increase Your Productivity - Write Better Code
Gregory T. Brown
(2009)
Sprog: Engelsk
O'Reilly Media, Incorporated
317,00 kr.
ikke på lager, Bestil nu og få den leveret
om ca. 10 hverdage

Detaljer om varen

  • 1. Udgave
  • Vital Source searchable e-book (Reflowable pages): 336 sider
  • Udgiver: O'Reilly Media, Inc (Juni 2009)
  • ISBN: 9780596555818
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.
Licens varighed:
Bookshelf online: 5 år fra købsdato.
Bookshelf appen: ubegrænset dage fra købsdato.

Udgiveren oplyser at følgende begrænsninger er gældende for dette produkt:
Print: -1 sider kan printes ad gangen
Copy: højest -1 sider i alt kan kopieres (copy/paste)

Detaljer om varen

  • Paperback: 328 sider
  • Udgiver: O'Reilly Media, Incorporated (Juni 2009)
  • ISBN: 9780596523008

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.

Foreword;Preface; Audience; About This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments;
Chapter 1: Driving Code Through Tests;
1.1 A Quick Note on Testing Frameworks;
1.2 Designing for Testability;
1.3 Testing Fundamentals;
1.4 Advanced Testing Techniques;
1.5 Keeping Things Organized;
1.6 Conclusions;
Chapter 2: Designing Beautiful APIs;
2.1 Designing for Convenience: Ruport's Table( ) feature;
2.2 Ruby's Secret Power: Flexible Argument Processing;
2.3 Ruby's Other Secret Power: Code Blocks;
2.4 Avoiding Surprises;
2.5 Conclusions;
Chapter 3: Mastering the Dynamic Toolkit;
3.1 BlankSlate: A BasicObject on Steroids;
3.2 Building Flexible Interfaces;
3.3 Implementing Per-Object Behavior;
3.4 Extending and Modifying Preexisting Code;
3.5 Building Classes and Modules Programmatically;
3.6 Registering Hooks and Callbacks;
3.7 Conclusions;
Chapter 4: Text Processing and File Management;
4.1 Line-Based File Processing with State Tracking;
4.2 Regular Expressions;
4.3 Working with Files;
4.4 The tempfile Standard Library;
4.5 Text-Processing Strategies;
4.6 Conclusions;
Chapter 5: Functional Programming Techniques;
5.1 Laziness Can Be a Virtue (A Look at lazy.rb);
5.2 Minimizing Mutable State and Reducing Side Effects;
5.3 Modular Code Organization;
5.4 Memoization;
5.5 Infinite Lists;
5.6 Higher-Order Procedures;
5.7 Conclusions;
Chapter 6: When Things Go Wrong;
6.1 A Process for Debugging Ruby Code;
6.2 Capturing the Essence of a Defect;
6.3 Scrutinizing Your Code;
6.4 Working with Logger;
6.5 Conclusions;
Chapter 7: Reducing Cultural Barriers;
7.1 m17n by Example: A Look at Ruby's CSV Standard Library;
7.2 Portable m17n Through UTF-8 Transcoding;
7.3 m17n in Standalone Scripts;
7.4 m17n-Safe Low-Level Text Processing;
7.5 Localizing Your Code;
7.6 Conclusions;
Chapter 8: Skillful Project Maintenance;
8.1 Exploring a Well-Organized Ruby Project (Haml);
8.2 Conventions to Know About;
8.3 API Documentation via RDoc;
8.4 The RubyGems Package Manager;
8.5 Rake: Ruby's Built-in Build Utility;
8.6 Conclusions;Writing Backward-Compatible Code; Avoiding a Mess; Nonportable Features in Ruby
1.9; Workarounds for Common Issues; Conclusions;Leveraging Ruby's Standard Library; Why Do We Need a Standard Library?; Pretty-Printer for Ruby Objects (pp); Working with HTTP and FTP (open-uri); Working with Dates and Times (date); Lexical Parsing with Regular Expressions (strscan); Cryptographic Hash Functions (digest); Mathematical Ruby Scripts (mathn); Working with Tabular Data (csv); Transactional Filesystem-Based Data Storage (pstore); Human-Readable Data Serialization (json); Embedded Ruby for Code Generation (erb); Conclusions;Ruby Worst Practices; Not-So-Intelligent Design; The Downside of Cleverness; Conclusions;Colophon;
De oplyste priser er inkl. moms

Senest sete

Polyteknisk Boghandel

har gennem mere end 50 år været studieboghandlen på DTU og en af Danmarks førende specialister i faglitteratur.

 

Vi lagerfører et bredt udvalg af bøger, ikke bare inden for videnskab og teknik, men også f.eks. ledelse, IT og meget andet.

Læs mere her


Trykt eller digital bog?

Ud over trykte bøger tilbyder vi tre forskellige typer af digitale bøger:

 

Vital Source Bookshelf: En velfungerende ebogsplatform, hvor bogen downloades til din computer og/eller mobile enhed.

 

Du skal bruge den gratis Bookshelf software til at læse læse bøgerne - der er indbygget gode værktøjer til f.eks. søgning, overstregning, notetagning mv. I langt de fleste tilfælde vil du samtidig have en sideløbende 1825 dages online adgang. Læs mere om Vital Source bøger

 

Levering: I forbindelse med købet opretter du et login. Når du har installeret Bookshelf softwaren, logger du blot ind og din bog downloades automatisk.

 

 

Adobe ebog: Dette er Adobe DRM ebøger som downloades til din lokale computer eller mobil enhed.

 

For at læse bøgerne kræves særlig software, som understøtter denne type. Softwaren er gratis, men du bør sikre at du har rettigheder til installere software på den maskine du påtænker at anvende den på. Læs mere om Adobe DRM bøger

 

Levering: Et download link sendes pr email umiddelbart efter købet.

 


Ibog: Dette er en online bog som kan læses på udgiverens website. 

Der kræves ikke særlig software, bogen læses i en almindelig browser.

 

Levering: Vores medarbejder sender dig en adgangsnøgle pr email.

 

Vi gør opmærksom på at der ikke er retur/fortrydelsesret på digitale varer.