Hello Monks!
This is just another newbie doubt and thoughts, if this post is like a
flame for you, then it's probably my poor english being misunderstood :)
The reality is: I LOVE Perl and would like to extract all it's power
funcionalities.
I am beginning my CS course, and it's time to think about the future. I
really love Perl, but now, Perl's weakness (in my little view of the
language) is growing large to me. I will try to explain below.
I have never professionally programmed with Perl (or any other language). I
use quite a bit Perl like a hobby and for personal projects.
I am doing a project, a simple HTTP Object Server, to embedded a MIPS
emulador in it, and the user interface with it via browser. This is a
simple project, but I thought much to make a real good abstraction, and
design the objects.
I began to divide into modules, and creating classes. The goal was to make
a simpler code, reusable and good to maintain. With a half hour of code, I
stoped. I was feeling disgust with to much variables like
$self->{'var'}[0], with re's, and eteceteras. WIth some experience in Perl (the necessary
to make something a little more legible), I wasn't doing someting that
would be interpreted FROM ME, some months after. I was feeling (in the
first time), angry with Perl.
After, I began to make the projects using simple Modules, like
Module::do_something(),
$Module::var. It was more legible, and I'm keeping
the development within this road.
Perl is powered, flexible -- but this all have a cost.
I stoped in the final of the road: the road is divided in two other roads:
the left, more Perl, and the right, Python from scratch.
I need to do real world general problems solving, with a good abstraction
layer.
Do I need to study more Perl, to do something reusable, pretty, inteligent
and simple to understand and maintain? Do I need to find scary alternatives
to threads? Do all the manuals, books, tutorials and articles read worth
the time spend?
I need a direction from you, experienced monks. I am lost :)
The big doubt to me: is Perl good for large general projects (more than 100
lines)? And more than 10000 lines?
If it is, I'm doing a terrible job, I am terribly incompetent, with 2 years
of Perl in the pocket.
I would like a response, from who used to drive Perl in real world
projects, (no, CGIs and WebSites NO. except these).
Say to me, monks, please. If NO, I will keep the Perl from cool little
stuff and dinamic websites.
Thanks all you, for the damn good comunity. You rules.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.