Singular vs Shared Development of Ruby projects

Discussion in 'Ruby' started by Marc Heiler, Sep 5, 2008.

  1. Marc Heiler

    Marc Heiler Guest

    Hi there,

    This may be an awkard question.
    Should development be "singular", or should it happen in a very BIG
    "shared" environment?

    A somewhat lengthy explanation comes next, in an attempt to make myself,
    and this question, clear:

    - I have found that, whenever I modify ruby core classes, modules etc..
    that it simplifies _my_ workflow. A lot. Other people might not
    understand what I am doing, but seeing my patterns really makes my life

    A tiny example:

    cliner { puts 'Hi there' }

    All this does is print the line 'Hi there' and wrapers coloured ===
    around it
    so that it stands out visually. I could make a method instead but I
    found that
    the {} really helped me visually, especially when there is more text to
    output. It forces me to indent, and this alone helps as well (and I love

    However when "interfacing" with the outer world, I tend to not make many
    changes to ruby core idioms etc.. as this would confuse people and cause
    extra work for others.

    I try to be as "core ruby" as possible, so this influences me for sure.

    One problem I have is that, if i use idioms that I personally like and
    enjoy to use (and which indeed help me), I can not however allow this to
    be mandated onto other people. They might not want all these
    modifications which make my life easier, or vice versa i would not want
    their idioms in my projects.

    But this brought me to a small dilemma:

    - If I want to package a project for other people, I have to invest more
    work, to ensure that it works without my "magic". And this is exactly
    the point which "prevented" me from even trying to package up something
    that other people could find useful. This extra work would be no real
    fun for me.

    So I was thinking of not caring much about it and instead release all
    the .rb files together. (The size would not be a big problem anyway, all
    my .rb files over the last 4 years measure 15 MB in total and the amount
    of stuff I reuse in these .rb files is only 714KB. I could probably
    strip this down even more as I do not use all of it anymore, anyway.
    However in total there would be maybe ~20 .rb files which I would have
    to check and as said... it just takes a bit effort and extra time.)

    So how do you feel about this in general? Sometimes i think it would be
    better if everyone could agree on commonly used idioms that get packed
    together and people would actively seek to keep this as some kind of
    loose standard. Something like facets BUT small and actively challenged.
    In facets one can put together many many different things, but in this
    "shared development environment" I'd rather have a voting system where
    people would actively promote or stand against suggestions to modify
    this "standard".

    (I dont like the word standard either.)

    Anyway maybe a few of you want to share their opinion here!
    Posted via
    Marc Heiler, Sep 5, 2008
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jaredea

    Can't create projects / open projects

    jaredea, Jun 9, 2005, in forum: ASP .Net
    Aug 10, 2005
  2. VisionSet
    Roedy Green
    Feb 24, 2006
  3. Replies:
    Timo Stamm
    Feb 24, 2006
  4. Replies:
  5. Replies:
    Mark McIntyre
    Nov 6, 2006
  6. Patricia Shanahan

    Singular value decomposition in Java

    Patricia Shanahan, Jun 4, 2007, in forum: Java
    Mark Thornton
    Jun 4, 2007
  7. Mark Dodwell

    #plural? or #singular?

    Mark Dodwell, May 23, 2008, in forum: Ruby
    Robert Dober
    May 26, 2008
  8. Andrew
    Jan 22, 2013