• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Vodahmin

Programming languages comparison

9 posts in this topic

Just found this comic on the Internet, I thought I'd share it with you [img]http://public.gamedev.net//public/style_emoticons/default/biggrin.png[/img]


[img]http://i46.tinypic.com/2nc1k04.jpg[/img]
0

Share this post


Link to post
Share on other sites
From [url="http://www.fullduplex.org/humor/2006/10/how-to-shoot-yourself-in-the-foot-in-any-programming-language/"]HERE[/url]
[quote]
[b]C[/b]
You shoot yourself in the foot.
[b]C++[/b]
You accidentally create a dozen clones of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can’t tell which are bitwise copies and which are just pointing at others and saying, “That’s me, over there.”
[b]JAVA[/b]
After importing java.awt.right.foot.* and java.awt.gun.right.hand.*, and writing the classes and methods of those classes needed, you’ve forgotten what the hell you’re doing.
[b]Ruby[/b]
Your foot is ready to be shot in roughly five minutes, but you just can’t find anywhere to shoot it.
[b]PHP[/b]
You shoot yourself in the foot with a gun made with pieces from 300 other guns.
[b]ASP.NET[/b]
Find a gun, it falls apart. Put it back together, it falls apart again. You try using the .GUN Framework, it falls apart. You stab yourself in the foot instead.
[b]SQL[/b]
SELECT @ammo:=bullet FROM gun WHERE trigger = ‘PULLED’;
INSERT INTO leg (foot) VALUES (@ammo);
[b]Perl[/b]
You shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you.
[b]Javascript[/b]
YOu’ve perfected a robust, rich user experience for shooting yourself in the foot. You then find that bullets are disabled on your gun.
[b]CSS[/b]
You shoot your right foot with one hand, then switch hands to shoot your left foot but you realize that the gun has turned into a banana.
[b]FORTRAN[/b]
You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you have no exception-handling ability.
[b]Modula2[/b]
After realizing that you can’t actually accomplish anything in this language, you shoot yourself in the head.
[b]COBOL[/b]
Using a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER. on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied.
[b]LISP[/b]
You shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds ….
[b]BASIC[/b]
Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged.
[b]FORTH[/b]
Foot in yourself shoot.
[b]APL[/b]
You shoot yourself in the foot, then spend all day figuring out how to do it in fewer characters.
[b]Pascal[/b]
The compiler won’t let you shoot yourself in the foot.
[b]SNOBOL[/b]
If you succeed, shoot yourself in the left foot.
If you fail, shoot yourself in the right foot.
[b]Concurrent Euclid[/b]
You shoot yourself in somebody else’s foot.
[b]HyperTalk[/b]
Put the first bullet of the gun into the foot of the left leg of you.
Answer the result.
[b]Motif[/b]
You spend days writing a UIL description of your foot, the trajectory, the bullet, and the intricate scrollwork on the ivory handles of the gun. When you finally get around to pulling the trigger, the gun jams.
[b]Unix[/b]
% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls
%
[b]Paradox[/b]
Not only can you shoot yourself in the foot, your users can too.
[b]Revelation[/b]
You’ll be able to shoot yourself in the foot just as soon as you figure out what all these bullets are for.
[b]Visual Basic[/b]
You’ll shoot yourself in the foot, but you’ll have so much fun doing it that you won’t care.
[b]Prolog[/b]
You tell your program you want to be shot in the foot. The program figures out how to do it, but the syntax doesn’t allow it to explain.
[b]Ada[/b]
After correctly packaging your foot, you attempt to concurrently load the gun, pull the trigger, scream and shoot yourself in the foot. When you try, however, you discover that your foot is of the wrong type.
[b]Assembly[/b]
You try to shoot yourself in the foot only to discover you must first reinvent the gun, the bullet, and your foot. After that’s done, you pull the trigger, the gun beeps several times, then crashes.
[b]370 JCL[/b]
You send your foot down to MIS with a 4000-page document explaining how you want it to be shot. Three years later, your foot comes back deep-fried.
[b]Python[/b]
You try to shoot yourself in the foot but you just keep hitting the whitespace between your toes.
[/quote] Edited by Shippou
0

Share this post


Link to post
Share on other sites
[quote name='Shippou' timestamp='1350147004' post='4989817']
[b]Unix[/b]
% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls
%
[/quote]
Omg that is so good! Never realized the danger of an extra space.
0

Share this post


Link to post
Share on other sites
[quote name='Shippou' timestamp='1350147004' post='4989817']
[b]Unix[/b]
% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls
%
[/quote]roflmao I wasn't following it till the second ls and then it all made sense :P
0

Share this post


Link to post
Share on other sites
Ruby: you hit your foot with your brand, new, exclusive to Ruby invention called the Atlatl, because guns are violent, mkay.
0

Share this post


Link to post
Share on other sites
Hey, don't dis the atlatl. It feels pretty badass when you actually hit the target with one! ;)

... I guess the same thing could be said of some programming languages, too. Edited by Nypyren
0

Share this post


Link to post
Share on other sites
PureBasic (www.purebasic.com)

Shoot(Foot);


And you can do it with revolver wearing croc, magnum wearing slipppers, or whatever wearing whatever.

And if you want to do it Alone in The Dark 3 kung fu style, you can put the bullet in your hand pointed to your foot and hit it with a hammer.

Explanation: PureBasic is NASM in Basic flavour with a simple style to do "OOP" enough to let you write read able code. A license with free upgrade allow you to compile to Windows, Linux, MacOS and AmigaOS. And it has all the popular function built in (GUI, multimedia, opengl, database, etc).

And since it built on top of NASM, you can add inline assembly too.

You are welcome :-)
0

Share this post


Link to post
Share on other sites
Nothing for C#? That's too bad...
Here are two of my additions for some essoteric languages:

[b][url="http://en.wikipedia.org/wiki/Malbolge"]Malbolge[/url]:[/b]
You will never shoot your foot because your brain [url="http://www.99-bottles-of-beer.net/language-malbolge-995.html"]will melt first[/url].

[b][url="http://en.wikipedia.org/wiki/Brainfuck"]Brainfuck[/url]:[/b]
If you eventually manage to shoot your foot off with this, that'll be the least of your worries when the maintenance programmer gets a hold of you.
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0