473,396 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

What is easiest way to learn programming?

1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?

I have always wanted to learn programming, just don't know hot to go about
it.

Thanks
Nov 16 '05 #1
7 2585
<Bi*****@feet.com> wrote in
news:cR***************@newsread3.news.pas.earthlin k.net...
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?


That, plus lots of trial-and-error.

Niki
Nov 16 '05 #2
<Bi*****@feet.com> wrote:
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?


Writing *good* code will require some theory (books, courses,
lessons). If you try to learn *only* by messing about with other
people's code samples, you won't pick up any good design principles or
background knowledge, and concepts like object orientation will be a
real struggle.

Of course, it's nice to write short programs and play with other
people's code as you go along, because pure theory gets tiresome and
is swiftly forgotten if you don't put it into practice.

</imho>

P.
Nov 16 '05 #3
<Bi*****@feet.com> wrote in message news:cR***************@newsread3.news.pas.earthlin k.net...
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?

I have always wanted to learn programming, just don't know hot to go about
it.


First, you need persistence and a pet application. Think of an application that you'd like to write. Start with something modest, but that can grow as your knowledge expands, like a stop-watch application.

Now go buy a Teach Yourself C# in 21 Days book or something like that. Work all the way through it.

http://www.amazon.com/exec/obidos/tg...52815?v=glance

At some point while working through the 21 Days book, you'll be ready for your first gospel of .NET Framework development. That book is called Applied Microsoft .NET Framework Programming by Jeffrey Richter.

http://www.amazon.com/exec/obidos/tg...63257?v=glance

That will be an invaluable tool as you begin to use classes or types in more complex ways. Of course, by this time, your stop-watch will have gone from a digital watch with overly large fonts on a Windows form, to a precision performance measurement tool. Now the .NET Framework 2.0 will come along and you'll want to use the new BackgroundWorker class with your stop-watch in a custom progress window.

Now, you're ready to start thinking about using design patterns. Theoretically, you should be thinking in terms of design patterns as you work through the 21 Days book, but I have yet to come across a "design patterns concepts in simple language for beginners book". Nevertheless, you'll want to get a book called Design Patterns in C# by John Metsker.

http://www.amazon.com/exec/obidos/tg...07250?v=glance

That will take you a long way through coding little utilities as a hobby to professional application development.

- carl
Nov 16 '05 #4
Hi BigHaig,

The best advice I can give is to start out with something simple and build
up from there. I see beginners all the time that try to write something
much more complex than they are ready for. Remember that .NET is very huge
and noone knows it all. So, you shouldn't feel bad about what you don't
know. Focus on a specific technology, such as Windows Forms or ASP.NET and
learn that before moving on to the next step. The more programs you write,
the better you will be.

Here's a free C# Tutorial, written at the beginner level:

http://www.csharp-station.com/Tutorial.aspx

Also, when you install the .NET Framework, install the QuickStart samples,
which have a lot of examples you can follow. Here's an on-line version:

http://samples.gotdotnet.com/quickstart/

Joe
--
Joe Mayo, Author/Instructor
Need C#/.NET training?
visit www.mayosoftware.com
C# Tutorial - www.csharp-station.com

<Bi*****@feet.com> wrote in message
news:cR***************@newsread3.news.pas.earthlin k.net...
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?

I have always wanted to learn programming, just don't know hot to go about
it.

Thanks

Nov 16 '05 #5

<Bi*****@feet.com> wrote in message
news:cR***************@newsread3.news.pas.earthlin k.net...
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?

I have always wanted to learn programming, just don't know hot to go about
it.

Thanks

Nov 16 '05 #6
Some people find that sticking with books eludes them, and feel they need
the discipline and/or accountability of paying for a course or being
mentored. Personally I favor learning by doing, supplemented by books.

But don't stick strictly to tutorials about the language or platform of your
choice. Don't neglect to read classics about programming and problem
solving in general, because successful software development is essentially
driven by learning effective techniques for properly perceiving and solving
problems. In other words -- read books like Fred Brook's "Mythical
Man-Month", Gerald Weinberg's superb books such as "Psychology of Computer
Programming", Steve McConnel's "Code Complete" and so forth.

If I had a nickel for every software developer I've met that knows a bunch
of facts about the craft but has minimal problem-solving skills and bad
judgment -- well, I'd be very, very rich.

--Bob

<Bi*****@feet.com> wrote in message
news:cR***************@newsread3.news.pas.earthlin k.net...
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?

I have always wanted to learn programming, just don't know hot to go about
it.

Thanks

Nov 16 '05 #7

Here's a method that works for me. And I have been "learning" to program
for 20 years.

Figure out what you want to program first. If you're just learning, pick
something simple...say, an entry field, and a button that when clicked,
puts the text from the entry field to a label.

Don't worry about the language or anything, just draw it on a piece of
paper.

Ok. Then, start digging around to figure out how to accomplish it. That
means, lots of Google research, asking people on the Internet and so on.
Make it your project. Then you can ask specific questions about how to do
this or that.

Alternatively, go to a site like Code Project and find a project that
interests you. Download the code and look at it. Figure out how to
compile it ( that's 90 percent of the effort ). Then try changing it
around and see if you can change or break it in some interesting way.

Bi*****@feet.com wrote:
1) Downloading sample code and playing with it?
2) Reading books and trying to follow them?
Any other ideas?

I have always wanted to learn programming, just don't know hot to go about
it.

Thanks


Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
7
by: Dan V. | last post by:
Situation: I have to connect with my Windows 2000 server using VS.NET 2003 and C# and connect to a remote Linux server at another company's office and query their XML file. Their file may be...
7
by: tada991 | last post by:
Hello Everyone, I just purchased Visual Studio .Net Architect 2003 and want to know what's a good book for begginers to start with. I know nothing about programming whatsoever, but I do have a...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
13
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't...
50
by: lovecreatesbea... | last post by:
Could you extract examples of the characteristics of C itself to demonstrate what the advantages of C are? What are its pleasant, expressive and versatile characteristics? And what are its...
16
by: Matthew Zhou | last post by:
I am a students learning programming, and want to do some software projects to practice myself. However, no one will only use one language to make all the tasks done. And every languages has its...
26
by: K.J.Williams | last post by:
Hello, A friend and I want to learn PHP but we have two totally different programming backgrounds. I have experience with procedural programming in C, and he has experience with Visual BASIC....
3
by: toutpasse | last post by:
Hi,I am a student in Electronic Engineering,and this semester I have to start with C++;I'm not good in programming.Therefore I would like to ask some advises,websites names ,books names to help me to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.