Archive for the ‘Generic’ Category
I’m putting some suggestions here for the fresh graduates and the college freshmen on how to become a good programmer.
In my own definition, a fresh graduate good/skilled programmer should have the followings:
- Strong skill of one or more good languages like C++, Java and C#.
- Must have strong skills with control structures. Don’t mess up if you’re asked to print out triangle or other shaped piles of ‘x’s with loops.
- Must have strong skills with recursion. You must know how to transform a looped task into a recursive one and vice versa, for example: multiplication using addition recursively.
- If your language is C++, you must know how to play with pointers and references.
- Understand pass by value and reference.
- Clearly understand scopes and memory allocation, de-allocation. Know when a object is destroyed and when to destroy.
- Know the usage of all operators including bit-wise ones.
- In-depth knowledge of OOP.
- Only being able to write classes and doing encapsulation and inheritance is not what you should call good OOP.
- Clearly understand how function overloading, overriding, polymorphism works.
- Clearly understand how constructor/destructor (if any) works with inheritance.
- Clearly know the difference and use of Interfaces and Abstract classes.
- Know how to overload operators. Why and how copy constructor is defined/used.
- Know common data structures
- At least know the common data structures like stack, queue, linked list, doubly linked list (know circular version of all of them) and trees.
- Be a skilled implementer of any of those, have clear concept of push, pop, add, delete, peek etc method works on those data structures.
- Know most common algorithms well
- You don’t need to memorize pseudo codes line by line but you need to have clear concept of most common algorithms of sorting(bubble, quick, merge, heap, bucket, etc), searching (including DFS, BFS), etc.
- As a fresher you must know their time and space complexities, pitfalls and improvements (if any).
- General computing concepts:
- Know processes and threads, how are they related to each other, how to program them, etc.
- Understand TCP/IP: Don’t think it’s only the network administrator’s task to understand TCP/IP. All programmers ever doing any network or web programming should have clear TCP/IP concepts and understanding.
- Be skilled in debugging in IDE:
- Be skilled in any or many of Visual Studio/Visual Studio.Net, Eclipse, Netbeans, KDevelop, etc.
- Know how to debug your code.
- Have basic knowledge of Software Engineering and SDLC.
Some advice for college freshmen:
- Start with C++ or Java, avoid starting with scripting languages:
- If you’re learning programming for the first time, avoid starting with scripting or loosely typed languages like: PHP, ASP, Perl, etc or Visual Basic. It may destroy your understanding of program execution, data types, memory allocation, etc.
- Start with C++ or Java. If you want to me to be specific, start with C++, you’ll love it for the rest of your life.. 🙂 It’ll be easier for you to learn (almost) any other language (like: C#, PHP, ASP, etc).
- If you ask, do you need to know C to start with C++? Or should you learn C first and then C++? The answer is ‘no’.