Skip to content
kanyugaPublic

About

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

Topics

Resources

Stars

10 stars

Watchers

2 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

10 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages