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

Dungeons and Dragons

Name: Anonymous 2009-10-06 17:29

Lets compare D&D classes with popular programming languages.
(#1 most nerdy thread ever)

Fighter - C++
-Very versatile but more complex and not quite as effective in melee as a barbarian.

Barbarian - C
-Very simple, very powerful.

Ranger - Java
-Easy to play, very popular, vast collection of abilities that help solve problems quickly.

Wizard - Lisp/Scheme
-Most powerful caster, highest intelligence.

Sorcerer - Haskell
-Slightly less intelligent than a wizard, but makes up for it in charisma.

Rogue - Scripting Languages
-Executes behind your back.

Cleric - SQL
-Revives players when they crash.
 
Paladin - Python
-Easiest to play, but forces you to play a certain way.

Name: Anonymous 2009-10-07 20:03

>>58
OO is not something you need compiler help to accomplish. Most of C++'s OO support is just syntactic sugar; indeed C++ started out as just a preprocessor to C code. Most well-written C libraries tend to drift towards an OO model anyway, where structs represent object state, and a series of functions taking that struct pointer as the first argument behave as methods. Take a look at any good floss C library like sqlite, zlib, libpng, etc; they are all very object-oriented (some use even more high-level constructs, for instance libpng has C++-style exception handling with longjmp!)

Polymorphism and inheritance are quite easy to accomplish with C code in a variety of ways. Unfortunately they are massively overused which makes C++ seem far more necessary than it actually is.

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