[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby Black Belt

Dmitry Buzdin

3/28/2006 9:06:00 PM

Hello Ruby community!

Do You want to take part in the creation process of exam series,
covering Ruby itself and RoR framework?

Those who are familiar with Java may have noticed the place on the web
called JavaBlackBelt.com. JavaBlackBelt is a community for Java & open
source skills assessment. Everybody is welcome to take existing and
build new exams.

Until now only Java and related technology exams were available over
there. In the recent feature it is planned to expand existing content
with a set of Ruby related exams.

The first step of exam creation is to define an exam objective and
question categories. This first step was accomplished and a draft
version is available right here:

http://www.javablackbelt.com/WikiPage.do?action=view&pag...

The goal of objective is to define a Ruby knowledge boundaries needed
to pass the test. The content will be created according to stated
question categories.

What we need is a feedback of experienced Ruby enthusiasts (means You).


Please tell what do You think of the question categories. Are they too
complex or too simple for Basic level exam? May be there is statements
that are not easy to understand or they are just totaly wrong? May be
some topics should not be included in basic level, may be some new
added?

P.S. I will post here a message when the process of exam creation will
be started and everyone will have a change to add a tricky questions
and take the exams.

Dmitry

62 Answers

Justin Collins

3/28/2006 9:31:00 PM

0

Dmitry Buzdin wrote:
> Hello Ruby community!
>
> Do You want to take part in the creation process of exam series,
> covering Ruby itself and RoR framework?
>
> Those who are familiar with Java may have noticed the place on the web
> called JavaBlackBelt.com. JavaBlackBelt is a community for Java & open
> source skills assessment. Everybody is welcome to take existing and
> build new exams.
>
> Until now only Java and related technology exams were available over
> there. In the recent feature it is planned to expand existing content
> with a set of Ruby related exams.
>
> The first step of exam creation is to define an exam objective and
> question categories. This first step was accomplished and a draft
> version is available right here:
>
> http://www.javablackbelt.com/WikiPage.do?action=view&pag...
>
> The goal of objective is to define a Ruby knowledge boundaries needed
> to pass the test. The content will be created according to stated
> question categories.
>
> What we need is a feedback of experienced Ruby enthusiasts (means You).
>
>
> Please tell what do You think of the question categories. Are they too
> complex or too simple for Basic level exam? May be there is statements
> that are not easy to understand or they are just totaly wrong? May be
> some topics should not be included in basic level, may be some new
> added?
>
> P.S. I will post here a message when the process of exam creation will
> be started and everyone will have a change to add a tricky questions
> and take the exams.
>
> Dmitry
>
>
>

What's the purpose of the exam? There was a thread a while back[1] where
most people expressed a strong dislike for anything resembling Ruby
'certification'.

[1]http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/163911?163...

-Justin



James Gray

3/28/2006 9:53:00 PM

0

On Mar 28, 2006, at 3:08 PM, Dmitry Buzdin wrote:

> Do You want to take part in the creation process of exam series,
> covering Ruby itself and RoR framework?

Not really, but I doubt you want to hear that. ;) So, I better at
least point some things out. From your basic exam:

> Vocabulary and concepts (1 questions)

> Ruby source file supposed to have .rb extension.

While this is good practice, it is certainly not required. There are
even times it would be considered undesirable (making a command-line
executable, for example).

> Understand that basic commands like puts and exit are actualy
> Kernel class methods.

They are actually Kernel *instance* methods.

> Ruby Environment (1 question)

> Know that RUBYPATH contains a list of directories to look for
> included files.

This variable is not set on my system, just FYI.

> Naming (3 questions)
>
> Ruby naming style and how it affects code
>
> * Constants: UPPER_CASE
> * Classes: Starting with uppercase

...at each new word: LikeThis.

> * Methods and variables: starting with lowercase

...and using underscores to separate words: like_this.

> Know that methods ending with ! are supposed to be mutators (sort!).

Actually, they are considered dangerous. exit!() is not a mutator,
for example.

> Comments (1 question)

> Know that the Ruby code has a # (sharp) comment symbol.

...and multi-line comments:

=begin
This is a comment.
=end

> Variables (2 question)

> Know that there is no unbound variables, but only class attributes.

What does this mean?

> Know that it is not necessary to define staring value in Ruby. It
> is nil.

