News for hackers. Stuff that matters.

carlosantelo

For me, I'd like people were compensated fairly for their time and investment, but only once. Then, we will not have to think about this stupid dilemmas. I wish copyright did not exist, or for it to be really short. I prefer the former, as in selling a service.

Greetings. -- Carlos

Re:Explicit vs. Clever on Tuesday April 02, 2013 @07:18PM (#5482890)
I will think that code has an audience and it's audience should be explicit. As long as the expectations are correct, it will just be 'sufficiently analyzed magic' and not only sorcery.
Exceptions break normal encapsulation mechanisms but as long as you code is exception safe, nobody cares, it's just that exceptions are the new goto, and nobody likes goto.

However they are only few good reasons to use goto, and exceptions for control flow should be treated the same.

Therefore the point we should make against exceptions for control flow is not exceptions are for exceptional circunstances but; as a rule of thumb exceptions are for errors. And indeed they help a lot in not obscuring normal program logic, we allready have other tools for control flow.

Nobody likes goto (and my bad english)

bye

Re:Simplify your life with an SSH config file on Sunday October 21, 2012 @08:08AM (#4679520)
Try my fugly script, http://cmad.github.com/sshfu/ you can do imports for example, and things like

inside public_place or home { host web address 192.168.10.1 gw office_fw } otherwise { host web address 192.168.10.1 user $MY_USER }

or whatever like host .... agent yes port 8