Skip to content

EngineeringKiosk/cool-programming-language-features

Repository files navigation

Programming Language Features

A collection of demos showcasing interesting and useful programming language features that every developer should know about.

Purpose

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.

Available Demos

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

How to Use

Each feature has its own directory containing:

  • README.md - Feature explanation and usage instructions
  • Dockerfile - Containerized environment for running the demo
  • Demo scripts - Working examples showing the feature in action

Quick Start

# 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-parameter

Contributing

Want to add a feature demo? Each demo should:

  1. Solve a real problem developers face
  2. Include before/after examples when applicable
  3. Be runnable via Docker
  4. Include clear documentation

License

MIT License - see LICENSE for details.

About

A collection of cool programming language features (highly subjective)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •