Skip to content
/ barney Public

Code for "When I get sad, stop being sad and be awesome instead"

Notifications You must be signed in to change notification settings

kanyuga/barney

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

You might have come across an image with the following code in it:

//life motto
if (sad() === true) {
    sad().stop()
    beAwesome()
}

This project aims to make complete working variants of the above code in different languages. The variants should contain the code above, verbatim, except where the syntax does not allow.

The code should print out Barney's quote:

When I get sad,
stop being sad
and be awesome instead.

when run, each line from the sad(), stop() and beAwesome() functions (or their equivalents).

Variants

  1. Javascript
  2. Lua
  3. PHP
  4. Python
  5. Ruby

About

Code for "When I get sad, stop being sad and be awesome instead"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published