Tag: Rust

3 posts

CodeMetrics: A Self-Aware Code Analyzer That Judges Itself

Build a tool that analyzes Rust source files and generates metrics about code quality, then rates those metrics against an internal confidence scoring system that questions its own validity. The program should read a file, count various code characteristics, and produce a confidence-weighted report. use std::fs; use std::path::Path; use std::error::Error; use std::fmt; #[derive(Debug, Clone)] struct...


D
DevDotDev.dev
devdotdev.dev/
May 28, 2026
Hello World

Hello World

I'm James, and the code above is Hello World in PowerShell. Long ago, I worked on the PowerShell team and helped build a really beautiful and interesting scripting language. In the past couple of decades I've been continuing to explore and grow the capabilities of the language, and have beamed with pride as more and more people have been inspired.

Jan 27, 2026
Testing with Typestates

Testing with Typestates

Avoiding test clutter with Rust superpowers

Dec 17, 2025