|
I'd like to write code so that it can be easily understood by other developers. What are some good ways to do that?
Started by ratty on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Have a coding guideline.Check some.
Do what it says.
Read Code Complete .
Get a programming language with easy to read/use syntax (eg Python) Give meaningful names of its dependencies.
|
|
Using rails 2.3.2 I have a partial _foo.rhtml that begins with a comment as follows:
<% # here is a comment %> <li><%= foo %></li>
When I render the partial from a view in the traditional way, e.g.
<% some_numbers = [1, 2, 3...
Started by brahn on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It is the same with the other options:
<%= print the output <%- don't put a line break before this block <%# ignore this block None of them should have spaces... .
That is a strange bug, but <%# is the valid comment syntax (without the spaces) .
|
|
Dear Forum, JMJ
I just read this new book, John Paul II, The Pope Who Understood Fatima and in it I read amazing insights about the Mission of John Paul II. It states that John Paul II was selected by God's Providence to fulfill the mission, which was...
Started by Edward Henry on
, 14 posts
by 5 people.
Answer Snippets (Read the full thread at catholic):
Santo Subito!
To Jesus through Mary
Edward Henry I recently read another....
Once you've read it, I would appreciate your input.
Already read it? JMJ
Dear fourm,
I also found it here:
http://www.spiritdaily.com/books.htm
I pray! God bless.
|
Ask your Facebook Friends
|
Have I understood correctly?? Hi All,
I am a beginner and have been studying Photography and I thoughtI would run what I have come to the conclusion is of Basic Photography. If Ihave made a mistake or you believe I could benefit from some info please ...
Started by Strela on
, 13 posts
by 6 people.
Answer Snippets (Read the full thread at thephotoforum):
It certainly sound like you've picked up are welcome to read and apply
Best photos on the net!
well at least I like to think so - sometimes Thank you Overread, I will head over and....
Doesn't read like a rant to me, but does read well.
|
|
Started by Feenoh on
, 63 posts
by 50 people.
Answer Snippets (Read the full thread at reddit):
Sleep in ....
Own several houses.
No time, bookmarked for later skyrim.
Is a phenomenal story.
That...
THAT That story gave me nightmares when I read it for the first time.
If you've got a bit of time go ahead and give this a read oh man...
|
|
Why do people, when pointing out efficient scoring, always say a player scored X points on Y shots, while completely ignoring how many FTAs they had? There's a big difference between someone scoring 15 points on 10 shots and 0 FTAs versus someone scoring...
Started by AstroMechPLZ on
, 18 posts
by 13 people.
Answer Snippets (Read the full thread at clutchfans):
Repeating everyone's point again -*
1) A player.
* EDITED:* oops, didnt read the previous comments right.
Free..
Lookup ts% it takes free throws into account.
Of understood FTAs will likely use a possession.
|
|
Started by Digipy on
, 15 posts
by 11 people.
Answer Snippets (Read the full thread at reddit):
reading that post and this....
The sight of a man dressed as a lion running next to a bloke with fridge on his back running towards to camera freaked me out .
Don't watch the London marathon on it.
You laugh a lot.
Everything is colourful and wobbly.
|
|
Like when announcers say a 6, 4, 2 double play etc?
Started by KOBE SIDEKICK on
, 14 posts
by 13 people.
Answer Snippets (Read the full thread at projectcovo):
1 = pitcher
2 = catcher
3 = first base
4 = second base
5 = third base
6 = short stop
7 = left field
8 = center field
9 = right field
so in essence a routine 6-4-3 double play means...short stop threw it to the second baseman who threw it to the first ... .
|
|
Http://philadelphia.craigslist.org/sks/3014330402.html
"Our prices are very reasonable and we have our current economy in mind when pricing."
Do contractors get a discount on food, fuel, rent, mortgage, tools, cell phone bills, clothing, vehicles, insurance...
Started by realelectrician on
, 20 posts
by 7 people.
Answer Snippets (Read the full thread at contractortalk):
Excellent point, Bam, and really what I was saying all along .
You never know.
I read a great book a month back: "The Wealth.
By no means is everyone on CL "working for beer money" .
|
|
Started by DforDavo on
, 146 posts
by 106 people.
Answer Snippets (Read the full thread at reddit):
(I'm from the UK, Grey squirrels are bad over here) :) Did you ever read started your title with "girl" I read it as "G lll, I KNOW I saved dis Black Sqwahurrlll."
I didn't.
Are evil -_-...
|