Skip to content

samirose/bbhw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bye Bye Hello World

Traditionally, the Hello World program is the first example offered as the introduction to a programming language and does nothing more than output the string "Hello World" to the output medium--generally the console. While adequate to demonstrate a particular language can actually do something, for anyone other than the novice programmer, a more thorough example is called for.

These code examples attempt to demonstrate basic capabilities of the languages we will examine by expanding Hello World to include:

  • Command Line Parameters
    Taking input criteria from the command line.

  • Prompted Input
    Prompting the user for input criteria.

  • Input Validation
    Examination of input criteria against programmed limits.

  • Conditional Branching
    Altering the execute path based on conditions.

  • Iteration
    Repeated execution until a condition is met.

Usage

bbhw [count]

where: count = Number of iterations. User prompted of not supplied.

Result

Counts down from count to 0, pausing between each iteration, and prints each count until complete.

About

Bye Bye Hello World

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 35.2%
  • Scheme 16.9%
  • APL 9.0%
  • Erlang 8.5%
  • J 8.5%
  • Elixir 5.5%
  • Other 16.4%