[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Beginner in Ruby

thiagobrandam

9/2/2008 5:58:00 PM

Hi all, my name is Thiago and I am completely new to Ruby. I'm having
OO class this semester and one of the languages we are using is Ruby.
For the final exam, we will have to build a software using OO concepts
and my group decided to do this task with Ruby. I'd like to know what
kind of software Ruby is best for and its limitations. I'm not asking
for ideas but for directions, so that we don't waste our time trying
to do something too difficult or impossible.
Best regards.
9 Answers

Martin DeMello

9/2/2008 6:30:00 PM

0

On Tue, Sep 2, 2008 at 10:54 AM, thiagobrandam <thiagobrandam@gmail.com> wrote:
> Hi all, my name is Thiago and I am completely new to Ruby. I'm having
> OO class this semester and one of the languages we are using is Ruby.
> For the final exam, we will have to build a software using OO concepts
> and my group decided to do this task with Ruby. I'd like to know what
> kind of software Ruby is best for and its limitations. I'm not asking
> for ideas but for directions, so that we don't waste our time trying
> to do something too difficult or impossible.

Look through http://ruby... to get some idea of the things
people are doing with ruby. Also, why not run a few ideas by us and
we'll let you know of any potential problems.

martin

Joel VanderWerf

9/2/2008 6:49:00 PM

0

thiagobrandam wrote:
> Hi all, my name is Thiago and I am completely new to Ruby. I'm having
> OO class this semester and one of the languages we are using is Ruby.
> For the final exam, we will have to build a software using OO concepts
> and my group decided to do this task with Ruby. I'd like to know what
> kind of software Ruby is best for and its limitations. I'm not asking
> for ideas but for directions, so that we don't waste our time trying
> to do something too difficult or impossible.
> Best regards.

What are you interested in? Games, graphics, science, web stuff,
languages (natural or computer), ...?

As long as you're not doing real-time hardware control or operating
sytems, ruby can probably help you pursue any interest.

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

Todd Benson

9/2/2008 7:00:00 PM

0

On Tue, Sep 2, 2008 at 12:54 PM, thiagobrandam <thiagobrandam@gmail.com> wrote:
> Hi all, my name is Thiago and I am completely new to Ruby. I'm having
> OO class this semester and one of the languages we are using is Ruby.
> For the final exam, we will have to build a software using OO concepts
> and my group decided to do this task with Ruby. I'd like to know what
> kind of software Ruby is best for and its limitations. I'm not asking
> for ideas but for directions, so that we don't waste our time trying
> to do something too difficult or impossible.
> Best regards.

Does the project have to be entirely in one language?

thiagobrandam

9/2/2008 8:09:00 PM

0

Hi guys. Thanks for helping me.
Martin, if you guys want to give us ideas, it would be really
appreciated.
I said I wasn't asking for ideas because I did not want to pass the
wrong impression that I was
looking for an answer that only my group was supposed to answer. A
mentor for n00bs is always welcome though!
Do you have any idea? Keep in mind this is meant to be a free
software, OK?
Joel, we were thinking about doing something related to web stuff or
games, still not decided.
Todd, no it doesn't. By the way, it would raise my grade really high
if I would write in more than one language! =)

On 2 set, 15:59, "Todd Benson" <caduce...@gmail.com> wrote:
> On Tue, Sep 2, 2008 at 12:54 PM, thiagobrandam <thiagobran...@gmail.com> wrote:
> > Hi all, my name is Thiago and I am completely new to Ruby. I'm having
> > OO class this semester and one of the languages we are using is Ruby.
> > For the final exam, we will have to build a software using OO concepts
> > and my group decided to do this task with Ruby. I'd like to know what
> > kind of software Ruby is best for and its limitations. I'm not asking
> > for ideas but for directions, so that we don't waste our time trying
> > to do something too difficult or impossible.
> > Best regards.
>
> Does the project have to be entirely in one language?

thiagobrandam

9/2/2008 8:23:00 PM

0

Sorry about indentation and weird English.

