i dont want to turn this thread into a debate about programming design,
i just want to know if ruby offers a fairly simple syntax function which
is available in many languages.
i dont want to turn this thread into a debate about programming design,
i just want to know if ruby offers a fairly simple syntax function which
is available in many languages.
On Wednesday 07 February 2007 02:55, Xia __ wrote:
its more for bug tracking; to be able to remove functionality
temporarily to see what is broken, so more like
<% do_stuff; /* HIDE THE FOLLOWING FROM RUBY do_more; */ %>
that means that perhaps you have way too much logic in your template,
and you
should better move that logic into the controller. it isn’t just a
matter of
taste, it’s a matter of good design :).
i dont want to turn this thread into a debate about programming design,
i just want to know if ruby offers a fairly simple syntax function which
is available in many languages.
no.
cool thanks michael.
i think there may be some argument for it to be supported in the case of
erb in rhtml; mostly due to common html markup style which is different
to ruby due to line spacing and inline elements in html
i think there may be some argument for it to be supported in the case of
erb in rhtml; mostly due to common html markup style which is different
to ruby due to line spacing and inline elements in html
Hey, about an rcr, use “–” or “++” as inline commenters :))
But sincerely, i have a phobia of inline comments. I once had a bug that
took me a day (24hrs) to find because of a very slick inline comment i
inserted… arrghh… but that was then. Now, unit test/tdd/bdd/rspec/ioc
rocks. no fear