Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^4: Printing a very small number

by Laurent_R (Abbot)
on Aug 17, 2013 at 08:37 UTC ( #1049825=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Printing a very small number
in thread Printing a very small number

Well, thank you for your answer, Ken, I guess it is probably a matter of personal taste. Perhaps a reminiscence of my C background. However, as far as the gotchas are concerned, if you look at the one-liner in this post I made two days ago Re^2: How to calculate the sum of columns to be equal to 100?, you'll see that I did not fall in any of the two traps you're mentioning: I am using print, not printf, when I don't need specific formatting (it is actually extremely rare that I use printf), and I am adding a new line in the formatting when needed, nothing particularly complicated. As for the use of the fat comma (=>), I found it slightly distracting, I actually had to think a couple of seconds to understand its meaning in this context. But, again, maybe a prejudice due to C reminiscences on my part.

Comment on Re^4: Printing a very small number

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2016-05-30 21:59 GMT
Find Nodes?
    Voting Booth?