Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Two simple code style advice questions (short)

by tye (Sage)
on Jan 18, 2013 at 17:44 UTC ( #1014097=note: print w/replies, xml ) Need Help??

in reply to Re^2: Two simple code style advice questions (tye)
in thread Two simple code style advice questions

You also doing java?

Nope. I started trying out "42 == n" in C a long time ago to avoid accidentally writing "if( n = 42 )".

In this case, I wrote "42 == $n" as I find "42" to be the much more interesting part of the expression. I prefer to put shorter things and more interesting things first to speed parsing.

- tye        

  • Comment on Re^3: Two simple code style advice questions (short)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014097]
[Discipulus]: I miss a bit the sunny balconny of my previous flat.. but since june to september is better facing north
[Corion]: Discipulus: Yeah, I can see that reasoning :) But spending 5 minutes in the sun today quite improved my mood :)
[marto]: lazyweb Q: so an IE window apparently opened via JS with toolbars=no, all other IE instances closed. Click a URL in an email or whatever, and it doesn't open a new window or tab.
[marto]: does JS lock down windows created via to prevent this?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2018-03-21 11:33 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.