Skip to content

A task list application written in different languages with the purpose of comparing and contrasting them.

Notifications You must be signed in to change notification settings

jongrover/procedural-task-list-in-many-languages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural Task List In Many Languages

About

A task list application written in different languages with the purpose of comparing and contrasting them. It highlights very basic and high use statements in each language such as global and local variables, if else conditional statements, for loops and while loops. It demonstrates how each language deals with: sending messages and gathering input from users, how to convert between strings and integers, as well as how to define and call functions. While writing these scripts I choose a syntax focusing on readability over terseness or power. I will continue to add more languages as I learn them... or submit them yourself through a pull request!

I haven't yet added validation so this app assumes the user inserts a string for new tasks and integers to remove task by number.

Demos

To run the demos it is assumed that you have already installed the required language on your system.

  1. JavaScript (ES5): open index.html in a browser.
  2. Python v2.7.9: from shell type $ python task-list.py.
  3. Ruby v2.2.2p95: from shell type $ ruby task-list.rb.
  4. PHP v5.4.45: from shell type $ php task-list.php.

Contributing

  1. Fork me.
  2. Clone me.
  3. Submit a pull request.

License

Copyright © 2016 Jonathan Grover, Purple Rabbit LLC, Code Pajamas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A task list application written in different languages with the purpose of comparing and contrasting them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published