You will probably get a warning for programming like this though, if
Ruby's warnings are on.

> Know how to check if variable is defined with nil? method.

You check if a variable is nil with nil? and defined with defined?.

> I/O (2 questions)

> IO reading iterators: each_line

Or its alias: each().

> Classes (3 questions)

> Know that the name of constructor method in Ruby is 'initialize'.

The name of Ruby's default constructor is new(). The name of the
method new() calls to complete object construction is initialize().

> Understand that class methods are supposed to work without any
> object being created.

That's a little more fuzzy in Ruby than Java, since the class itself
is an object.

> Know that Ruby does not care what is the class name of the object
> until it has called methods.

What does this mean?

> Methods (2 questions)

> Know what does method 'alias' means in Ruby.

alias is a keyword, not a method.

> Blocks (1 question)

> Usage of blocks and iterators.

These are two pretty broad topics that probably should not be lumped
together under one topic.

> Not covered: creating own iterators and using 'yield'.

yield is used to call a block. That might be to create an iterator,
but it does not have to be.

> Exceptions (2 questions)

> Know that Exception is a class and custom exceptions should inherit
> it.

I believe most custom exceptions should inherit from RuntimeError.

> 'catch' and 'throw' constructs.

Why are these here? They have nothing to do with exceptions.

> Modules (1 question)
>
> Understand the difference between require and load commands.

This is not related to modules.

> Know that it is not mandatory to include file extension in 'require/
> load' directives.

Again, nothing to do with modules.

> Dynamic usage of load command.

Again.

James Edward Gray II


Jeppe Jakobsen

3/28/2006 10:03:00 PM

0

Hey if people is against an exam, why not make it more like a test so that
people and especially newbies (like me!) would know on which areas to
improve themselves?
I've seen such a test for C++, and I thought it was a really great tool.

2006/3/28, Dmitry Buzdin <buzdin@gmail.com>:
>
> Hello Ruby community!
>
> Do You want to take part in the creation process of exam series,
> covering Ruby itself and RoR framework?
>
> Those who are familiar with Java may have noticed the place on the web
> called JavaBlackBelt.com. JavaBlackBelt is a community for Java & open
> source skills assessment. Everybody is welcome to take existing and
> build new exams.
>
> Until now only Java and related technology exams were available over
> there. In the recent feature it is planned to expand existing content
> with a set of Ruby related exams.
>
> The first step of exam creation is to define an exam objective and
> question categories. This first step was accomplished and a draft
> version is available right here:
>
> http://www.javablackbelt.com/WikiPage.do?action=view&pag...
>
> The goal of objective is to define a Ruby knowledge boundaries needed
> to pass the test. The content will be created according to stated
> question categories.
>
> What we need is a feedback of experienced Ruby enthusiasts (means You).
>
>
> Please tell what do You think of the question categories. Are they too
> complex or too simple for Basic level exam? May be there is statements
> that are not easy to understand or they are just totaly wrong? May be
> some topics should not be included in basic level, may be some new
> added?
>
> P.S. I will post here a message when the process of exam creation will
> be started and everyone will have a change to add a tricky questions
> and take the exams.
>
> Dmitry
>
>
>


--
"winners never quit, quitters never win"

benjohn

3/28/2006 11:03:00 PM

0

>
> ...and multi-line comments:
>
> =begin
> This is a comment.
> =end

Really? Splendid, thanks :) See - this _is_ useful.

>> Know that it is not necessary to define staring value in Ruby. It
>> is nil.
>
> You will probably get a warning for programming like this though,
> if Ruby's warnings are on.

And class scope variables - they don't default to nil.

>> Know that Ruby does not care what is the class name of the object
>> until it has called methods.
>
> What does this mean?

Dynamically typing?

benjohn

3/28/2006 11:14:00 PM

0


On 28 Mar 2006, at 23:03, Jeppe Jakobsen wrote:

> Hey if people is against an exam, why not make it more like a test
> so that
> people and especially newbies (like me!) would know on which areas to
> improve themselves?
> I've seen such a test for C++, and I thought it was a really great
> tool.

If you're not aware of it, you may get a lot from: http://
www.rubyquiz.com/

