Slashdot Mirror


Tips for Independent Learning?

Austin asks: "As an undergraduate seeking a degree in Computer Science, I am very interested in expanding my programming skills and tools. Much of the platform specific knowledge, such as the usage of unique languages and APIs such as .NET and Cocoa, are rarely taught on an academic level, and independent projects are looking very appealing as a way to broaden my abilities. I find it difficult to maintain motivation developing software that there are already excellent alternatives to, and contributing to mainstream open source projects is an intimidating endeavor due to their size and complexity. What have many Slashdot readers done to gain experience with tools not taught inside the classroom?"

19 of 56 comments (clear)

  1. Port an existing project you wrote by PylonHead · · Score: 5, Insightful

    When I want to learn a new programming environment, I pick out a simple project that I have already written in a known environment and port it to the new system.

    This lets you focus completely on the new environment and not get bogged down in (high level) design decisions. It also gives you an apples to apples comparison in possible strengths and weaknesses of the two systems. (although any first project is likely to miss out on some possible advantages.)

    --
    # (/.);;
    - : float -> float -> float =
    1. Re:Port an existing project you wrote by hayriye · · Score: 2, Funny
      I pick out a simple project that I have already written in a known environment and port it to the new system.
      For example, port your HelloWorld application.
  2. One thing I've done. by techno-vampire · · Score: 4, Insightful
    Come up with a small project. If nothing else, a program that does something you want or need done, even if nobody else wants it. Write it, debug it, get it working and add as many or few features as you need. Don't worry if anybody else will ever use it because that's not what it's for. You'd be surprised how much you can learn, just trying to get it right.

    Next, put the code aside; use the program, but don't look at the code for about six months or so, while doing other things. Then, come back, look it over and see if you can improve it. You'll have forgotten how you did things, so this will be similar to maintaining sobody else's code. By the time you're done, it will be better written, easier to understand and probably working better, and you'll have learned quite a bit more.

    --
    Good, inexpensive web hosting
  3. Practical Experience by MyLongNickName · · Score: 3, Interesting

    I find the best way to learn is to have a real life project you are working on. Their are too many people in the world with "paper certifications". That is, they can pass a test, but could not do anything with that knowledge in a practical way.

    I am in the process of studying for certifications. Three tests I was ale to pass with mostly work experience. One, I really needed to study... I found excuses to introduce some of the topics into my work. It helped a lot.

    You, likely, are not working in the industry yet. Find a way to work on a real project. It might be one you dream up. It might be working cheap at a local company. I don't really know enough specifics to advise. I'll just say that dreaming up your own project requires a lot of motivation to continue to work on.

    But bottom line, you need to be applying, or it is just book knowledge.

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
  4. me too by bblazer · · Score: 3, Interesting

    I too am an independent learner. Although I have taken several language courses at my local college, I have found them to be limited at best. One thing you might consider is starting a project on sourceforge for something simple. Do you find yourself doing an repetitive tasks that you could write something to automate? Do you have anyone that needs some web development that you could use Ruby on Rails for? There is also TopCoder. They have a lot of coding competitions that you can participate in - many have cash prizes. Although I don't have the links handy, there are also some sites that have student programming project suggestions that you could look at.

    --
    My .bashrc can beat up your .bashrc!
  5. Contribute to an open source project by Zepalesque · · Score: 2, Informative

    There are thousands of them. Find one that uses the APIs/Languages/etc. that you are interested in and then get it source code. Spend time perusing that for a while. Next, look at the open bug list for the project and see if you can delve in an sumbit a patch.

    You will increase your skills and you will be contributing to a project that other will benefit from. Every one wins.

  6. Re:Don't "Ask Slashdot" by afaik_ianal · · Score: 4, Insightful

    "Independent learning" does not exclude asking others for advice. In fact I would say that Austin has already taken the first important step towards gaining the knowledge they seek.

    Step 2, Austin: Ignore the naysayers.

  7. Motivation by Mieckowski · · Score: 3, Insightful

    I've made lots of small Cocoa applications on my own, and the two things that have helped me stay motivated on individual projects are:

    1) Keeping them short (1-2 weeks to finish)
    2) Having people to show them to

    So if there is a group on your campus related to Cocoa or .NET programming I would join it. Also, it can be easy to sign up for 1-2 units of individual study credit with a professor if you have a project idea (this is a great excuse to come talk to them during office hours).

  8. Re:Read ... by afaik_ianal · · Score: 2, Informative

    magazines, not books

    Although it is worth noting that books can be an excellent initial source of information when learning many technologies, particularly the larger technologies.

    Books tend to give broader coverage of the area you are interested in.

    Once you have gained some generally knowledge and understanding in an area, magazines are great for drilling into specialised areas.

  9. Apprentice yourself by Will+Sargent · · Score: 2, Interesting

    A couple of other people have suggested going to an open source project. I think you should as well. One of the best things that an OSS project will do is show you the true complexity of a working application, as opposed to the theoretical concepts presented in an education.

    You will also learn far more good practices from a well known / respected OSS project than you will in your average organization. I learnt a ton just reading through the Mozilla source code and following how they broke out interfaces and practiced defensive programming.

    Finally, you will have the chance to work with people who need you for something. Programming is very much a team exercise, and you can learn about teamwork as well as programming through the activity. Apprenticing yourself to a senior mentor is a great way to piggyback through your mentor's experience, as long as you have the necessary humility to have your work ripped to shreds...

    Finally, don't sell yourself short. Alan Cox has a story about a random guy who hung out on the Linux IRC channel until someone told him to make himself useful. He ended up writing most of the IPv6 stack.

  10. Learn to hold the ball before you throw it by Opportunist · · Score: 2, Insightful

    It's not the answer you're looking for, but after trying what you're about to try myself and fail at it, I can only give you the advice to learn the basics before trying to do more than tiny projects. Anything else leads to frustration.

    It might seem pointless to do the projects you're now doing in class. But those are the tools that give you later the ability to pick up anything coming your way. Technology changes fast. And people make the mistake to dig into the tech without learning the basics. 10 years ago it was RAD tools. 5 years ago everyone went crazy about Corba. Now it's .net. What is it going to be in 5 years? Nobody knows.

    But when you have the ability to understand new technology quickly, you're already ahead of those that only learned a certain technology and don't understand the wiring under the board. Learn to understand that instead of hunting some specific implementation that's most likely outdated before you understand it if you don't have the foundation to learn it quickly.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  11. Find.. Scratch.. Itch.. Something like that.. by EMIce · · Score: 3, Insightful

    Yada yada yada.. And I'm not talking about your balls. You will need creativity.

    And for that...

    http://www.gapingvoid.com/Moveable_Type/archives/0 00932.html

    Easier said than done though.

  12. Just do it. by linguae · · Score: 4, Insightful

    I am a freshman computer science student. Here is my advice.

    Remember that a computer science curriculum teaches the theoretical foundations of computer science. You start with basic programming (C, Java, or [if you're really lucky] a functional programming language like Scheme), and then learn about data structures, algorithms, software engineering, architecture, systems programming, OSes, compilers, and theoretical computer science, as well as some CS topics of your choosing (numerical analysis, graphics, more software engineering, AI, etc.). Discrete mathematics is also very important; you can't do much in computer science without it. And don't forget your EE courses like digital design (designing circuits using Boolean logic) and assembly programming; you'll get to know about computers from an electrical engineering standpoint (different, but cool, IMO). As much as I like mathematics and theoretical CS, sometimes you need to get close to and examine the metal. I personally liken computer science, mathematics, and electrical engineering to be the holy trinity of computing, but I might be out there....

    Computer science departments typically do not teach the ins and outs of APIs and industry programming languages unless it ties into learning about the fundamental concepts explained above (Java's usage in CS courses, for example). However, this doesn't stop you from learning these APIs independently. My suggestion are the following:

    1. Research APIs. What platforms are they used for? What are the strengths-weaknesses of the APIs? What languages do they support?
    2. Start with some basic tutorials to get a grasp for the language and/or API.
    3. Start writing programs. You'll have to start small at first, such as older projects. For example, if you wrote a payroll application in C back in CS 101, why don't you reimplement it using Objective-C and Cocoa, along with a slick, shiny, plastic Mac interface? (Any other implementation would do; that is an example)
    4. As your skills get better (and as you start taking more specialized computer science courses), try working on a bigger project. Writing a C compiler for a 16-bit microprocessor that you'll learn in an EE course will surely keep you busy (I haven't written a compiler yet, so I don't know how difficult this is, although this sounds very intersting). Perhaps coding a web browser in C# and .NET is more interesting.
    5. Helpful hint: You might want to focus the skills you want to learn on a project that you would like to build someday. For example, if your dream is to build a small operating system, you will need to learn some assembly language, C (or some other "close to the metal" language), and the architecture that you plan on coding the OS for. Good OS books (like Tanenbaum's book) are also nice to own. Once you figure out learning the basic tools, theories, and practices, then you can start coding a small OS. Once your program is finished and running, then you can add all of the complex features that you like.

    Enjoy your life as a computer science major. It is truly rewarding and interesting. Now I have to return to my own programming assignment....

  13. Save water, shower with a friend by An+Onerous+Coward · · Score: 3, Insightful

    If you find it hard to keep yourself motivated on a project, one solution is to pair up with someone who shares your interest in the project. Admittedly, it's not always easy to find someone with similar interests and complementary skills. But if you do, having another person to bat around ideas with can be a wonderful experience.

    --

    You want the truthiness? You can't handle the truthiness!

  14. Get an internship doing what you want to learn. by Rimbo · · Score: 2, Insightful

    The work experience itself is worth several years' worth of graduate school.

  15. When you have a hammer... by MBCook · · Score: 4, Interesting
    ... everything looks like a nail.

    I'm sure you've heard that one before, and you need to be careful of it. That said, you found yourself a hammer (your new knowledge of whatever) so start looking for nails.

    I've run into the same problem many times. I understand not wanting to re-implement things (I thought about making an accounting program for a little bit before deciding to just use Quicken, for example). But you need to be creative.

    When I first learned Python I made a simple little game based on one of my favorite games that I used to play on my TI-85. This also let me learn OpenGL. The game was Blocks.

    Trying to do more, I made a simulation (I'd call it a game but it wasn't interactive) called Itty Bitty City which also included more OpenGL. It wasn't too complex but was fun to watch (even if I did have Pie-In-The-Sky ideas about what it would do as usual).

    I never updated my website because it was a hassle. I didn't want to do it in DreamWeaver or something like that. I wanted to automate things. Python was my favorite language at the time, so I wrote a little program I called SiteMaker to do it for me (ironically, that page is quite out of date). Python was rather well suited to that (it was command line, and needed good text processing) so I used it and gained a good knowledge of Python in the process (including the build-in modules you can use to open and send data across FTP connections).

    After that I wanted a program to make it easier to make blog style entries on my website (which would call SiteMaker). I had been wanting to learn Objective-C for use on my Mac so I used that for the project and it was fun, and I learned quite a bit (even if I don't use the program because I didn't add enough features to make it useful). This was SiteBlogger.

    When I wanted to learn Java 5 to get back into it (since it had features that fixed my biggest gripes) I made another simple game (which I took rather far) called Pond Game. I got to use all sorts of stuff in Java and got a good working knowledge (after quite a bit of time off).

    I was still weak in GUIs in Java (have done no Java GUI programming ever) so I used Java to scratch a major itch I had and made Scheduler which I am now updating for a Senior Project. I learned how GUIs were done in Java and got an even deeper understanding of Java from this project. It also fixed my problem of hating to figure out a school schedule.

    I had been wanting to learn PHP, so when a project came up at school to build a system for them (not an assignment, I work there part-time) and they asked me if I wanted to do it, I jumped at the chance to make such a system (which I hadn't done and included a large amount of DB programming) and used PHP (which they were perfectly happy with, and were actually going to suggest).

    There are other little ones here and there. The main point of all this is that most of these didn't bug me enough to make them (Scheduler was the only real problem) but I saw them as opportunities to try out a new language or some such. I've learned to do this because of a problem that I would suffer from which I assume you suffered from: I'm curious and would read about a language or some such but not do anything and thus forget it all. I needed the practice, so I found places to do it. Whether these were things I needed for myself (Scheduler, SiteMaker) or just little games that I wanted to make or to use to try something (Blocks which was an OpenGL test, Itty Bitty Citty which was going to be an AI test).

    My last suggestion would be to enter a programming contest. I've been enterin

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  16. Go work for professor by Latent+Heat · · Score: 2, Insightful
    There is always some lab or professor who needs some software design and coding to do something -- to automate a lab, to analyze data, to conduct an experiment, to produce a software package to share with other universities. You may even advertise interest/skills in something off the main track -- Cocoa for example -- there may be some faculty member who needs the app done for OS X.

    Go around and talk to people. Express interest in what they are doing. Explain your level of skills/need to acquire skills, describe something you have already done and how you went about doing it.

  17. Intern! by MrBugSentry · · Score: 2, Insightful

    Get yourself working for a company for the summer. Accept just enough pay to keep a roof (maybe even your parent's) over your head and to keep you in beer and skittles. In exchange learn how to actually do the job you think you are training for.

    By no means accept just any internship. Even if you like the name on the door, do your research. The best way to do this is to get clear in your own mind what you want to learn before you apply for the internship. Go into the interview with a plan and see if the company can provide what you want. Sometimes the right answer is a huge firm with formal mentoring. Sometimes the answer is a tiny firm where they will accomodate your individual needs and talents.

    We try to give our interns real for profit projects or at least internal projects. Nobody is well paid, but they learn a lot. They tell us that in their exit interviews and their code sure looks a lot better in August than it did in June!

  18. Not so much an answer... by Silicon+Jedi · · Score: 2, Interesting
    This is not so much an answer as a semi-related question.

    What should you do when you've gone through school and NOT done what Austin suggests?

    Here is my story:

    I went to school, having no clue what I wanted to do.
    I figured out I LOVED coding, (yeah, doing it since age 7 kinda makes you like it...) and tried to make it my goal.
    I got distracted by a lot of stuff, (Kicked out of house, working min. wage job because I couldn't network to save my life...) kinda fizzled out in the middle of my education.
    I knew how to program, but had no idea how it actually worked in the real world.
    After barely doing enough coding to pass my classes, got two programming jobs that I bombed out of cause I couldn't develop the social or organizational skills to either do the job or get help.
    Working retail like 4 billion hours a week to survive, I squeeze out graduation and barely stay above water for a few years.



    Now I finally recover my wits, (I had some legit mental health issues that are now more resolved.) I am faced with this quandary.

    What next?

    Right now, I finally have a somewhat computery job, doing consumer tech support for a major ISP, but the pay is garbage and there is no mental challenge.

    My resume is a nightmare. I have little definable real-world programming experience, and my coding is rusty to boot.

    Is it possible to break into real programming jobs later on in life? I feel 10 years late for the prom.

    I figure I either need to come up with the plan from hell to make me a paid software developer in two years or I gotta find something else.

    So if anyone has any ideas?

    If there are other IT paths people could suggest I'm interested too.

    (Right now my best solution is trying to go back to school to become a teacher, but I haven't given up on "DO" yet...)