Ask The Experts

I was wondering if a Senior Member here could post some code of a Class, a project, or just something that he feels would show the proper way to go about programming in a professional manner so people like me could read it and compare it with our own programmes and learn from. And maybe in either comments insided the code, or a few paragraphs after the code why they chose to do the code in such a manner.

You do realize that us Senior Members are just people with over 100 posts right? For example, I'm in grade 10... and a senior member. Not much chance of me being a professional, now is there? Well, I suppose its good that I know it... Perhaps you should grab something from Fubarable.

If the above doesn't make sense to you, ignore it, but remember it - might be useful!
And if you just randomly taught yourself to program, well... you're just like me!

Lol i did not realise that, but then at the same token, i would'nt expect anybody but a pro to have the balls to reply to such a request with the rest of the pro's reading it lol and im sure you would even learn singing boyo :).

Just look at any open source program. If you have eclipse you can open the DLLs and look at the source code. Explore the files that come with any program you have and see if the source code is available.

Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.

While I do find that book a good read (I like Martin Fowler's style of writing) I dislike the entire approach to the problem: it just sums up a list of mantras that are able to refactor (and therefore improve?) your code. I would've loved to have seen a bit more mathematical approach, now it just copies the approach from the GoF book: a list of recipes.

While I do find that book a good read (I like Martin Fowler's style of writing) I dislike the entire approach to the problem: it just sums up a list of mantras that are able to refactor (and therefore improve?) your code. I would've loved to have seen a bit more mathematical approach, now it just copies the approach from the GoF book: a list of recipes.

kind regards,

Jos

Even Fowler says not to use them as recipes, more guides to good practice, which is why I referred to it.

I only read it recently and realised it's what I do anyway, which naturally makes it a good choice...:)