From Ruby to Golang
Title | From Ruby to Golang PDF eBook |
Author | Joel Bryan Juliano |
Publisher | Joel Bryan Juliano |
Pages | 141 |
Release | 2019-07-17 |
Genre | Computers |
ISBN | 1080944001 |
Imagine that you like to learn a new programming language, and you start by leveraging what you already know and bridge the gap in learning specific parts of the new language. This book was created on that idea, it starts with using my existing language knowledge and experience to breakdown Go into familiar Ruby concepts and implementations. The first thing I did to learn Go professionally is to relate to what I know in Ruby. I’ve been a professional Ruby programmer since 2009 and in over a decade of professional experience working as a software engineer, I have worked on multiple programming languages. And proven personally that it’s easier to learn a programming concept from something familiar to me. This helps me to learn the new language faster, which also means being productive much faster as well. This book was created on my first-hand experience of learning Go from my existing knowledge and experience in Ruby. The book was carefully thought from ground-up, collecting familiar patterns, abstracts, and analogs in Ruby, and relate it with a proper implementation in Go. By teaching familiar implementations found in Ruby, you will see the correlation between the two languages, establishing familiar concepts to give you enough knowledge to be comfortable with Go and to start programming with it. Go is an easy language to work with, it’s modern, flexible, powerful and fast. It compiles to binary which gives it an ability for a binary distribution that runs on different platforms, and Go has almost in par performance with C, with package support, memory safety, automatic garbage collection and concurrency built-in. And you get all the nice features from a statically typed language, which IDEs can make use of, and so also improving your development workflow. Notable open-source projects are built using Go (i.e. Docker, Kubernetes, Etherium and Terraform to name a few), this gives you an advantage because those platforms have APIs and SDKs readily available in Go natively for you to use. And many global companies have been using Go in production (i.e. Google, Netflix, Dropbox, Heroku and Uber to name a few), proving that it has been battle-tested and powerful mature language to based your work into. Go is created by an interesting mixed of people. Google is the company that funded Go’s development, and the authors of Go who designed the language are mainly Robert Griese- mer (worked on V8 Javascript Engine, Java HotSpot VM, and the Strongtalk system), Rob Pike (known for Plan 9 and UTF-8), and Ken Thompson (known for Unix, C programming language, Plan 9, UTF-8 and Inferno to name a few). This book will definitely help you get started with Go from your existing Ruby knowledge, and start to hit the ground fast, running!
Learn to Program
Title | Learn to Program PDF eBook |
Author | Chris Pine |
Publisher | Pragmatic Bookshelf |
Pages | 317 |
Release | 2021-06-17 |
Genre | Computers |
ISBN | 1680508725 |
It's easier to learn how to program a computer than it has ever been before. Now everyone can learn to write programs for themselves - no previous experience is necessary. Chris Pine takes a thorough, but lighthearted approach that teaches you the fundamentals of computer programming, with a minimum of fuss or bother. Whether you are interested in a new hobby or a new career, this book is your doorway into the world of programming. Computers are everywhere, and being able to program them is more important than it has ever been. But since most books on programming are written for other programmers, it can be hard to break in. At least it used to be. Chris Pine will teach you how to program. You'll learn to use your computer better, to get it to do what you want it to do. Starting with small, simple one-line programs to calculate your age in seconds, you'll see how to write interactive programs, to use APIs to fetch live data from the internet, to rename your photos from your digital camera, and more. You'll learn the same technology used to drive modern dynamic websites and large, professional applications. Whether you are looking for a fun new hobby or are interested in entering the tech world as a professional, this book gives you a solid foundation in programming. Chris teaches the basics, but also shows you how to think like a programmer. You'll learn through tons of examples, and through programming challenges throughout the book. When you finish, you'll know how and where to learn more - you'll be on your way. What You Need: All you need to learn how to program is a computer (Windows, macOS, or Linux) and an internet connection. Chris Pine will lead you through setting set up with the software you will need to start writing programs of your own.
Eloquent Ruby
Title | Eloquent Ruby PDF eBook |
Author | Russ Olsen |
Publisher | Addison-Wesley Professional |
Pages | 446 |
Release | 2011-02-07 |
Genre | Computers |
ISBN | 0321700279 |
It’s easy to write correct Ruby code, but to gain the fluency needed to write great Ruby code, you must go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for. Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. A part of the renowned Addison-Wesley Professional Ruby Series, Eloquent Ruby will help you “put on your Ruby-colored glasses” and get results that make you a true believer.
Practical Object-oriented Design in Ruby
Title | Practical Object-oriented Design in Ruby PDF eBook |
Author | Sandi Metz |
Publisher | Pearson Education |
Pages | 272 |
Release | 2013 |
Genre | Computers |
ISBN | 0321721330 |
The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications Ruby's widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples. This book focuses squarely on object-oriented Ruby application design. Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues. This guide will help you Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade Decide what belongs in a single Ruby class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Design cost-effective tests Solve common problems associated with poorly designed Ruby code
Ruby Bridges Goes to School: My True Story
Title | Ruby Bridges Goes to School: My True Story PDF eBook |
Author | Ruby Bridges |
Publisher | Scholastic Inc. |
Pages | 36 |
Release | 2016-05-31 |
Genre | Juvenile Nonfiction |
ISBN | 1338106945 |
The extraordinary true story of Ruby Bridges, the first Black child to integrate a New Orleans school -- now with simple text for young readers! In 1960, six-year-old Ruby Bridges walked through an angry crowd and into a school, changing history. This is the true story of an extraordinary little girl who became the first Black person to attend an all-white elementary school in New Orleans. With simple text and historical photographs, this easy reader explores an amazing moment in history and celebrates the courage of a young girl who stayed strong in the face of racism.
Learning Go
Title | Learning Go PDF eBook |
Author | Jon Bodner |
Publisher | "O'Reilly Media, Inc." |
Pages | 378 |
Release | 2021-03-02 |
Genre | Computers |
ISBN | 1492077186 |
Go is rapidly becoming the preferred language for building web services. While there are plenty of tutorials available that teach Go's syntax to developers with experience in other programming languages, tutorials aren't enough. They don't teach Go's idioms, so developers end up recreating patterns that don't make sense in a Go context. This practical guide provides the essential background you need to write clear and idiomatic Go. No matter your level of experience, you'll learn how to think like a Go developer. Author Jon Bodner introduces the design patterns experienced Go developers have adopted and explores the rationale for using them. You'll also get a preview of Go's upcoming generics support and how it fits into the language. Learn how to write idiomatic code in Go and design a Go project Understand the reasons for the design decisions in Go Set up a Go development environment for a solo developer or team Learn how and when to use reflection, unsafe, and cgo Discover how Go's features allow the language to run efficiently Know which Go features you should use sparingly or not at all
Polished Ruby Programming
Title | Polished Ruby Programming PDF eBook |
Author | Jeremy Evans |
Publisher | Packt Publishing Ltd |
Pages | 434 |
Release | 2021-07-16 |
Genre | Computers |
ISBN | 1801077916 |
Elevate your Ruby skills to an advanced level by deepening your understanding of the design principles, best practices, and trade-offs involved in implementation approaches to future-proof your Ruby applications Key FeaturesLearn Ruby web application design principles and strategies for databases, security, and testing from a Ruby committer Understand the design principles behind polished Ruby code and trade-offs between implementation approachesUse metaprogramming and DSLs to reduce the amount of code needed without decreasing maintainabilityBook Description Anyone striving to become an expert Ruby programmer needs to be able to write maintainable applications. Polished Ruby Programming will help you get better at designing scalable and robust Ruby programs, so that no matter how big the codebase grows, maintaining it will be a breeze. This book takes you on a journey through implementation approaches for many common programming situations, the trade-offs inherent in each approach, and why you may choose to use different approaches in different situations. You'll start by refreshing Ruby fundamentals, such as correctly using core classes, class and method design, variable usage, error handling, and code formatting. Then you'll move on to higher-level programming principles, such as library design, use of metaprogramming and domain-specific languages, and refactoring. Finally, you'll learn principles specific to web application development, such as how to choose a database and web framework, and how to use advanced security features. By the end of this Ruby programming book, you'll be a well rounded web developer with a deep understanding of Ruby. While most code examples and principles discussed in the book apply to all Ruby versions, some examples and principles are specific to Ruby 3.0, the latest release at the time of publication. What you will learnUse Ruby's core classes and design custom classes effectivelyExplore the principles behind variable usage and method argument choiceImplement advanced error handling approaches such as exponential backoffDesign extensible libraries and plugin systems in RubyUse metaprogramming and DSLs to avoid code redundancyImplement different approaches to testing and understand their trade-offsDiscover design patterns, refactoring, and optimization with RubyExplore database design principles and advanced web app securityWho this book is for This book is for Ruby programmers who are comfortable in coding with Ruby but want to advance their skills by mastering the deeper principles and best practices behind writing maintainable, scalable, optimized, and well-structured Ruby code. This book won't teach you the basics of Ruby – you'll need intermediate knowledge and practical experience before you can dive in.