Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: Printing a very small number

by Laurent_R (Canon)
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.

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 surveying the Monastery: (2)
As of 2018-08-20 05:09 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (190 votes). Check out past polls.