31 May '15, 5am

Idiosyncratic Ruby - Golfing Basics: Code Golf is the art of writing the shortest program possible. The less bytes…

Code Golf is the art of writing the shortest program possible. The less bytes the better. And the competition is just ridiculously strong! Head over to Anarchy Golf if you want to see more! A good beginner's problem is printing out Pascal's Triangle : Spend a few days to get to 45 bytes. Spend a few months to get to 43 bytes! 10 Ruby Tricks You'll Learn by Playing Code Golf While code golfing does not necessarily make you a better programmer, you can learn a lot about the programming language you are using. Here are some things that were new to me: Dirty Interpolation String interpolation (#{} ) is sometimes possible without using curlies: "You can directly interpolate [email protected] variables, " \ "#@@class variables, and #$global variables!" I must admit, this can confuse newcomers, but it looks fantastic! Constant Assignment in Modifiers It is perfectly legit to use assignm...

Full article: http://idiosyncratic-ruby.com/27-golfing-basics.html

Tweets

Golf Tricks And Tips The Pros Normally Use #gol...

bunkershot.com 01 Jun '15, 10pm

About this site Online Golf Magazine featuring golf news, photos and videos Find us on Instagram Follow @BunkerShotGolf Ab...

To Ruby From Perl

ruby-lang.org 01 Jun '15, 9pm

Perl is awesome. Perl’s docs are awesome. The Perl community is … awesome. However, the language is fairly large and argua...

[Ruby on Rails]sorceryによる認証 – (5)APIでの認証 #1 実装の概要

dev.classmethod.jp 07 Jun '15, 3pm

$ curl -i -X PUT -H 'ACCESS_TOKEN: 8835b89b52db281a9988847a0cda2e58' http://localhost:3000/api/v1/users/51.json -d 'user[e...

4 Reasons to Learn Ruby as Your 1st Programming Language: Learn Ruby with us 6/27 & 6/28!

4 Reasons to Learn Ruby as Your 1st Programming...

skilledup.com 03 Jun '15, 3pm

Existing code that you can leverage — Ruby has pre-written frameworks and libraries like Ruby on Rails and Chef. You can u...

God is

God is

crystalstine.me 11 Jun '15, 11am

You see, Alisa is sharing a part of her story that is incredibly personal and life-changing. And this woman who pours joy ...

[Ruby on Rails]sorceryによる認証 – (5)APIでの認証 #2 コントローラ

dev.classmethod.jp 09 Jun '15, 1am

module Api module V1 class UsersController < Api::V1::ApplicationBaseController before_action :set_user, only: [:show, :ed...

[Ruby on Rails]sorceryによる認証 – (5)APIでの認証 #3 モデル

dev.classmethod.jp 10 Jun '15, 12am

class User < ActiveRecord::Base authenticates_with_sorcery! has_many :api_keys, dependent: :destroy validates :password, l...

Idiosyncratic Ruby: Episode 21-24

rubyflow.com 25 May '15, 12pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...