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 7:51

>>40
You mean after Guido replaces all intendation with )))))))))))))))))))))))))))))))))?

Name: Anonymous 2009-10-07 8:23

>>39
Guido "no tail-call optimization" van Rossum, you mean.

Name: Anonymous 2009-10-07 8:39

>>40
no. your Lisp fanboyism is what's laughable.

Name: Anonymous 2009-10-07 8:42

>>43
Leave.

Name: Anonymous 2009-10-07 8:50

>>44
why should i leave just because i don't like your flavour of the month toy language?
you leave. silly fanboys can't take even an ounce of criticism.
you're just like apple fanatics.

Name: Anonymous 2009-10-07 9:08

>>45
why should i leave just because i don't like your flavour of the month toy language?
you leave. silly fanboys can't take even an ounce of criticism.
you're just like apple fanatics.

Name: Anonymous 2009-10-07 9:25

>>46
you are mistaken.
i am not a python programmer, so i couldn't care less what you say about the language.
you lispers on the other hand go apeshit when someone says even the slightest thing bad about lisp. it's very funny to watch.
most of the time i can't tell if you're trolling or just completely insane.

Name: Anonymous 2009-10-07 9:32

>>45
flavour of the month toy language?
If I may, I'd like to direct you to the vast archive of /prog/ threads on Lisp available from the link "All Threads" beside the Thread list.

Name: TRUE TRUTH EXPERT !tQq1sLlmuk 2009-10-07 9:49

"let's just associate our impression of a programming language with descriptions of game characters"

tHEN YOU GOT "C IS SIMPLE, BUT POWERFUL" WHICH IS PLAIN WRONG. bOY I HATE THESE KINDS OF THREADS, IT'S LIKE I'M A HISTORIAN WATCHING PERL HARBOR (TEH MOVIE).

Name: TRUE TRUTH EXPERT !tQq1sLlmuk 2009-10-07 9:53

>>47
i am not a python programmer, so i couldn't care less what you say about the language.
oR:
iMPLIES THAT IF YOU PROGRAM IN A LANGUAGE YOU SHOULD CARE FOR THE THINGS OTHER SAY ABOUT IT
tHAT'S MIGHTY SMART OF YOU TIMYM. FUCKOFF!!

Name: Anonymous 2009-10-07 10:05

>>50
you are mistaken.
i am not a python programmer, so i couldn't care less what you say about the language.
you lispers on the other hand go apeshit when someone says even the slightest thing bad about lisp. it's very funny to watch.
most of the time i can't tell if you're trolling or just completely insane.

Name: Anonymous 2009-10-07 10:14

>>48
yes.
in all my years on /prog/ i have seen a lot of lisp threads.
however, only recently has the amount of Lisp weenies reached such a huge amount.
until very recently you were also able to act like normal human beings, not shitposters. now, suddenly you're a bunch of bitching little babies who make sure that every thread is filled with "hay, OP. ur langage is shite lolololol XDDDDD LISP IS BETTAR BECUS MACROS N SHIT lolololo LISP IS BETR TAHN EVERETHING"

Name: Anonymous 2009-10-07 11:17