Certainly, the language tests I've done have seemed to be a terrible
representation of my abilities (and I'm not just bitter about being
bad at them, as I've generally done well :). For instance, in c++,
they'd generally ask lots of ridiculous detail about totally obscure
sections of the language (oooh, bit fields, and exactly what happens
when you do all sorts of things that any good book will strongly warn
you against - basically, questions that if you need to know the
answer to, you're almost certainly doing something in an
inappropriate manner). At the same time, they tend to miss out on
more useful things like "do you know what the STL and Boost are, and
why they're good".

I think everyone I know with any kind of "official" certification for
being competent with a technology believes it to be a total waste of
time. Useful for getting the odd job, but otherwise pointless.

:) But I've got to say, I'm not sure why I have an irrational dislike
of the idea of Ruby certification. Maybe a simple one would be having
a gem up on rubyforge :) And your "score" could be the number of
downloads it gets :) So I'm a zero and a zero so far...




james_b

3/29/2006 12:17:00 AM

0

Jeppe Jakobsen wrote:
> Hey if people is against an exam, why not make it more like a test so that
> people and especially newbies (like me!) would know on which areas to
> improve themselves?
> I've seen such a test for C++, and I thought it was a really great tool.


Want to get better at Ruby? Help answer questions on ruby-talk.

People ask all sorts of stuff, from the simple to the sublime.

When a question comes up, offer an answer.

See, if you take a test in private, you can be a major doofus and no one
need know. But if you try answering questions in public, then the
pressure is on; few things sharpen the mind like fear of public ridicule.

Actually, few people get ridiculed here. But if you are wrong, people
*will* point it out; so you either confirm you knowledge, or expand it.

Far better than any test.

Want a certificate? Tell people to Google "Ruby+#{your_name}" and judge
for themselves.

--
James Britt

"In Ruby, no one cares who your parents were, all they care
about is if you know what you are talking about."
- Logan Capaldo


Gregory Brown

3/29/2006 12:28:00 AM

0

On 3/28/06, Dmitry Buzdin <buzdin@gmail.com> wrote:
> Hello Ruby community!
>
> Do You want to take part in the creation process of exam series,
> covering Ruby itself and RoR framework?

No. For the reasons others have mentioned. Public mailing lists are
a better way to learn, and any test to 'measure your skills' will
surely be missing some important things and have some unnecessary
things.


Ryan Leavengood

3/29/2006 12:44:00 AM

0

On 3/28/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:
>
> No. For the reasons others have mentioned. Public mailing lists are
> a better way to learn, and any test to 'measure your skills' will
> surely be missing some important things and have some unnecessary
> things.

I agree with James Britt's and Gregory's assessments. I know I've
learned a lot more from answering questions on this mailing list than
I would from studying for and taking some exam. I think the whole
certification/exam thing fits in more with a very corporate
environment, like you find in the Java community. I know Rails has
drawn a lot of attention to Ruby from the corporate world, but I'd
prefer to keep the nice community spirit we have and not get too
sucked into the corporate environment, at least as far as culture is
concerned.

With that said, there is nothing stopping people from making exams or
certifications for Ruby, but frankly they won't mean much without the
support of the community. Plus it is very important to have Ruby
experts involved otherwise the exam itself may not even be accurate
(as James Edward Gray II illustrated earlier in this thread.) That
situation is worse than have no exam at all...much worse.

Ryan


Jason N.Perkins

3/29/2006 12:46:00 AM

0


On Mar 28, 2006, at 6:28 PM, Gregory Brown wrote:

> On 3/28/06, Dmitry Buzdin <buzdin@gmail.com> wrote:
>> Hello Ruby community!
>>
>> Do You want to take part in the creation process of exam series,
>> covering Ruby itself and RoR framework?
>
> No. For the reasons others have mentioned. Public mailing lists are
> a better way to learn, and any test to 'measure your skills' will
> surely be missing some important things and have some unnecessary
> things

And some of us consider the creation of a certification as the
hallmark that a language is undergoing the process of dilbertization.
Sorry to be so blunt, Dmitry.

--
Jason Perkins
jperkins@sneer.org

"The computer allows you to make mistakes
faster than any other invention, with the
possible exception of handguns and tequila."




MarkH

3/29/2006 1:12:00 AM

0

Just set it up and if some people find it useful, then so be it. You don't
need approval from anyone.

>
>
>
>
>