Skip to content

Instantly share code, notes, and snippets.

@dmcgrath
Created January 9, 2018 21:11
Show Gist options
  • Save dmcgrath/4f4c866c90810b34af13b4fcecbee784 to your computer and use it in GitHub Desktop.
Save dmcgrath/4f4c866c90810b34af13b4fcecbee784 to your computer and use it in GitHub Desktop.
; function findItem() { ;
; var item ;
; while(item_not_found) { ;
// search
; } ;
; return item ;
; } ;
; var item = findItem() ;
// Do something with item
; doSomethingElse() ;
@deltaepsilon
Copy link

This is a thing of beauty.

@jesselpalmer
Copy link

I shed a tear when I saw this. The tear was because I had a sense of overwhelming sadness and pure bliss at the same time. I only need one word to describe this style... perfection. Well done @dmcgrath. Thank you.

@azz
Copy link

azz commented Jan 10, 2018

Wrong. You need to justify the text.

; function             findItem              (               )              { ;
; var                                                                    item ;
; while          (          item_not_found               )                  { ;
                              // search
;                                  }                                          ;
; return                                                                 item ;
;                                  }                                          ;

; var          item          =          findItem             (              ) ;

                        // Do something with item
; doSomethingElse                  (                                        ) ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment