OxyGyan

Welcome technology as you like it…

  • Packed & Moved

  • Einsty – He is cool!!

    Einsty- is here to help you and give you tips...
    Einsty

    Subscribe to get update via e-mail.

  • a

  • RSS Sam Ideas

  • Counting..

    • 49,435 hits since 22 Feb 2007

7 Things I Learned About Programming As A Student

Posted by Sandeep on March 27, 2007

While surfing round the smart edges of the web, I halted on to the Andre’s article on “Top Ten Things Ten Years Of Software Development Taught Me“. Andre have neatly explained the things we need to do and not to do, while developing software. Reading his(Andre) list I decided to write my own list of 7 Things I Learned About Programming As A Student.

  1. Be at Basics: Most of the times what happens is that, I really think of making much better application, software, with good graphics and extra smart facility, but at the end of the day, I complete the things with zero in the bottle. So from now onwards I will think only what I can build within a prescribed time and upto my level. Also note down, your deep thoughts on your notepad, so that when you became advance programmer, you can easily convert that ideas to reality.
  2. Pointer’s are really easy: Many student’s come round the professor saying that, the pointers have really busted their heads, but what I have learned is that the pointer’s makes work really easy and are some what like snake and ladder game, where the tokens are moved from box 1 to 100. You can think of the pointers as token, and the boxes (1 to 100) as the memory locations. Hey! People, here dice is your programming skill.
  3. Develop What You Love: Develop programs on the topics that you love to work on, build something that’s going to help you. It will really force you to dig some newer ideas and solution. One day you may come up with really surprising software. Good Luck!
  4. Think Different From Other’s: Why, always go, the way the standard algorithm takes you? Put some efforts in designing your own algo. , try to repeatedly improve it, and at the end accept(implement) the standard algorithm, just for the sake of completion. This will help you to improve your creativity, and may be some time you may end up with making more efficient algorithm(It’s tough man).
  5. Keep Optimizing: Whatever programs, you write or build, don’t forget it after writing it! Think more innovative toward that code, try to optimize it, at your best, learn new techniques and implement them.
  6. Learn Many, Master One: What I would say, is learn any number of languages you are capable of, but be a master of one language. Concentrate on the language you like, extract best out of it! learn every aspect of that language, use complete force of that language and produce best software.
  7. Manage Programs Well: Major lesson I have learned while building various small programs and software is that, you should manage them efficiently. You should really keep a nice collection or say track of the code snippets and the designs you use.

Hey! have you too learned something special, while programming as student, then please feel free share with us in comments section.

Related Articles:

8 Responses to “7 Things I Learned About Programming As A Student”

  1. spinfire said

    I like to give the actual explanation of pointers: Explain that every byte in memory has a numeric address. Pointers are integers which correspond to these addresses. The * operator returns the data at that particular location. The & operator returns the address of a symbolic variable. The only trick is how the compiler decides how many bytes it looks at. This depends on the type of the pointer.

    The best way to truly understand pointers is to look at and understand assembly code. You can use something like gcc -S to see what is generated for different C code inputs.

  2. @SpinFire Thanks for putting your valuable time to give me a brief idea of pointers.

    I would like to correct your statement a bit….

    The * operator along with pointer variable returns the data at that particular location. The & operator along with pointer variable returns the address of a symbolic variable. The only trick is how the compiler decides how many bytes it looks at. This depends on the type of the pointer.

    Again, thanks!!

  3. spinfire said

    Obviously the operators act on something. But your correction is not correct either.

    The * operator when applied to a pointer type returns the data at the address stored in the pointer variable (“dereference”).

    The & operator when applied to ANY type returns the numeric address of the symbolic variable. It is important to remember that pointers are just integer variables stored in memory. If you apply the & operator to a pointer type you’ll receive the address of the memory location storing the pointer address. The & operator allows you to obtain the address of any variable symbol. & is “address of”.

  4. @Spinfire Thanks for correcting…

  5. qnkit said

    type of pointer is utmost necessary
    even if you have a void pointer you need to typecast it to required type.
    bcos while dereferencing its the type which will determine the type of data being referenced to.

    so having a void pointer referencing to int — dereferencing it to float gives absurd result.
    see this code:

    #include
    #include

    int main()
    {
    int a=10;
    int *b=&a;
    void *c;
    c=(int *)&a;
    cout

  6. qnkit said

    #include
    #include

    int main()
    {
    int a=10;
    int *b=&a;
    void *c;
    c=(int *)&a;
    cout

  7. qnkit said

    so sad code is not been seen
    ?????????

  8. Hi boys!73f793f18848a19a69a07145dcac3ae3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.