Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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

In reply to Re: Learning ***** as a second language by fmerges
in thread Learning ***** as a second language by bronto

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found