Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
kill a dragon with various programming languages
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="vidura99" data-source="post: 9623388" data-attributes="member: 244453"><p><span style="font-family: 'verdana'"><p style="text-align: left"><span style="font-size: 15px">There's a beautiful princess, prisoner in the highest tower of a castle, guarded by a mighty dragon, and a fearless knight must rescue her…</span></p></span></p><p style="text-align: left"><span style="font-family: 'verdana'"><span style="font-size: 15px"></span> </p></span></p><p style="text-align: left"><span style="font-family: 'verdana'"><span style="font-size: 15px">This is how each language would manage to rescue the princess from the hands of the dragon</span></p></span></p><p style="text-align: left"><span style="font-family: 'verdana'"></p></span></p><p style="text-align: left"><span style="font-family: 'verdana'"></p></span></p><p style="text-align: left"><span style="font-family: 'verdana'"><span style="font-size: 15px"><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></span></p></span></p><p style="text-align: left"><span style="font-family: 'verdana'"><span style="font-size: 15px"></span></p><p></span></p><ul> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Java</strong> - Gets there, finds the dragon, develops a framework for dragon anihilation with multiple layers, writes several articles about the framework… But doesn't kill the dragon.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>.NET</strong> - Gets there, sees the idea of the Java developer and copies it. Tries to kill the dragon, but the monster eats him.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>C </strong>- Arrives, looks down at the dragon, pulls out his sword, beheads the dragon, finds the princess… And ignores her to see the last checkins of linux kernel cvs.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>C++</strong> - Creates a basic needle, and gathers funcionality until he has a complex sword that he can barely understand… He kills the dragon, but gets stuck crossing the bridge because of memory leaks.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>COBOL </strong>- Arrives, sees the dragon and thinks that he is too old to kill a monster that big and rescuing the princess, so he leaves.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Pascal </strong>- He prepares for 10 years to create a dragon anihilation system… When the moment comes, he discovers the program can only take lizards as an entry.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>VB </strong>- Builds a dragon destruction weapon based on several components, jumps to the back of the dragon and in the most critical time he discovers that the sword works only on rainy nights…</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>PL/SQL</strong> - Gets data from other dragon slayers, creates tables with n ternary complexity relations, tridimensional data, OLAP, takes 15 years to process the information… And by then, the princess became a lesbian.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Ruby </strong>- Arrives with massive fame, saying he is the best at anything and when he faces the dragon, he shows a lame motion picture of himself killing a dragon… The dragon eats him out of boredom.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"> <strong>Smalltalk </strong>- Arrives, analyzes the dragon and princess, turns around and leaves, they are way too inferior.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>shell </strong>- Creates a very powerful dragon slaying weapon… But in the moment of truth, he can't remember how to use it.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>shell(2)</strong>- The guy approaches the dragon with a two line script that kills, cuts, disembowels, impales, chops to pieces and packs the beast, but when he runs it the script grows, it fattens, irritates and puts alcohol in the fire of the dragon…</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Assembler </strong>- He thinks he's doing the right and most efficient things… But he writes an A instead of a D and kills the princess to end up f***ing the dragon.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Fortran </strong>- Arrives and develops a 45-thousand-code-line-solution, kills the dragon, meets the princess… But she calls him a weakling and runs after the Java programmer who was elegant, and also rich.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>FOX PRO </strong>- Develops a dragon killing system. It's gorgeous and works on the outside, but it's really patched inside, so when he runs the dragon anihilator, he realizes he forgot to index the DBFs.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>PROCESS ANALYST</strong> - Approaches the dragon with two tons of documentation, develops the unified dragon-killing process, he develops a DFD to free the princess and marry her, convinces the dragon that it's the best for him and it won't hurt. When he executes the process, he estimates the effort and the damage he will cause with a plan signed by the Pope, Buddha and Michael Jackson. Then he buys a couple of nukes, 45 cannons, an aircraft carrier and hires 300 heavily armed men… When all he needed was the sword he was holding in his hand in the beginning…</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>CLIPPER</strong>: Sets up a routine that loads a codeblock array to insult the dragon, serenade the princess, load the sword in memory, beat the crap out of the dragon, clean the mess, prepare a raspberry milkshake for the princess, make love to her, take a bath, start the car, put it some gas and come back home. When he runs it, he gets a "Bound Error: Array Access" and the dragon eats him with fries.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Lisp</strong>, where the famous knight-errant, after speaking with numerous experts in dragon-killing, and modeling the knowledge they posess, he programs the system, and when he runs it he realizes he forgot a bracket (bender the offender).</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>HTML</strong>: Mounts a web on famous swords used to kill dragons, but he ignores the W3C standards. When he meets the dragon, he finds out the code isn't compatible with his browser, so he's left swordless. The dragon eats him as an appetizer.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Prolog</strong>: Thinks he needs a weapon to kill the dragon. Searches in a catalog for 182014 weapons. By the time the princess dies of her age, he's achieved to know how to make every weapon starting with A: Atomic Bombs, Anti-Air Weapons, Arches, Ammunition, Axes...</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>PHP</strong>: Creates a web page that when he executes it would eliminate the $dragon selecting from a weapons databese in MySQL over an Apache server. Nevertheless he forgot the WHERE in the DELETE query and kills the princess, the dragon, the peasants, the witch, the sorceror and the programmer himself.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>JavaScript</strong>: The programmer tries to kill the great green dragon that spits fire throug his mouth. He creates a script that will delete the dragon when he loads a webpage, to create seconds after, some damsels to throw him flowers and make clapping sounds. Unfortunately he didn't take into account the DOM structure of the lizard, also known as Mozilla, and the only thing he gets is to fill his console of errors and that the Book of Mozilla tells how he was devoured.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>ActiveX</strong>: The programmers create a tunnel to enter the dragon's lair from the castle and run a program that will kil the dragon from a safe and prudential distance. The dragon discovers the tunnel, eats the workers who dug, the dragon slayers, and enslaves every servant in the castle. The castle becomes a dragon-breeding place, full of little dragons that the dragon sends in pop-ups to other castles. The untasty remains of the knights are put in cans of Spam and sent to other castles as well as a warning. (aquelquesiente)</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Basic</strong>. He creates a weapon able to kill paper dragons, but no matter how they improve it, they discover it's not good enough to kill any dragon bigger than a baby poodle.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Matlab</strong>: They create a loop that calculates the trajectories to shoot a giant arrow at the dragon. The program works flawlessly. What they need now are the voluntaries caoable to launch tha arrow with the necessary strength and accuracy.</span></li> <li data-xf-list-type="ul"><span style="font-family: 'verdana'"><strong>Videogame Programmer</strong> : Spends two years programming a state-of-the-art sword with shaders and all. When the time comes to kill the dragon, he finds that half the knights aren't strong enough to raise the sword. Then someone programs a patch that reveals the sex scenes with the princess and Hillary Clinton makes it a scandal</span></li> </ul></p></blockquote><p></p>
[QUOTE="vidura99, post: 9623388, member: 244453"] [FONT=verdana][LEFT][SIZE=4]There's a beautiful princess, prisoner in the highest tower of a castle, guarded by a mighty dragon, and a fearless knight must rescue her… [/SIZE] [SIZE=4]This is how each language would manage to rescue the princess from the hands of the dragon[/SIZE] [SIZE=4]:D:D:D:D:D:D:D:D [/SIZE][/LEFT] [LIST] [*][B]Java[/B] - Gets there, finds the dragon, develops a framework for dragon anihilation with multiple layers, writes several articles about the framework… But doesn't kill the dragon. [*][B].NET[/B] - Gets there, sees the idea of the Java developer and copies it. Tries to kill the dragon, but the monster eats him. [*][B]C [/B]- Arrives, looks down at the dragon, pulls out his sword, beheads the dragon, finds the princess… And ignores her to see the last checkins of linux kernel cvs. [*][B]C++[/B] - Creates a basic needle, and gathers funcionality until he has a complex sword that he can barely understand… He kills the dragon, but gets stuck crossing the bridge because of memory leaks. [*][B]COBOL [/B]- Arrives, sees the dragon and thinks that he is too old to kill a monster that big and rescuing the princess, so he leaves. [*][B]Pascal [/B]- He prepares for 10 years to create a dragon anihilation system… When the moment comes, he discovers the program can only take lizards as an entry. [*][B]VB [/B]- Builds a dragon destruction weapon based on several components, jumps to the back of the dragon and in the most critical time he discovers that the sword works only on rainy nights… [*][B]PL/SQL[/B] - Gets data from other dragon slayers, creates tables with n ternary complexity relations, tridimensional data, OLAP, takes 15 years to process the information… And by then, the princess became a lesbian. [*][B]Ruby [/B]- Arrives with massive fame, saying he is the best at anything and when he faces the dragon, he shows a lame motion picture of himself killing a dragon… The dragon eats him out of boredom. [*] [B]Smalltalk [/B]- Arrives, analyzes the dragon and princess, turns around and leaves, they are way too inferior. [*][B]shell [/B]- Creates a very powerful dragon slaying weapon… But in the moment of truth, he can't remember how to use it. [*][B]shell(2)[/B]- The guy approaches the dragon with a two line script that kills, cuts, disembowels, impales, chops to pieces and packs the beast, but when he runs it the script grows, it fattens, irritates and puts alcohol in the fire of the dragon… [*][B]Assembler [/B]- He thinks he's doing the right and most efficient things… But he writes an A instead of a D and kills the princess to end up f***ing the dragon. [*][B]Fortran [/B]- Arrives and develops a 45-thousand-code-line-solution, kills the dragon, meets the princess… But she calls him a weakling and runs after the Java programmer who was elegant, and also rich. [*][B]FOX PRO [/B]- Develops a dragon killing system. It's gorgeous and works on the outside, but it's really patched inside, so when he runs the dragon anihilator, he realizes he forgot to index the DBFs. [*][B]PROCESS ANALYST[/B] - Approaches the dragon with two tons of documentation, develops the unified dragon-killing process, he develops a DFD to free the princess and marry her, convinces the dragon that it's the best for him and it won't hurt. When he executes the process, he estimates the effort and the damage he will cause with a plan signed by the Pope, Buddha and Michael Jackson. Then he buys a couple of nukes, 45 cannons, an aircraft carrier and hires 300 heavily armed men… When all he needed was the sword he was holding in his hand in the beginning… [*][B]CLIPPER[/B]: Sets up a routine that loads a codeblock array to insult the dragon, serenade the princess, load the sword in memory, beat the crap out of the dragon, clean the mess, prepare a raspberry milkshake for the princess, make love to her, take a bath, start the car, put it some gas and come back home. When he runs it, he gets a "Bound Error: Array Access" and the dragon eats him with fries. [*][B]Lisp[/B], where the famous knight-errant, after speaking with numerous experts in dragon-killing, and modeling the knowledge they posess, he programs the system, and when he runs it he realizes he forgot a bracket (bender the offender). [*][B]HTML[/B]: Mounts a web on famous swords used to kill dragons, but he ignores the W3C standards. When he meets the dragon, he finds out the code isn't compatible with his browser, so he's left swordless. The dragon eats him as an appetizer. [*][B]Prolog[/B]: Thinks he needs a weapon to kill the dragon. Searches in a catalog for 182014 weapons. By the time the princess dies of her age, he's achieved to know how to make every weapon starting with A: Atomic Bombs, Anti-Air Weapons, Arches, Ammunition, Axes... [*][B]PHP[/B]: Creates a web page that when he executes it would eliminate the $dragon selecting from a weapons databese in MySQL over an Apache server. Nevertheless he forgot the WHERE in the DELETE query and kills the princess, the dragon, the peasants, the witch, the sorceror and the programmer himself. [*][B]JavaScript[/B]: The programmer tries to kill the great green dragon that spits fire throug his mouth. He creates a script that will delete the dragon when he loads a webpage, to create seconds after, some damsels to throw him flowers and make clapping sounds. Unfortunately he didn't take into account the DOM structure of the lizard, also known as Mozilla, and the only thing he gets is to fill his console of errors and that the Book of Mozilla tells how he was devoured. [*][B]ActiveX[/B]: The programmers create a tunnel to enter the dragon's lair from the castle and run a program that will kil the dragon from a safe and prudential distance. The dragon discovers the tunnel, eats the workers who dug, the dragon slayers, and enslaves every servant in the castle. The castle becomes a dragon-breeding place, full of little dragons that the dragon sends in pop-ups to other castles. The untasty remains of the knights are put in cans of Spam and sent to other castles as well as a warning. (aquelquesiente) [*][B]Basic[/B]. He creates a weapon able to kill paper dragons, but no matter how they improve it, they discover it's not good enough to kill any dragon bigger than a baby poodle. [*][B]Matlab[/B]: They create a loop that calculates the trajectories to shoot a giant arrow at the dragon. The program works flawlessly. What they need now are the voluntaries caoable to launch tha arrow with the necessary strength and accuracy. [*][B]Videogame Programmer[/B] : Spends two years programming a state-of-the-art sword with shaders and all. When the time comes to kill the dragon, he finds that half the knights aren't strong enough to raise the sword. Then someone programs a patch that reveals the sex scenes with the princess and Hillary Clinton makes it a scandal [/LIST] [/FONT] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom