http://qs321.pair.com?node_id=483430


in reply to Learning ***** as a second language

Hi,

Second language??? Strange.

Perl is good, but taking a look into another programming languages is a _MUST_, I think, not an option...

As someone stated, take a look at C is very important

Before learning C++ I would learn Python, Is very simple and it has some nice method to do things, like the lambda mentioned before, Python is very easy to read, andunderstand, and well Pythons OO is much more nicier than Perl strange method...

def info(object, spacing=10, collapse=1): """Print methods and doc strings. Takes module, class, list, dictionary, or string.""" methodList = [method for method in dir(object) if callable(getattr +(object, method))] processFunc = collapse and (lambda s: " ".join(s.split())) or (lam +bda s: s) print "\n".join(["%s %s" % (method.ljust(spacing), processFunc(str(getattr(object, method).__doc__ +))) for method in methodList]) if __name__ == "__main__": print info.__doc__

After taking a look at Python I would take a look into C++ and Java.

Java is also very easy to understand, some things are not logic, like why the fuck you need to type something like:

class MyWorld { public static void main(String[] args) { System.out.println("Hello World!"); } }

Only to see the Hello World printed on STDOUT...

On the way, learn UML, can be useful. ;-)

Regards,

|fire| at irc.freenode.net