Git Product home page Git Product logo

curse's Introduction

			       Elizabethan Curses
		     a more interesting Hello World program
		      in every language I'm interested in
			 http://trevorstone.org/curse/
			  license-free, public domain

When learning Perl in high school, the curse program was the first interesting
code I wrote.  I started with a list of Elizabethan dialect adjectives and
nouns compiled by Jerry Maguire, an English teacher at Center Grove High School
in Greenwood, Indiana.  By combining two adjectives and a noun, you can create
a curse or insult that sounds like it might have been written by William
Shakespeare.

Since that first Perl program, I've implemented the curse program in several
languages as a way to exercise several important features:
  * literal initialization
  * arrays
  * string manipulation
  * functions
  * looping
  * input/output
  * command-line arguments
  * random number generation
  * objects/classes (for languages that deem themselves object-oriented)

Since these implementations are essentially more advanced "hello world"
programs, all code is made available under the public domain, free for any use
which the reader deems helpful.  Since curse was often the first program I
wrote in a particular language, I make no claim of quality.  Suggestions for
improving implementations or making them more idiomatic are welcome,
thou peevish ill-composed hedgepig!

curse's People

Contributors

flwyd avatar

Stargazers

Angus H. avatar  avatar Corbin Royer avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.