Hello world project extravaganza, the Python version.
This repository contains a collection of “Hello World” command-line batch programs; from the simplest “Hello World” Python, in plain text, to a “Hello World” more complex. This is part of a fun and educational project that showcases how to print “Hello World” in different programming languages. The goal is to have a “Hello World” program in every programming language. This project is inspired by the GitHub Hello World project and you can found it in Hello World Extravaganza website.
To get started, clone this repository to your local machine:
git clone https://github.com/silviotorre/helloworld.git
To run the “Hello World” program navigate to the project directory and run the program. Follow the instructions below to run the “Hello World” . Some info: Python
For general more information see https://en.wikipedia.org/wiki/Python
alternatively you can:
start hello-world.html
There is several design patterns and you could potentially use it together, even though they would typically be used in much more complex and specific scenarios. In this example we use the module pattern, the module pattern is a common Python coding pattern. It’s generally well understood, but there are a number of advanced uses that have not gotten a lot of attention. Also we use Observer and Factory design patterns. The Observer pattern offers a subscription model in which objects subscribe to an event and get notified when the event occurs. This pattern is the cornerstone of event driven programming, including Python. The Observer pattern facilitates good object-oriented design and promotes loose coupling. Objects don’t have to know a lot about each other to interact, but instead need only be concerned with the fact that the event they are subscribing to will trigger if applicable. This pattern is also key in the effective use of the Model-View-Controller (MVC) architectural pattern. The Factory pattern is another creational pattern concerned with the notion of creating objects. Where it differs from the other patterns in its category is that it doesn’t explicitly require us to use a constructor. Instead, a Factory can provide a generic interface for creating objects, where we can specify the type of factory object we wish to be created.
Feel free to contribute your own “Hello World” programs to this repository. Simply create a new directory with the name of the programming language and add a file named hello-world.
Enjoy and happy coding!