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

The Ultimate Language

Name: Anonymous 2012-01-26 14:07


enum action : string
{
    x = "test",
    y = "test2",
    z = "test3"
}

foreach (a; __traits(allMembers, action))
{
    if (input == a)
    {
        return mixin("action." ~ a);
    }
}


Why is /prog/ not using D? Why is *everyone* not using D?

Name: Anonymous 2012-01-27 10:07

>>20
This is moronic. C is not meant for high-level application, and it shows. Check out any popular web browser, music player, game, etc. written in C to see where you should not use this language. C is a portable assembly, and as such, should be limited to a low level environment where it belongs.

Embed a higher level language into C if you want abstraction and speed.

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