Results 1 to 4 of 4
Like Tree3Likes
  • 1 Post By gimbal2
  • 2 Post By KevinWorkman

Thread: How to get your code evaluated?

  1. #1
    Zarah is offline Senior Member
    Join Date
    Mar 2014
    Posts
    116
    Rep Power
    0

    Default How to get your code evaluated?

    Hello,

    A question has been in my mind since a few days, and it calls for an answer/opinion/suggestion.

    The question is that how do you get to know if the code you have written is well-written or professional? In school, teachers can tell you. But if you have no teachers for a project, how do you know if the code you have written is good or not?

    I know one can read up on coding standards used (that's about the style of writing the code) but how do you get your piece of code evaluated?

    Although I am not coding something which utterly needs to be kept confidential, but I was also wondering how do the people who write the code and keep it to themselves or the company they are working for, actually get it evaluated?


    Thank you in advance.

  2. #2
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,686
    Rep Power
    5

    Default Re: How to get your code evaluated?

    IMO teachers often don't know what code is considered 'professionally written'. They care about getting a point across, the focus is more on getting stuff to work in such a way that the subject matter is easy to grasp for the untrained mind rather than code being 'professional'. Don't use that as a reference point.

    I learned to write 'professional' code in numerous ways.

    1) experience. The more code you write, the better you get at it
    2) reading other people's code
    3) Reading reactions in forums. Often times, people give tips to improve code. Pay good attention to the ones that aren't outright rejected by others.
    4) Colleagues; most of what I learned, I learned "on the job"

    Note how I keep putting the word 'professional' between quotes; that's because I don't know what it actually means. Some people consider the shortest code to be the most professional, which I 100% disagree with. I find code that is easy to read and maintain professional myself. Its subject to a personal opinion.
    Zarah likes this.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,874
    Rep Power
    8

    Default Re: How to get your code evaluated?

    StackOverflow also has a code review section: Code Review Stack Exchange
    Zarah and kneitzel like this.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Zarah is offline Senior Member
    Join Date
    Mar 2014
    Posts
    116
    Rep Power
    0

    Default Re: How to get your code evaluated?

    @gimbal2,

    Thank you indeed for the great tips.


    @KevinWorkman,

    Thank you very much. I am sure that is going to be useful.

Similar Threads

  1. Replies: 1
    Last Post: 03-25-2012, 02:40 AM
  2. Replies: 16
    Last Post: 01-31-2012, 08:36 PM
  3. Replies: 3
    Last Post: 08-10-2011, 09:17 AM
  4. Replies: 0
    Last Post: 08-07-2011, 08:32 PM
  5. Replies: 1
    Last Post: 04-26-2007, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •