Ruby Best Practices. Increase Your Productivity - Write Better Code
![Język publikacji: angielski Język publikacji: angielski](https://static01.helion.com.pl/global/flagi/1.png)
- Autor:
- Gregory T Brown
![Ruby Best Practices. Increase Your Productivity - Write Better Code Gregory T Brown - okładka ebooka](https://static01.helion.com.pl/global/okladki/326x466/e_2gc9.png)
![Ruby Best Practices. Increase Your Productivity - Write Better Code Gregory T Brown - tył okładki ebooka](https://static01.helion.com.pl/global/okladki-tyl/326x466/e_2gc9.png)
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 328
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Ruby Best Practices. Increase Your Productivity - Write Better Code
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.
Wybrane bestsellery
-
Writing code is the easy part of your work as a software developer. This practical book lets you explore the other 90%—everything from requirements discovery and rapid prototyping to business analysis and designing for maintainability. Instead of providing neatly packaged advice from on hig...
Programming Beyond Practices. Be More Than Just a Code Monkey Programming Beyond Practices. Be More Than Just a Code Monkey
(93.32 zł najniższa cena z 30 dni)93.12 zł
109.00 zł(-15%) -
Ta książka zawiera szereg praktycznych wskazówek dotyczących przygotowania, przeprowadzania i oceniania wyników kontrolowanych eksperymentów online. Dzięki niej nauczysz się stosować naukowe podejście do formułowania założeń i oceny hipotez w testach A/B, dowiesz się także, jak sprawdzać wiarygod...
Kontrolowane eksperymenty online. Praktyczny przewodnik po testach A/B Kontrolowane eksperymenty online. Praktyczny przewodnik po testach A/B
(55.30 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
Pytest – nowoczesny framework do uruchamiania testów automatycznych w języku Python. Można używać tej platformy do przeprowadzania testów jednostkowych, ale sprawdzi się świetnie także podczas konstruowania rozbudowanych testów wyższego poziomu (integracyjnych, end-to-end) dla całych aplika...
Pytest. Kurs video. Automatyzacja testów w Pythonie Pytest. Kurs video. Automatyzacja testów w Pythonie
(81.95 zł najniższa cena z 30 dni)67.05 zł
149.00 zł(-55%) -
Testowanie oprogramowania to jedna z najdynamiczniej rozwijających się dziedzin inżynierii oprogramowania. Zarobki doświadczonych testerów są porównywalne z wynagrodzeniem, jakie otrzymują dobrzy programiści. Aby rozpocząć karierę w tym zawodzie, trzeba się legitymować odpowiednimi umiejętnościam...
Certyfikowany tester ISTQB®. Poziom podstawowy. Wydanie II Certyfikowany tester ISTQB®. Poziom podstawowy. Wydanie II
(65.40 zł najniższa cena z 30 dni)70.85 zł
109.00 zł(-35%) -
Ten praktyczny przewodnik zawiera szeroki przegląd strategii, wzorców i form testowania oprogramowania, ułatwiających dobór ścieżek i podejść do konkretnych projektów w zależności od zakresu, budżetu i ram czasowych. Książka uczy przydatnych umiejętności w zakresie przeprowadzania testów wydajnoś...
Testowanie full stack. Praktyczny przewodnik dostarczania oprogramowania wysokiej jakości Testowanie full stack. Praktyczny przewodnik dostarczania oprogramowania wysokiej jakości
(53.40 zł najniższa cena z 30 dni)57.84 zł
89.00 zł(-35%) -
Naglący termin, niedoczas, permanentne opóźnienie - oto najwierniejsi towarzysze i zarazem najwięksi wrogowie kierownika projektu. Nawet certyfikowani project managerowie, ludzie z ogromną wiedzą i nie mniejszym doświadczeniem, raz po raz znajdują się w sytuacji, w której potrzeba naprawdę wielki...(35.40 zł najniższa cena z 30 dni)
38.35 zł
59.00 zł(-35%) -
Ta książka to sprawdzone źródło informacji na temat Pythona i jego najczęstszych zastosowań. Należy ona do cenionej serii „Receptury”, w której znajdziesz najlepsze sposoby rozwiązywania problemów. Przekonaj się, jak wydajnie operować na strukturach danych, łańcuchach znaków, tekście ...(9.90 zł najniższa cena z 30 dni)
49.50 zł
99.00 zł(-50%) -
„Excel jest naprawdę fantastycznym programem, a jego możliwości są nieskończone…” — myślisz zwykle do chwili, w której okazuje się, że coś, co powinno zająć Ci dwie minuty, zajmuje całe godziny, ponieważ projektanci Excela czegoś nie przewidzieli. Wtedy właśnie do akcji po...(6.45 zł najniższa cena z 30 dni)
6.45 zł
12.90 zł(-50%) -
This book explores the potential of ChatGPT-powered chatbots and conversational AI. You'll delve into understanding the technology, its implementation, and practical use cases, while leveraging AI-powered conversations.
ChatGPT for Conversational AI and Chatbots. Learn how to automate conversations with the latest large language model technologies ChatGPT for Conversational AI and Chatbots. Learn how to automate conversations with the latest large language model technologies
(92.88 zł najniższa cena z 30 dni) -
You'll learn to use Angular to develop and test scalable apps, and explore its features and master concepts, such as dependency injection, reactive programming, and state management, as well as utilize libraries like Nx, RxJS, and NgRx to build professional apps.
Effective Angular. Develop applications of any size by effectively using Angular with Nx, RxJS, NgRx, and Cypress Effective Angular. Develop applications of any size by effectively using Angular with Nx, RxJS, NgRx, and Cypress
(78.48 zł najniższa cena z 30 dni)
Ebooka "Ruby Best Practices. Increase Your Productivity - Write Better Code" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Ruby Best Practices. Increase Your Productivity - Write Better Code" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Ruby Best Practices. Increase Your Productivity - Write Better Code" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-05-965-5581-8, 9780596555818
- Data wydania ebooka:
-
2009-06-11
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.5MB
- Rozmiar pliku Mobi:
- 1.5MB
Spis treści ebooka
- Ruby Best Practices
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Foreword
- Preface
- Audience
- About This Book
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Driving Code Through Tests
- A Quick Note on Testing Frameworks
- Designing for Testability
- Testing Fundamentals
- Well-Focused Examples
- Testing Exceptions
- Run the Whole Suite at Once
- Advanced Testing Techniques
- Using Mocks and Stubs
- Testing Complex Output
- Keeping Things Organized
- Embedding Tests in Library Files
- Test Helpers
- Custom Assertions
- Conclusions
- 2. Designing Beautiful APIs
- Designing for Convenience: Ruports Table() feature
- Rubys Secret Power: Flexible Argument Processing
- Standard Ordinal Arguments
- Ordinal Arguments with Optional Parameters
- Pseudo-Keyword Arguments
- Treating Arguments As an Array
- Rubys Other Secret Power: Code Blocks
- Working with Enumerable
- Using Blocks to Abstract Pre- and Postprocessing
- Blocks As Dynamic Callbacks
- Blocks for Interface Simplification
- Avoiding Surprises
- Use attr_reader, attr_writer, and attr_accessor
- Understand What method? and method! Mean
- Question marks
- Exclamation points
- Make Use of Custom Operators
- Conclusions
- 3. Mastering the Dynamic Toolkit
- BlankSlate: A BasicObject on Steroids
- Building Flexible Interfaces
- Making instance_eval() Optional
- Handling Messages with method_missing() and send()
- Dual-Purpose Accessors
- Implementing Per-Object Behavior
- Extending and Modifying Preexisting Code
- Adding New Functionality
- Modification via Aliasing
- Per-Object Modification
- Building Classes and Modules Programmatically
- Registering Hooks and Callbacks
- Detecting Newly Added Functionality
- Tracking Inheritance
- Tracking Mixins
- Conclusions
- 4. Text Processing and File Management
- Line-Based File Processing with State Tracking
- Regular Expressions
- Dont Work Too Hard
- Anchors Are Your Friends
- Use Caution When Working with Quantifiers
- Working with Files
- Using Pathname and FileUtils
- The tempfile Standard Library
- Automatic Temporary Directory Handling
- Collision Avoidance
- Same Old I/O Operations
- Automatic Unlinking
- Text-Processing Strategies
- Advanced Line Processing
- Using Enumerator
- Tracking line numbers
- Advanced Line Processing
- Atomic Saves
- Conclusions
- 5. Functional Programming Techniques
- Laziness Can Be a Virtue (A Look at lazy.rb)
- Minimizing Mutable State and Reducing Side Effects
- Modular Code Organization
- Memoization
- Infinite Lists
- Higher-Order Procedures
- Conclusions
- 6. When Things Go Wrong
- A Process for Debugging Ruby Code
- Capturing the Essence of a Defect
- Scrutinizing Your Code
- Utilizing Reflection
- Improving inspect Output
- Finding Needles in a Haystack
- Working with Logger
- Conclusions
- 7. Reducing Cultural Barriers
- m17n by Example: A Look at Rubys CSV Standard Library
- Portable m17n Through UTF-8 Transcoding
- Source Encodings
- Working with Files
- Transcoding User Input in an Organized Fashion
- m17n in Standalone Scripts
- Inferring Encodings from Locale
- Customizing Encoding Defaults
- m17n-Safe Low-Level Text Processing
- Localizing Your Code
- Conclusions
- 8. Skillful Project Maintenance
- Exploring a Well-Organized Ruby Project (Haml)
- Conventions to Know About
- What Goes in a README
- Laying Out Your Library
- Executables
- Tests
- Examples
- API Documentation via RDoc
- Basic Documentation Techniques and Guidelines
- Controlling Output with RDoc Directives
- The RubyGems Package Manager
- Writing a Gem::Specification
- Working with Dependencies
- Rake: Rubys Built-in Build Utility
- Conclusions
- A. Writing Backward-Compatible Code
- Avoiding a Mess
- Selective Backporting
- Version-Specific Code Blocks
- Compatibility Shims for Common Operations
- Avoiding a Mess
- Nonportable Features in Ruby 1.9
- Pseudo-Keyword Hash Syntax
- Multisplat Arguments
- Block-Local Variables
- Block Arguments
- New Proc Syntax
- Oniguruma
- Most m17n Functionality
- Workarounds for Common Issues
- Using Enumerator
- String Iterators
- Character Operations
- Encoding Conversions
- Conclusions
- B. Leveraging Rubys 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
- C. Ruby Worst Practices
- Not-So-Intelligent Design
- Class Variables Considered Harmful
- Hardcoding Yourself Into a Corner
- When Inheritance Becomes Restrictive
- Not-So-Intelligent Design
- The Downside of Cleverness
- The Evils of eval()
- Blind Rescue Missions
- Doing method_missing Wrong
- Conclusions
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
Keeping up with the Python ecosystem can be daunting. Its developer tooling doesn't provide the out-of-the-box experience native to languages like Rust and Go. When it comes to long-term project maintenance or collaborating with others, every Python project faces the same problem: how to build re...(203.15 zł najniższa cena z 30 dni)
203.29 zł
239.00 zł(-15%) -
Bringing a deep-learning project into production at scale is quite challenging. To successfully scale your project, a foundational understanding of full stack deep learning, including the knowledge that lies at the intersection of hardware, software, data, and algorithms, is required.This book il...(237.15 zł najniższa cena z 30 dni)
244.53 zł
279.00 zł(-12%) -
Frontend developers have to consider many things: browser compatibility, usability, performance, scalability, SEO, and other best practices. But the most fundamental aspect of creating websites is one that often falls short: accessibility. Accessibility is the cornerstone of any website, and if a...(202.60 zł najniższa cena z 30 dni)
202.55 zł
239.00 zł(-15%) -
In this insightful and comprehensive guide, Addy Osmani shares more than a decade of experience working on the Chrome team at Google, uncovering secrets to engineering effectiveness, efficiency, and team success. Engineers and engineering leaders looking to scale their effectiveness and drive tra...(116.53 zł najniższa cena z 30 dni)
116.48 zł
149.00 zł(-22%) -
Data modeling is the single most overlooked feature in Power BI Desktop, yet it's what sets Power BI apart from other tools on the market. This practical book serves as your fast-forward button for data modeling with Power BI, Analysis Services tabular, and SQL databases. It serves as a starting ...(202.78 zł najniższa cena z 30 dni)
202.28 zł
239.00 zł(-15%) -
C# is undeniably one of the most versatile programming languages available to engineers today. With this comprehensive guide, you'll learn just how powerful the combination of C# and .NET can be. Author Ian Griffiths guides you through C# 12.0 and .NET 8 fundamentals and techniques for building c...(245.09 zł najniższa cena z 30 dni)
244.59 zł
279.00 zł(-12%) -
Learn how to get started with Futures Thinking. With this practical guide, Phil Balagtas, founder of the Design Futures Initiative and the global Speculative Futures network, shows you how designers and futurists have made futures work at companies such as Atari, IBM, Apple, Disney, Autodesk, Luf...(150.10 zł najniższa cena z 30 dni)
150.00 zł
179.00 zł(-16%) -
Augmented Analytics isn't just another book on data and analytics; it's a holistic resource for reimagining the way your entire organization interacts with information to become insight-driven.Moving beyond traditional, limited ways of making sense of data, Augmented Analytics provides a dynamic,...(178.05 zł najniższa cena z 30 dni)
177.85 zł
209.00 zł(-15%) -
Learn how to prepare for—and pass—the Kubernetes and Cloud Native Associate (KCNA) certification exam. This practical guide serves as both a study guide and point of entry for practitioners looking to explore and adopt cloud native technologies. Adrián González Sánchez ...
Kubernetes and Cloud Native Associate (KCNA) Study Guide Kubernetes and Cloud Native Associate (KCNA) Study Guide
(169.14 zł najniższa cena z 30 dni)177.65 zł
199.00 zł(-11%) -
Python is an excellent way to get started in programming, and this clear, concise guide walks you through Python a step at a time—beginning with basic programming concepts before moving on to functions, data structures, and object-oriented design. This revised third edition reflects the gro...(143.54 zł najniższa cena z 30 dni)
143.04 zł
179.00 zł(-20%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
![Loader](https://static01.helion.com.pl/ebookpoint/img/ajax-loader.gif)
![ajax-loader](https://static01.helion.com.pl/ebookpoint/img/ajax-loader.gif)
Oceny i opinie klientów: Ruby Best Practices. Increase Your Productivity - Write Better Code Gregory T Brown (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.