Page 1 of 1

Code Snippets

Posted: Sat Aug 12, 2006 4:52 pm
by matthias
Isn't it a good idea for osdev.org to add a code snippets section where people can share code with eachoter.

So someone posts a snippet and another one can comment it and togheter we can optimize the snippet and we can all use the optimized version, so building an OS will get easier with pre-made code, though I must admit it is more fun to code it yourself. I think 'noobs' will love it too ;)

I have some code I would like to show to others and I'd like them to comment it. If more people are interested we could make such a section.

Good idea?

Posted: Sun Aug 13, 2006 10:51 am
by chase
OSDev specific code snippets right? What about just adding the code snippets to the wiki? For example a page about A20 would have a human readable description/history/purpose first and then code snippets.

Posted: Sun Aug 13, 2006 11:19 am
by matthias
chase wrote:OSDev specific code snippets right? What about just adding the code snippets to the wiki? For example a page about A20 would have a human readable description/history/purpose first and then code snippets.
For example, yes. I think it is a good idea to provide code in the wiki, but they have to be conform a set of rules.