You are not logged in.

#1 2011-06-05 16:45:19

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Programming language learned, how to become a real programmer?

I want to be a programmer, a good one (need for job, it's PHP). Help me with the question: how to develop one's programming skills for real situations when the language one will use is already learned? By that I mean the skills to actually create a code for solving difficult tasks. Because sometimes you know all the commands to create some piece of code but you just can't think out how to write this piece of code. It's like a lack of programmer's mind establishment.

P. S. Please don't suggest to change the future job. I'm going to. I need a solution, not a job suggestion. :-)

Offline

#2 2011-06-05 17:34:46

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Programming language learned, how to become a real programmer?

Lots of practice.

Offline

#3 2011-06-05 17:50:58

Zeist
Arch Linux f@h Team Member
Registered: 2008-07-04
Posts: 532

Re: Programming language learned, how to become a real programmer?

Barrucadu wrote:

Lots of practice.

I agree,

The only way to learn how to create code for real situations is to code in real situations.


I haven't lost my mind; I have a tape back-up somewhere.
Twitter

Offline

#4 2011-06-06 03:01:32

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Programming language learned, how to become a real programmer?

If you're looking for some practice ideas, as you're using PHP try implementing a CMS, a blog, a forum, or some other non-trivial project. You don't have to make something incredibly complicated (and it doesn't need to look pretty, either) - but learning how to break a big task down into smaller problems to solve is an essential skill.

Offline

#5 2011-06-06 03:03:39

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Programming language learned, how to become a real programmer?

Knowing how to program is just one aspect you need to learn. Even if you're just a code monkey it's good to have a grasp of software engineering processes like RUP
http://en.wikipedia.org/wiki/IBM_Ration … ed_Process


neutral

Offline

#6 2011-06-06 06:01:53

sugardeath
Member
Registered: 2010-03-02
Posts: 82

Re: Programming language learned, how to become a real programmer?

Barrucadu wrote:

If you're looking for some practice ideas, as you're using PHP try implementing a CMS, a blog, a forum, or some other non-trivial project. You don't have to make something incredibly complicated (and it doesn't need to look pretty, either) - but learning how to break a big task down into smaller problems to solve is an essential skill.

I completely agree with this.  To learn both Perl and Android, the first thing I did was develop a basic task list program.  It was something I had a real world need for, and it introduced me to quite a few concepts in both.  I already knew Java by the time I did Android, but the Android.. way of doing things was new, and making an actual app that I wanted to use was really the best way to figure it all out.

Basically, find something you want, or a friend wants, and have at it.  Maybe your group of friends needs a way to keep track of who is currently borrowing what movies or video games from each other.  Or your family needs a place to share pictures and memories.  A real project is the best way to learn real problem solving (which is the basis for programming).

Offline

#7 2011-06-06 19:30:03

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: Programming language learned, how to become a real programmer?

I will add my voice to that chorus. Practice. And study other peoples code to see how some common problems are handled.

For practicing, find some program that you think it would be fun to build, or you feel you need yourself. Then start from one end. I find it quite important that what I am doing is something I enjoy to do. Also, don't be afraid to look at other languages. Usually, a lot of what you learn when writing a program in one language can be used when writing a program in another language. For example, if you are building a webapp in PHP, don't be afraid to dig into Javascript as well.

Offline

#8 2011-06-07 02:47:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,324

Re: Programming language learned, how to become a real programmer?

I might suggest you pick a reasonably complex program and implement it in each new language you learn.  In my case, it is a GUI application that generates and displays a fully connected N by M maze, and then solves that maze using a right hand rule.  I've implemented it in BASIC, Pascal, C, C++ with Qt, C++ with wxWidgets, C++ with gtkmm, Python with PyQt, Python with wxPython, and in Java on an Android.  With the exception of BASIC and Pascal, all of the other programs also included the ability to display a 3D rendering using OpenGL.

I do this because I understand the algorithms, but have to learn how to handle stacks, storage for the maze (matrices or lists), graphics, events, etc.

edit: typo

Last edited by ewaller (2011-06-07 02:47:57)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2011-06-07 12:02:55

3])
Member
From: Netherlands
Registered: 2009-10-12
Posts: 215

Re: Programming language learned, how to become a real programmer?

Try coding a computer game, will teach you a lot about the language especially the importance of lists, dictionaries, and if used some object oriented programming.
Also, the end result is a fun game.

Then you can go on to read and practice using code from the many opensource projects that exist.
Tweak & run, see result, tweak again, run code again, see what happens-repeat and repeat until the wisdom seeps in.


“There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-- C.A.R. Hoare

Offline

#10 2011-06-07 12:33:41

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: Programming language learned, how to become a real programmer?

Thanks for advices!

Offline

#11 2011-06-07 20:21:36

aport
Member
From: San Diego
Registered: 2008-02-20
Posts: 99

Re: Programming language learned, how to become a real programmer?

Barrucadu wrote:

Write lots of programs.

Fixed and agreed.

Offline

#12 2011-06-07 21:55:40

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Programming language learned, how to become a real programmer?

Practice indeed. Write code on a daily basis. At first my scripts had that many pipes, if I took a bong hit for every pipe, I'd go fly to the moon with Jim and Bob. Now I know how to use find + exec and it stops looking like a college party...

Try solving everything you need to do by yourself. For a php programmer might that mean that you just used your last GUI you didn't create by yourself.

Offline

Board footer

Powered by FluxBB