Jump to content
  • Advertisement
Sign in to follow this  
livingaftermidnight

Code Sample Submission

This topic is 4839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I have my own personal portfolio webpage where I would like to keep code samples and other things for potential partners and employers to see. For the code samples, I was going to rip the code straight from VS and put it in Word (without colors) and make it fit on a page or two and then save it and store it online. But I'm not sure if there are other things that I should do. How big/small should a code sample be? What kinds of things (programming wise) would an employer look for in the code (commenting standards, spacing, variable names)? Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
ICK! I would say use something like phpButifier or something that can create syntax-highlighed pages for you (dev-c++ can export to html) and for the sake of good things also include a link to the actual .{c|cpp|???} file so people can download it.

And if you put something online at least let someone peer review it for the most obvious misstakes and if you plan on showing "snippets" the be darn sure to explain what the code is supposed todo. Just having a page with

a ^= b ^= a ^= b;//I am teh shit!!11one!!1


simply isn't cool.

And, commenting standards, naming conventions where you but your curly bracers etc matters a lot less than you thing it does. Just stick to what you feel comfortable using and at least try to use sensible variable and function names.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!