On Tue, 26 Nov 2013 19:12:40 +0400, Andrew Savchenko wrote:

> > As I understand it, the $(...) syntax is the preferred way of nesting,
> > as opposed to backticks. I think this may be due to backticks
> > requiring some special escaping that the $(...) syntax does not
> > require. I attempted a brief search for supporting information, but
> > didn't find a definitive source to back up my claims :)  
> 
> The reason for $(...) being preferred is simple: you can nest
> $($($(...))), but you can't nest `...`. Deep nesting is quite useful
> indeed.

The other reason is that $(...) is so much more readable.

You can nest backticks but the escaping used is such a mess that even
Perl programmers would hesitate to use it.


-- 
Neil Bothwick

Guillotine operator wanted. Chance to get ahead.

Attachment: signature.asc
Description: PGP signature

Reply via email to