Lisp is too hard. :(

Name: Anonymous 2009-10-07 11:22

>>49
OP here. I'm a C/Lisp programmer. C is simple, powerful, and oh wait... IHBT

Name: Anonymous 2009-10-07 11:32

DANGEROUS EROTIC SHITS

Name: Anonymous 2009-10-07 11:32

>>52
Sounds like someone is upset they fucked up when they spent 5 years learning useless languages like ENTERPRISE, FIOC, and of course, the worst of them all: DEAD DOG, when they could have learned just ONE language that could have solved anything the previous languages could better, faster, and easier than the aforementioned (not to mention being able to solve problems outside of the previous languages' capabilities).

Name: TRUE TRUTH EXPERT !tQq1sLlmuk 2009-10-07 11:36

>>52
wELCOME TO THE /prog/ ENLIGHTMENT ERA. iT'S NOT A LIE - LISP IS BETTER. aLL HAIL LISP! TOADZ

>>54
wHAT DO YOU MEAN WHEN YOU SAY THAT c IS SIMPLE?

Name: Anonymous 2009-10-07 12:06

>>57
Very low level, close to machine code, not OO.

Name: Anonymous 2009-10-07 12:24

>>57
i MENA HASKELL

Name: Anonymous 2009-10-07 12:37

>>58
implying that OO is not simple

Name: Anonymous 2009-10-07 13:06

LISP

Haskell

I haven't read this thread, but I'm sure it would've contained a shitstorm back when /prog/ was still good.

Name: Anonymous 2009-10-07 13:08

>>60
OP here again. You try and write an OO compiler that isn't more complicated than a C compiler.

Oh! I see the confusion here.

When I say 'simple' I don't mean simple to code. I mean simple to implement the language itself.

Name: Anonymous 2009-10-07 13:16

>>62
I guess that makes a little more sense

Name: Anonymous 2009-10-07 16:05

We should write /prog/&dragons

Name: Anonymous 2009-10-07 17:58

>>64
Yes YES VERY YES!

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.

Name: Anonymous 2009-10-07 20:19

>>62, 63

This is why people that try to be serious on /prog/ just make themselves out to be such fucking idiots.  Which language is more complicated?  Assembly or C?  Assembly doesn't have a compiler, but C is basically a higher-level (easier) version of Assembly. 

Hell, even most OO languages compile into bytecode, which is much simpler than compiling into Assembly.

IHBT / go2/g/

Name: Anonymous 2009-10-07 20:19

>>66
Most of C++'s OO support is just syntactic sugar
What OO principles does sepples support? Encapsulation? No. Reflection? No. C++ is less OO than Lua.

Name: Anonymous 2009-10-07 20:43

>>68
So Smalltalk > Python > JavaScript > Lua > C++ ?

Name: Anonymous 2009-10-07 21:01

>>69
Smalltalk is less than everything else because it has a stupid name and I've never used it.

And because it's OO.

Name: Anonymous 2009-10-07 21:02

>>69
Is that really so hard to believe?

Name: Anonymous 2009-10-07 21:22

>>69
Nice job ordering languages that, for the most part, have different problem domains.  Also, bonus troll points for putting the language designed for teaching rather than being useful on top.

Name: Anonymous 2009-10-07 21:45

>>68
Um, I agree on reflection, which is what I mean why I say you don't need compiler help for it. That was sort of my point; these people saying OO compilers are more complex than C compilers are crazy, because it's a nonsensical statement to begin with. The most reflection C++ actually supports is dynamic_cast<>, which imho is a bad thing because it poses some fairly serious overhead.

But how can you possibly say OO doesn't support encapsulation? You make variables private, inline accessors/mutators, provide factory classes that return implementations of pure virtual interfaces...

Name: Anonymous 2009-10-07 21:57

>>69
I didn't imply any heirarchy.

>>73
I assume you meant "[H]ow can you possibly say sepples doesn't support encapsulation?" Well, I suppose in some obscure, sepples-land technical sense, it supports it because it has the private keyword, but heaven forbid you actually change a private variable (or add a virtual function), then it is lolrecompilan. Why? Because C++ isn't OO. If you have to recompile when I change an aspect of my class that you know nothing about, then my private members are suddenly somehow very public.

Name: Anonymous 2009-10-07 22:41

Lisp

Name: Anonymous 2009-10-07 22:46

>>74
That has to do with how the compiler organizes the code, and has nothing to do with whether the variables are encapsulated.

Name: Anonymous 2009-10-07 22:55

>>76
Oh, it is the compiler's fault? I suppose they'll be fixing that any moment now.

Name: Anonymous 2009-10-07 23:01

>>74
Why do people care so much about recompiling? And what does recompiling have to do with language semantics anyway?

Encapsulating stuff like member variables and the vtable is certainly possible in C++. You just provide a pure virtual interface, and have factory methods that return instances of it. If you want to add virtual methods, just subclass the old interface with a new interface that adds the methods you want. That way old code still works, and new code uses the new interface (and new factory function). This is not just a hack; according to some, this is the proper way to design large, scalable applications.

The reason people don't do it though is because it entails dynamic runtime function calling for everything. All that function call indirection is very costly. This runs directly counter to *speed*, which is one of the main reasons programs are written in C++ at all rather than higher level languages. Design arguments for this paradigm are largely academic and just don't relate to the real world.

If I have to recompile my app to use a newer version of a library where a class's private variables have changed, so be it. I'll gladly trade that for the speed it needs to be fast and responsive to the user.

Name: Anonymous 2009-10-07 23:18

>>78
Why do people care so much about recompiling?
They don't want to break production code when the semantics haven't changed? extern "C" is how you solve a massive fucking problem with C++ everything is fine ignore the man behind the curtain.

If I have to recompile my app to use a newer version of a library where a class's private variables have changed, so be it.
Thankfully most vendors don't agree with you and provide C interfaces which, unlike sepples, can actually manage to behave in a sane manner.

Name: Anonymous 2009-10-07 23:19

Thank god for C.

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