How alvarodavidescobar/myexercismwork works
Purpose and Scope
This is a multi-language solution corpus for programming exercises. There is no application-level README, shared runtime, build system, or deployable service visible. Each source file is an independently implemented exercise solution, organized by language, exercise slug, and numbered iteration.
Repository Entry Model
There is no central executable entry point. Consumers, graders, or language-specific exercise harnesses call functions/classes exposed by individual solution files. Representative boundaries are:
• C++: solutions/cpp/hello-world/1/hello_world.cpp, solutions/cpp/hello-world/1/hello_world.h
• C#: solutions/csharp/acronym/1/Acronym.cs
• JavaScript: solutions/javascript/hello-world/1/hello-world.js
Language Partitioning
Top-level language directories are the primary architectural boundary:
• solutions/cpp
• solutions/csharp
• solutions/javascript
Implementations are not shared across these partitions; each uses its native language conventions and expected exercise harness.
Exercise Module Layout
Each exercise is isolated under <language>/<exercise>/<revision>/. The revision number supports multiple alternative or progressive implementations without overwriting prior work. Examples:
• solutions/csharp/log-levels/1/LogLevels.cs
• solutions/csharp/log-levels/2/LogLevels.cs
• solutions/csharp/log-levels/3/LogLevels.cs
• solutions/csharp/jedliks-toys/1/JedliksToys.cs
• solutions/csharp/jedliks-toys/2/JedliksToys.cs
The exercise folder, rather than a shared package or project, is the unit of ownership and evaluation.
C++ Solution Boundary
C++ exercises are source-level modules, with at least the hello-world exercise separating declaration and implementation:
• solutions/cpp/hello-world/1/hello_world.h
• solutions/cpp/hello-world/1/hello_world.cpp
Other C++ exercises expose their logic directly in implementation files:
• solutions/cpp/lasagna/1/lasagna.cpp
• solutions/cpp/pacman-rules/1/pacman_rules.cpp
A C++ compiler and an external harness/build definition are required, but neither is stored in the visible tree.
C# Solution Boundary
C# is the largest solution set and consists of standalone .cs exercise implementations, generally one file per revision. Examples include:
• solutions/csharp/bird-watcher/1/BirdWatcher.cs
• solutions/csharp/need-for-speed/1/NeedForSpeed.cs
• solutions/csharp/wizards-and-warriors/1/WizardsAndWarriors.cs
These files require a .NET/C# compilation and test harness supplied externally or per exercise environment; no .csproj, shared domain layer, database, or service integration is visible.
JavaScript Solution Boundary
JavaScript exercise logic is similarly isolated in individual modules:
• solutions/javascript/freelancer-rates/1/freelancer-rates.js
• solutions/javascript/lasagna/1/lasagna.js
• solutions/javascript/hello-world/1/hello-world.js
They require a JavaScript runtime and external module-loading/test conventions. No package manifest, browser entry point, API layer, or external service dependency is present.
Primary Control and Data Flow
The effective flow is: external exercise runner selects a language-specific revision → loads/compiles its single exercise module → invokes expected exported API with exercise inputs → validates returned values or state. Data remains in-process and local to each module. There are no repository-visible cross-exercise dependencies, persistence layers, network calls, infrastructure resources, or third-party services.
Main entry points: hello_world.cpp Hello World implementation · hello_world.h Hello World declaration · lasagna.cpp Lasagna solution · pacman_rules.cpp Pacman Rules solution
Components 15
C++ solutions
Independent native exercise modules.
- C++ compiler/harness · Compiles C++ modules outside the visible repository.
- Hello World declaration
solutions/cpp/hello-world/1/hello_world.h - Hello World implementation
solutions/cpp/hello-world/1/hello_world.cpp - Lasagna solution
solutions/cpp/lasagna/1/lasagna.cpp - Pacman Rules solution
solutions/cpp/pacman-rules/1/pacman_rules.cpp
C# solutions
Standalone .NET exercise implementations.
- .NET compilation/harness · Compiles and tests C# files outside the visible repository.
- Bird Watcher solution
solutions/csharp/bird-watcher/1/BirdWatcher.cs - Need for Speed solution
solutions/csharp/need-for-speed/1/NeedForSpeed.cs - Log Levels revisions · Alternative implementations are retained as numbered revisions.
solutions/csharp/log-levels/1/LogLevels.cs - Jedlik's Toys revisions · Alternative implementations are retained as numbered revisions.
solutions/csharp/jedliks-toys/1/JedliksToys.cs
JavaScript solutions
Independent JavaScript exercise modules.
- JavaScript runtime/harness · Loads and tests JavaScript modules using external conventions.
- Freelancer Rates solution
solutions/javascript/freelancer-rates/1/freelancer-rates.js - Lasagna solution
solutions/javascript/lasagna/1/lasagna.js - Hello World solution
solutions/javascript/hello-world/1/hello-world.js
Other components
- External exercise runner · Selects a language and revision, invokes its expected API, and validates results.
Connections 14
- External exercise runner → C++ compiler/harness: selects C++ revision
- External exercise runner → .NET compilation/harness: selects C# revision
- External exercise runner → JavaScript runtime/harness: selects JavaScript revision
- C++ compiler/harness → Hello World implementation: compiles and invokes
- C++ compiler/harness → Lasagna solution: compiles and invokes
- C++ compiler/harness → Pacman Rules solution: compiles and invokes
- Hello World implementation → Hello World declaration: implements declaration
- .NET compilation/harness → Bird Watcher solution: compiles and invokes
- .NET compilation/harness → Need for Speed solution: compiles and invokes
- .NET compilation/harness → Log Levels revisions: compiles and invokes
- .NET compilation/harness → Jedlik's Toys revisions: compiles and invokes
- JavaScript runtime/harness → Freelancer Rates solution: loads and invokes
- JavaScript runtime/harness → Lasagna solution: loads and invokes
- JavaScript runtime/harness → Hello World solution: loads and invokes