extending 'import' using 'with'
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 1 12:57:52 PDT 2015
On Wed, 2015-04-01 at 13:35 +0000, ketmar via Digitalmars-d wrote:
> people with Java/C/C++/etc. background tend to forget about the
> power of
> metaprogramming: they have no such tool at hand, so they don't even
> think
> about it.
Java metaprogramming is a real pain, so just use Groovy. (Though Java 8
at least has higher-order functions. method references and lambda
expressions.)
C is a lost cause.
C++ has a lot of template metaprogramming, but you have to be as good
as David Abrahams to be any good at it.
Python (and Ruby, Lisp, Clojure, etc.) programmers have no problem
with this stuff.
> […]
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150401/6268fec4/attachment.sig>
More information about the Digitalmars-d
mailing list