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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.