Giter Site home page Giter Site logo

100-days-of-ruby's Introduction

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

100-days-of-ruby's People

Contributors

marcosvbras avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.