17 Jun '12, 5am

Jay Fields' Thoughts: Ruby: Class Methods:

Jay Fields' Thoughts: Ruby: Class Methods:

The real stumbling block is that Java class methods are totally different things from Ruby "class" methods, so different that applying Java rules of thumb to Ruby just isn't even relevant. If you can get a Java programmer to see the difference in what classes are, the class methods stumbling block vanishes. Didn't include C# because I have no experience with it, but I believe C# has an object/classes model virtually identical to Java's, so this may be equally relevant there as well. It's partly just that knowing OOP is very different from knowing Java's OOP, or Ruby's OOP. Ruby's OOP runs on a Smalltalk paradigm which is very different from Java's.

Full article: http://blog.jayfields.com/2007/04/ruby-class-methods.html

Tweets

Thoughts: Happy

xinyun.sg 16 Jun '12, 9pm

What does it take to obtain or to be happy? Not much. The willingness to see things in a different light, from others’ poi...

Learning Ruby and Rails:

everydayrails.com 18 Jun '12, 3am

I live in a town dominated by Python, PHP , and Java developers, so hiring someone who can come in and write Ruby code fro...

@polotek @rwaldron @timw4mail Ruby uses # to de...

railstips.org 10 Jun '12, 5pm

The other day I was explaining the difference between class and instance methods to a friend and I realized that I should ...

Tutoriais para Ruby #14elw

ruby-br.org 18 Jun '12, 7pm

Página Inicial 1. O Básico Sobre este capítulo Ruby Interativo: primeiros passos Strings (texto) Nomes novos para coisas a...

#rails have some interesting methods some times.

apidock.com 20 Jun '12, 9am

i_suck_and_my_tests_are_order_dependent! () public Call this at the top of your tests when you absolutely positively need ...

patchを使ってsvnでgit stashみたいなことをする方法 / “Jay Fields...

blog.jayfields.com 18 Jun '12, 4am

Being a consultant, I'm generally at the mercy of whatever source control system my current client is using. Luckily, Subv...

@martinkl Re: ruby 1.8.7, we've already "fixed"...

ruby-lang.org 18 Jun '12, 9pm

The situation is similar to the one found for Perl in 2003. In 1.8 series of Ruby, we use a deterministic hash function to...

Jay Fields' Thoughts: trust at speakerconf

blog.jayfields.com 14 Jun '12, 10am

Trust plays a very important role at speakerconf. speakerconf is known as a place where you can be honest without fear of ...

Linguagem de Programação Ruby:

ruby-lang.org 17 Jun '12, 11pm

Matz recebe o FSF's 2011 Free Software Award O Prémio para o Avanço do Software Livre é dado, anualmente, a alguém que ten...

Automatic Ruby v12.6.0 Release Notes & ChangeLog

rubyforge.org 17 Jun '12, 5pm

Notes: Release Name: v12.6.0 Notes: "Automatic Ruby" is updated! This is a powerful framework for automation all! This fra...

Ruby on Rails developer: chethan k c from India...

workingwithrails.com 17 Jun '12, 12am

Works professionally with Rails Popularity Not ranked yet. Forum Posting Rating 0% When you post on our forums other regis...

i'm flattered.. “@ultradevil_joey: @Jeanette_Aw @Jeanius_sg Jay Park 赞欧萱漂亮

i'm flattered.. “@ultradevil_joey: @Jeanette_Aw...

showbiz.omy.sg 16 Jun '12, 10am

Jay Park不识本地公主欧萱! 4月的《红星大奖》上连唱三首的Jay Park,曾在表演当儿走下台牵起欧萱的手深情演唱。 为“Boys Night Out K-Pop Festival”再度回到新加坡的Jay Park透露:“我其实不认识她...

Jay Fields' Thoughts: So, You Dropped Out of Co...

blog.jayfields.com 13 Jun '12, 1pm

I was recently chatting to some friends about all the apprenticeship experiments going on and (name withheld to protect th...

Arrays de forma simples #14elw

ruby-br.org 18 Jun '12, 8pm

Você já está familiarizado com um casal de classes Ruby (Integer e String ). A classe Array é usada para representar uma c...

Time#strftime - see also – similar methods #ruby

apidock.com 28 Jun '12, 6pm

m blank-padded ( 1..12) %-m no-padded (1..12) %B - The full month name (``January'') %^B uppercased (``JANUARY'') %b - The...