• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
The Code
 

The Code

on

  • 1,148 views

Presentation at WebJam 9. A Tongue in Cheek look at Programming Languages

Presentation at WebJam 9. A Tongue in Cheek look at Programming Languages

Statistics

Views

Total Views
1,148
Views on SlideShare
1,148
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    The Code The Code Presentation Transcript

    • THE CODE Gary Barber - Information Architect, User Interaction Designer radharc.com.au manwithnoblog.com WebJam9
    • WebJam9
    • WORKING-STORAGE SECTION. 77 WS-NAME-ERROR-FLAG 77 WS-NAME COPY NAMEW.COB. PROCEDURE DIVISION. PIC 9(01) COMP VALUE 0. PIC X(30) VALUE SPACES. Cobol 000000-CONTROL. PERFORM 000100-PROCESS-NAME THRU 000100-EXIT UNTIL (WS-NAME = quot;ENDquot;). 000000-EXIT. STOP RUN. 000100-PROCESS-NAME. DISPLAY quot; quot;. DISPLAY quot;ENTER NAME (UP TO 30 CHARACTERS)quot;. DISPLAY quot;123456789012345678901234567890 ('END' TO STOP)quot;. MOVE SPACES TO WS-NAME. ACCEPT WS-NAME. IF WS-NAME = quot;ENDquot; GO TO 000100-EXIT. MOVE WS-NAME TO NAW-NAME-WORK. PERFORM 006000-NAME-EDIT THRU 006000-EXIT IF (WS-NAME-ERROR-FLAG = 1) DISPLAY quot;NAME INVALIDquot; GO TO 000100-EXIT. MOVE WS-NAME TO NAW-NAME-WORK. PERFORM 006100-NAME-REVERSE THRU 006100-EXIT DISPLAY NAW-NAME-WORK. DISPLAY quot;LAST: quot; NAW-SPLIT-LAST. DISPLAY quot;FIRST: quot; NAW-SPLIT-FIRST. DISPLAY quot;PRE: quot; NAW-SPLIT-PRE. DISPLAY quot;POST: quot; NAW-SPLIT-POST. 000100-EXIT. EXIT. COPY NAMEP.COB. WebJam9
    • HAI CAN HAS STDIO? I HAS A PET Lolcode GIMMEH PET, OBTW This is the beginning of a long comment block, or actually, quot;OBTWquot; was the beginning. And to end it... TLDR BOTH SAEM PET AN quot;CATquot;, O RLY? YA RLY,VISIBLE quot;JOO HAS A CATquot; NO WAI, VISIBLE quot;JOO NEEDS CATquot; OIC I HAS A VAR GIMMEH VAR IZ VAR BIGGER THAN 10? YARLY BTW this is true VISIBLE quot;BIG NUMBER!quot; NOWAI BTW this is false VISIBLE quot;LITTLE NUMBER!quot; KTHX KTHXBAI WebJam9
    • Coldfusion <cfloop LIST = quot;#Server.Coldfusion.SupportedLocales#quot; index = quot;localequot; delimiters = quot;,quot;> <cfset oldlocale = SetLocale(quot;#locale#quot;)> <cfoutput><p>#locale#<br /> Local: #LSEuroCurrencyFormat(123456, quot;localquot;)#<br /> Currency Number: #LSParseEuroCurrency(quot;EUR123456quot;)#<br /> International: #LSEuroCurrencyFormat(123456, quot;internationalquot;)#<br /> None: #LSEuroCurrencyFormat(123456, quot;nonequot;)#<br /> <hr noshade> </p></cfoutput> </cfloop> WebJam9
    • Ruby require 'rubygems' require 'httparty' class Ebay include HTTParty end begin item = Ebay.get('http://rorbuilder.info/cgi-bin/ebay.cgi)['ebay'] item.each do |key, value| puts key + ': ' + value end rescue p 'oops that product doesn't exist' end WebJam9
    • WebJam9
    • WebJam9
    • F ingerversitive U niversial C ompiled K nowledge I ntegration T ranslator WebJam9
    • 2 x 5 elements 11 = optiumal base5 WebJam9
    • function() WebJam9
    • pointer [x] WebJam9
    • pointer.pink.hair [x] WebJam9
    • loop() WebJam9
    • loop.2() WebJam9
    • loop.x() WebJam9
    • loop.(oops) WebJam9
    • flag.x = declare() WebJam9
    • flag.x = .maybe. WebJam9
    • flag.x = .wtf. WebJam9
    • if(x is .true.) WebJam9
    • case (this | that) WebJam9
    • case (this only!) WebJam9
    • blind.panic(!purplehair) WebJam9
    • just.crazy(horns) WebJam9
    • pray() WebJam9
    • flip() WebJam9
    • flip.2() WebJam9
    • flip.2x() WebJam9
    • flip.x() WebJam9
    • HAPPY BIRTHDAY LACHLAN WebJam9