Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 3.61 KB

README.md

File metadata and controls

64 lines (50 loc) · 3.61 KB

100 Days Of Ruby

Custom image

What is this?

100 Days Of Ruby is inspired in #100DaysOfCode initiative and 60 Days Of Go repository, where I learn something new about Ruby every day during 100 days.

Custom image

This project is a piece of a series called X Days Of Something, which one includes:

Why am I doing this?

Well, writing code that works is easy (most of the time). But writing efficient, clear, concise, scalable, and maintainable code is very difficult. It may be better with a lot of practice in various types of problems and paradigms, in addition to having mastery of the language you are coding. Because of that, I decided to code every day to get out of my comfort zone and improve my view about the huge world of software development.

Why Ruby?

The right question is: Why not Ruby? Everything is beautiful in Ruby: the name, the logo and the syntax, of course. The Syntax Sugar is incredible and makes me miss it when I am coding with other programming languages. In addition, Ruby has a huge library amount, a large community and is used by big players (like Github).

So, let's code?

Custom image

Usage

These examples were compiled with Ruby 2.5.1. It is recommended to install this exactly version for a correct running.

Day Title
001 The first of all: Data Types
002 Everything in life demands conditions
003 Strings I: Interpolate & Concatenate
004 Strings II: Functions and formatting
005 Symbols: What is this weird thing?
006 Ruby Dictionaries with Hash
007 Arrays: It really looks like a List!
008 Creating Methods
009 Classes I: Constructor and Accessors
010 Classes II: Inherit to have more!
011 Classes III: Class variables and Methods
012 Blocks: Like methods, but without a name
013 While and similar loops
014 For, similar loops and Hash iterations
015 Arguments: Do I Need to use parentheses?
016 String Encryption and Base64 converter
017 Keeping only unique stuff with Set
018 Pure vs. Imperative: The symbol "!"
019 File API I: Writing and reading files
020 File API II: Some Utilities
021 Object serialization to YAML format
022 Using Mixins as Namespaces
023 Using Mixins as Inheritance Alternative
024 Including Mixins within existing objects