Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

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

Me thinks i'm probably 180 on this one, but i don't really think that just reading books is the solution. Dominus spoke well when he said that you should sit down and read a book, then make notes, and think about it. It's that last part that usually seperates programmers between good and bad, in my opinion.

It would also seem though, that just books about being a programmer aren't necessarily what you're looking for, although like i said, i could be backwards. i would suggest books like Mastering Algorithms with Perl, or maybe an AI book, or maybe a C++ data structures and algorithms book. Something that goes into the theory and thought behind the programming that will allow you to see with more insight how you want to lay out a program because you have more knowledge of ways to lay out a program well, in any language. Most data structures are possible to create in any language, and sometimes it's far better to borrow from another language than stay true to the language.

Not a particularly good example, but for an AI class i had to make a square tile floor that related position, whether it was dirty or clean, and other such features, in Java. What i did was create a perl-esque hash, so that with 4 methods and two arrays i could keep track of all of the properties of any one tile easily. Everyone else had about a dozen or two methods and had to do interesting things to keep everything happy. It wasn't necessarily the best solution, but i think it was the most maintainable and flexible, because if i changed two lines the tile had more properties, everyone else had to write two (or more) functions as well...

It was because i've studies Perl and knew hashes that i thought of that. It's because of my (little) knowledge of C++ sorting and searching that i can write many of the programs i do. If you learn new techniques they'll stay with you no matter what language you use, if you jsut learn the language or how to be a political programmer, you'll be stuck in one type of job or just be some suit behind a desk...

Hope That Helps,
jynx


In reply to Re: At what rate are YOU progressing? by jynx
in thread At what rate are YOU progressing? by mothra

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 studying the Monastery: (6)
As of 2024-03-19 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found