At my last job, i was assigned a project that was very much classified as network programming - and i did it in Perl. Now i have a new job, and whereas i can't say that i will ever write a network application for the company, i can say that i am glad i have a bit of experience in the area.

I forsee a lot of Python and Java in my future . . . so I bought Java Network Programming. As for Java network programming, it's a bunch of classes that abstract everything down to streams and filters. For me, that's boring, but it does lend to rapid application developement for medium to large size teams.

If you are worried that learning how to program networking applications in Perl is a waste of time and effort - DON'T!

The Perl way is closer to the actual guts of networking than Java, which abstracts the details away. Here is an example, it takes about 5 times as many lines to open a pipe to a system call and dump the output to STDOUT in Java than it does Perl. You have to create a stream object, attempt to open it via exceptions, create another stream object, possibly a filter object, catch them in exceptions . . . so on.

My advice - learn the Perl way (which is just a minor abstraction from the C way), and then learn the Java way if you think it will add value to your skill set.

The more ways you know, the better.

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--

In reply to (jeffa) Re: Perl Network Programming: A Dying Craft? by jeffa
in thread Perl Network Programming: A Dying Craft? by sierrathedog04

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.