Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: poll ideas quest 2013

by Tux (Abbot)
on Mar 22, 2013 at 15:21 UTC ( #1024943=note: print w/replies, xml ) Need Help??

in reply to Re: poll ideas quest 2013
in thread poll ideas quest 2013

Are those the only two options? See wikipedia for a longer list of styles. I use banner style, and I also have my reasons to use it: I thought about it. I'm afraid a lot of fresh coders just follow what they were fed at school or what their editor-of-choice gives as prefered style.

sub foo { if (bar) { # Blah! } } # foo

WAY more important than what style is used, is that the style is used consistently and by all members in the team.

FWIW I do not think this would be a good poll. It would lead to flame wars.

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^3: poll ideas quest 2013
by B-Man (Acolyte) on Mar 22, 2013 at 20:53 UTC

    I agree that consistency in a team is important. I think that programmer should learn how to flexibly write their code to conform to a current project's standards. However, this question isn't asking for the "best" method or even the one you should use in practice on any given project. It's just asking for your preferred method that you would use if you were coding something all by yourself for whatever reason. What method would you use if you were working on a simple project at home or whatever?

    If this causes flame wars, than it speaks of the stubborness of Perl programmers in a very negative way. I hope you guys aren't really that stubborn. Geez. I'm not asking for a "correct" answer.

    P.S.: Do you have any idea how condescending it is to say that you use your style because you "thought about it," while others who aren't "veterans" like yourself "just follow what they were fed at school or what their editor-of-choice gives as prefered style." Of course us "newbies" can't actually have real justifications for why we use a style! We're just stupid like that, aren't we?

    P.P.S.: Okay, so there are more than just two styles. After all, whitespace is fairly "free form" and has no real affect on your code other than readability. If you want to take it that far, I could make some big huge list of styles and have them all be options, or "reference the names" and link to each type for people to actually look up. For most of us, that requires a lot of extra reading to use styles that we probably didn't even think of as having names. Seriously, I think it says a lot about you that you're linking to named styles. They're important, but most of us don't care what the styles are called! You really don't have to know that you're using "Lisp Style" to use it. e_e The only real purpose it "serves" as is a way to quickly referene what you mean without fullly describing it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024943]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2020-09-28 15:42 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (144 votes). Check out past polls.