Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[LEARNING] Well-written open source codebases

Name: Anonymous 2013-02-14 17:59

ITT we post examples of well-written open source codebases to learn or draw inspiration from. Please restrict your suggestions to codebases that you have actually spent some time reading.

I'm fond of reading bits of the earlier, C-based idTech engines, and they're often held up by others in the blogosphere as an example of good C, so they'll be what I'm recommending.

https://github.com/id-Software

This guy has written some pretty detailed code reviews of the engines that serve as excellent high-level introductions before you start peeking in the source, if you'd like to study the techniques used by the engines themselves and not just the structure of their code.

http://fabiensanglard.net/

I'm interested in seeing some recommendations for dynamic languages like Lua. My idea of how to properly structure a program is limited to idiomatic C at the moment, which makes writing Lua programs feel somewhat awkward to me.

Name: Anonymous 2013-02-17 14:58

>>40
What? Do you happen to enjoy arrays that start indexing on 1 and Javashit clones?

Name: Anonymous 2013-02-17 17:09

>>41
ahaha u dont know shit about programming!!

Name: Anonymous 2013-02-17 21:46

>>38
cloc
Oh shit, that's vastly superior to
find . \( -name \*.c -o -name \*.h \) -exec cat {} + | wc

Name: Anonymous 2013-02-18 7:48

>>43
Just found it the other day myself. Pretty damn useful.

Name: Anonymous 2013-02-20 0:45

bampu pantsu.

Name: Anonymous 2013-09-01 13:52



     _ ,ヘ_,. --──- 、    /  /   | ``
   く `ヽゝ!_,..--─- 、 ヽ、 / /     !__ノ
   ,.'くゝィ'´    ,  、 ヽ、ヽ.          つ
  ,'  !/  /  ハ  ハ_, ! ', !       十
  i  ,' , /!ゝ、! L.!rト!_ハ_」」   i  ヽ,  └‐、
  !.  Lハ_!イr_,j  └' ! |    レ     --'
  .! i ! ! "  ,.-‐、 .从|      つ    や
   ヽハヘハヽ、 !___ノイ/     -─ァ   _i_  、、    
     , '⌒ヽ!ヘ}><{`ヽ  、    (_ .  | `!ヽ
    !  ___,.〉 Y !_r〉      十___   ' _ノ
    /ヘr'´ ヽ. ! ,イ |   \  / 、___

Name: Anonymous 2013-09-01 15:23



              ,..::'"´ ̄ ̄`ヽ、           /   誰
             /::::::::::::::::`:::、::::::ハ           /    ぞ
           .,:':、::::::::::::::::::::::::::::\:::|          |     :
          /::::::\::::::::::::::_;;;;::::-┤            |     :
          /ー==ニ,>─-、___:::::__|           '、     :
       ,. -- '/`ヾ´      \ `ヽ::!          \
      /   /    \       ヽ  Y⌒ヽ-===- 、   ` ̄ ̄ ̄
    /    {    .ト、_`ニ.、    ,  ハ   ∨    l|    ,. -──
     {   /  |ト 、  |'´ ん「ハY   | ;   ';\  ';    /   /    .我
    ゝ |.  T__ \ | 弋_zソハ   | |  | | `''┼====-、   ふ・ が
     .ソ|  |「lハ ヽ|   ´ "" } ,ハ |  | |.   |  l|    l」.  と.・
    < ;   八.り ,      ノ,イ レ'   ' ;   |  ||   .|    い・
      ∠.,,_イ |    , - 、    ./ |  | ./ /   |  l」    |   と
        |人   '、 _) /  / // , '     |      |   申
      ∠、 > 、   / __イ./´ /,'     |      |   し
        { / /` ー 个´, -‐ `ヽ'  / ,    ;        |    た
        ∨レ'   _r//      \' /|  ./      '、   か
         ,. -===r':::7´        ∨ ;  ,.'          \
       / |    く::/{          ト、/           ` ̄ ̄
      l|   、  `7  、          、 \
      l|   \r'::}   |ト、            \
       l」    `7   .|| \           'ヽ、
           /   /  /:::ム、_,,.. -─ 、   }  ';
          ./   {{  {/          ,イ   }
          /   __,.> ´             , ' |  /
        / _r「 l」             /  |/
       / /´ | | r               /
     ,rヘ/   | | l」              /
     /  {/  __| |  _            /、
    ;   し'´ ヽヽ | |          ./::::ヽ
     |      | ト、\          /:::::::::::\

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List