http://www.perlmonks.org?node_id=1024979


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

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.