Den 12. mar. 2007 kl. 08.29 skrev ravi shekhar: > sir i have to join that group because i'm a not good syudent in > programming language. > my request is that i would know the technique about programming > language,therefore you send next mail to me includ that mail with > technique of programming language. > for that help i have been oblised to you.
Sir, I admire your courage in sitting down to write this message in a difficult language to have it read by experts of various sizes and tempers who often don't take long to emit scalding or even insulting replies on this open, worldwide forum. The topic of your question is very broad indeed and it is difficult to give any very specific help. Myself I am not an extremely skilled expert either, but I have been programming for a few years and I might be able to give a general hint or two that you might find helpful. Programming is essentially problem-solving. When you set out to make a program perform a task, consider it like you do the problems you encounter in life. Simple problems often have simple solutions that you know already. Complex problems are more difficult, but only because they are complex. Look them over and see if you can find the simple problems they are composed of, and solve them one by one. When you have written a piece of code that works, see if you can find a simpler piece of code that works just as well. Simple code often is more effective, more versatile and more easily modified or extended than complex code, as well as easier to read. Simple is beautiful. Before you can have a piece of code that works, you will have to go through a debugging phase, and debugging can be time-consuming and nerve-wracking. Some modern (and even some old) compilers and other tools have good facilities for debugging. Make sure you learn to use them well. You can also reduce the debugging time by various means, mainly by taking good care of how you handle and transfer data in and between the various parts of your program. Try to isolate data which is needed only in specific procedures or routines as much as possible and prohibit access to them from other ones. This will give you fewer problems when you develop or later extend your program. That's just a couple of main points. If you are a student at a university or another institution I suppose there must be a library or bookshop there with books that will help you further. And don't be afraid to ask your teachers. They are your servants, paid to help you. Good luck, LEF