On 2 set, 17:08, thiagobrandam <thiagobran...@gmail.com> wrote:
> Hi guys. Thanks for helping me.
> Martin, if you guys want to give us ideas, it would be really
> appreciated.
> I said I wasn't asking for ideas because I did not want to pass the
> wrong impression that I was
> looking for an answer that only my group was supposed to answer. A
> mentor for n00bs is always welcome though!
> Do you have any idea? Keep in mind this is meant to be a free
> software, OK?
> Joel, we were thinking about doing something related to web stuff or
> games, still not decided.
> Todd, no it doesn't. By the way, it would raise my grade really high
> if I would write in more than one language! =)
>
> On 2 set, 15:59, "Todd Benson" <caduce...@gmail.com> wrote:
>
> > On Tue, Sep 2, 2008 at 12:54 PM, thiagobrandam <thiagobran...@gmail.com> wrote:
> > > Hi all, my name is Thiago and I am completely new to Ruby. I'm having
> > > OO class this semester and one of the languages we are using is Ruby.
> > > For the final exam, we will have to build a software using OO concepts
> > > and my group decided to do this task with Ruby. I'd like to know what
> > > kind of software Ruby is best for and its limitations. I'm not asking
> > > for ideas but for directions, so that we don't waste our time trying
> > > to do something too difficult or impossible.
> > > Best regards.
>
> > Does the project have to be entirely in one language?
>
>

Serabe

9/2/2008 8:44:00 PM

0

2008/9/2 thiagobrandam <thiagobrandam@gmail.com>:
> Todd, no it doesn't. By the way, it would raise my grade really high
> if I would write in more than one language! =)

Maybe you should try JRuby then.

http://jruby.cod...

And you can look for gems like profligacy.

Cheers,

Serabe

--
http://www....

James Britt

9/2/2008 9:00:00 PM

0

Serabe wrote:
> 2008/9/2 thiagobrandam <thiagobrandam@gmail.com>:
>> Todd, no it doesn't. By the way, it would raise my grade really high
>> if I would write in more than one language! =)
>
> Maybe you should try JRuby then.
>
> http://jruby.cod...
>
> And you can look for gems like profligacy.

If you want to so any serious JRuby GUI work, please look at Monkeybars.


It's actively maintained and developed (I'm among the developers), and
intended for robust, testable, cross-platform desktop application
development

http://www.monk...

--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Serabe

9/2/2008 9:09:00 PM

0

2008/9/2 James Britt <james.britt@gmail.com>:
>
> If you want to so any serious JRuby GUI work, please look at Monkeybars.
>
>
> It's actively maintained and developed (I'm among the developers), and
> intended for robust, testable, cross-platform desktop application
> development
>
> http://www.monk...

Thanks, I didn't remember the name. It may sound strange, but it was the truth.

Cheers,

Serabe

--
http://www....

Phlip

9/3/2008 3:07:00 AM

0

thiagobrandam wrote:

> Hi all, my name is Thiago and I am completely new to Ruby. I'm having
> OO class this semester and one of the languages we are using is Ruby.
> For the final exam, we will have to build a software using OO concepts
> and my group decided to do this task with Ruby. I'd like to know what
> kind of software Ruby is best for and its limitations. I'm not asking
> for ideas but for directions, so that we don't waste our time trying
> to do something too difficult or impossible.

Easy: Ruby is a leader in two overlapping concepts - TDD and BDD. Look up "Test
Driven Development" and "Behavior Driven Development", then learn to use
RubyUnit and RSpec, respectively.

Write a simple app twice, each version using one or the other technique. Target
a simple tool, such as a Virtual Pet, or the database layer of a blog application.

Then compare and contrast the two DDs. How are they syntactically different? How
are they semantically the same? What (if anything!) can you do with one that you
can't do with the other?

You should learn that TDD is "developer facing", meaning developers are more
comfortable looking at it than non-technical clients are. Done right, BDD is
"customer facing". Non-technical clients should be able to help express their
requirements as literate tests, using it.

--
Phlip