Skip to content

Chaos-Camp/Over-Engineered

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World Over-Engineered

Python Unit Tests and Linting

Because sometimes, "print('Hello, World!')" just isn't enough.

Table of Contents

Historical Background

In the early days of computing, programmers were content with simple programs like the classic "Hello, World!". As time went on and systems grew in complexity, so did the need for more robust software development practices.

However, in 2023, a group of developers (with a hint of irony and lots of free time) decided to push the boundaries of what's reasonable, and thus, "Hello World Over-Engineered" was born.

This project stands as a monument to the dangers of overthinking and over-engineering. It's a reminder that sometimes the simplest solution is the best.

Project Structure

The project's architecture is an embodiment of excessive abstraction layers, reminiscent of enterprise software for billion-dollar corporations, just to print a greeting.

  • config: Where we define the mode of our application (because you need to know if your "Hello, World!" is production-ready).
  • services: Handles the logic to display messages.
  • factories: In charge of creating the right kind of message, because one doesn't just "create" a message!
  • data: Where our precious messages live.

Contributors

A huge thank you to the overthinkers and abstraction lovers:

  • Don "Overkill" Johnson
  • Don "Why Not Add Another Layer" Johnson
  • Don "Abstract All The Things" Johnson

And many others who contributed to this ironically heavy project.

Legacy

While this repository began as a joke, it has now been used in numerous software engineering courses worldwide as an example of how not to structure a project. It also became a meme in many developer communities, reminding developers of the perils of over-engineering.

Usage

To run this masterpiece:

  1. Ensure you have Python installed.
  2. Clone the repository.
  3. Navigate to the HelloWorldApp directory.
  4. Run main.py.

Diagram

graph TD

  main[main.py]
  settings[settings.py]
  dispServ[display_service.py]
  msgFact[message_factory.py]
  helloMsg[hello_message.py]

  subgraph config
    settings
  end

  subgraph services
    dispServ --> msgFact
  end

  subgraph factories
    msgFact --> helloMsg
  end

  subgraph data
    helloMsg --> helloMsgProd[HelloMessageProduction]
    helloMsg --> helloMsgDebug[HelloMessageDebug]
  end

  main --> dispServ
  msgFact --> settings

  class config fill:#f9d0c4,stroke:#333,stroke-width:2px;
  class services fill:#c2c4e2,stroke:#333,stroke-width:2px;
  class factories fill:#e2e2c4,stroke:#333,stroke-width:2px;
  class data fill:#c4d8e2,stroke:#333,stroke-width:2px;
Loading

Disclaimer: Running this might make you rethink your software design choices.

Releases

No releases published

Packages

No packages published

Languages