The Absolute Beginners Guide to Coding (using Ruby) Free Tutorial Download
What you’ll learn
Learn how to put instructions together to create programs
Understand the basics of programming through on-hands coding projects
Create your own online quiz, calculator, and Blackjack game
Learn how objects are a great way to reuse code and build higher level programs
Learn how to download and analyze data
Experiment with using machine learning to predict online content popularity
No programming experience required to get started with this course
A computer with an Internet connection and a modern web browser, such as Chrome or Firefox
We will be using GitPod, an online development environment. Your account is free, we will walk through setting it up.
Yes, you can learn to code even if you have absolutely no experience whatsoever. This course starts with easy-to-follow examples of how to put together instructions from an existing library to create useful programs. Most training starts from the perspective of the machine and forces you to change the way you think. Yes, You Can Code starts with you, from your perspective. If you can give someone instructions, yes, you can code. Programs are simply a set of instructions in a language that the computer can understand.
In programming terminology, the instructions are called functions or methods. For each coding challenge, instructions that you need are documented on the right-hand side of the screen. Your code is on the left side, so its all right there for you. Each video explains the basic concepts and then has a detailed walk through of how to write each program and solve each coding challenge.
Each of the 15 video lessons builds upon the previous lessons by adding a new skill that makes it easier for you to create more powerful programs. First, you put together instructions to create a simple workflow, or set of instructions we refer to as a program. Then you learn how to combine data and instructions together to form objects. Objects represent real-world entities and they make it easier to think through and write your code.
Then you learn how to control the flow of instructions by using conditional logic and loops. You learn how to handle when things go wrong (errors or exceptions), and by the end of the course you are putting all these concepts together to create fun games and useful software to analyze data.
The coding challenges include (each has documented challenge, video walk through, and full reusable solutions):
- Get the price of Bitcoin by retrieving data from a website and extracting the price
- Ask the user for their name and display a personalized greeting
- Ask the user for their birthday, and calculate how many days remaining until their birthday.
- Use conditional logic to determine if you want to buy Bitcoin based on a threshold price
- Create a timer that countdowns seconds to zero
- Create a quiz game
- Create a reusable calculator class
- Calculate your next pay raise
- Create the foundation classes for a Blackjack game
- Use those classes to implement the full game
- Read a data file from the Virginia lottery to determine how random the numbers really are
- Read a data file from a research project and use that data to predict the popularity of other online content
You will use the Ruby programming language, a powerful and flexible language that is great to learn and fast to get started. Ruby is consistently in Top 10 languages on GitHub and is used by companies such as Airbnb, GitHub, and FiveRR. Twitter started by using Ruby-on-Rails, a very powerful framework to create web applications using Ruby. Although they have migrated portions of their code to other languages, many companies get started quickly by using Ruby.
Ruby is a true object oriented language. Everything is an object. It has many built-in features and is a beautiful language to write code. You can use it on the server side or the front end for web applications. There is a vast collection of Ruby Gems, or reusable libraries that developers have written and shared with the community. Ruby is also extremely popular for scripting and DevOps.
This course has 4 hours of instructional video and 12 coding challenges included in the course. All of the programs include detailed walk throughs so you can learn by doing, and immediately see the results.
Darren, who teaches the course, has been a software engineer his entire career including 5 years building world-class services at Amazon Web Services. The course is structured though so you can succeed without requiring any coding experience at all in order to get started. If you are looking for a way to learn about this topic, this is the course for you.
Who this course is for:
- Anyone who wants to learn how to program, code, or write software