A collection of demos showcasing interesting and useful programming language features that every developer should know about.
This repository provides hands-on examples of language features that solve real-world problems. Each demo is self-contained with Docker support for easy testing without local setup.
| Feature | Language | Version | Description |
|---|---|---|---|
| SensitiveParameter | PHP | 8.2+ | Redact sensitive data from stack traces |
| runtime/secret | Go | 1.26+ | Secure memory erasure for forward secrecy |
| Units of Measure | F# | .NET 6+ | Compile-time type safety for physical units |
| Type Ranges | Ada | GNAT | Compile-time and runtime safety with range-constrained types |
Each feature has its own directory containing:
README.md- Feature explanation and usage instructionsDockerfile- Containerized environment for running the demo- Demo scripts - Working examples showing the feature in action
# Navigate to a feature directory
cd php-sensitive-parameter/
# Build the Docker image
docker build -t php-sensitive-parameter .
# Run the demos
docker run --rm php-sensitive-parameterWant to add a feature demo? Each demo should:
- Solve a real problem developers face
- Include before/after examples when applicable
- Be runnable via Docker
- Include clear documentation
MIT License - see LICENSE for details.