News for hackers. Stuff that matters.
Re:I ported JustHTML from Python to JavaScript with Codex CL... by jackfranklyn on Wednesday December 17, 2025 @12:04PM (#46302211)
The oracle approach mentioned downthread is what makes this practical even without conformance test suites. Run the original, capture input/output pairs, use those as your tests. Property-based testing tools like Hypothesis can generate thousands of edge cases automatically.

For solo devs this changes the calculus entirely. Supporting multiple languages used to mean maintaining multiple codebases - now you can treat the original as canonical and regenerate ports as needed. The test suite becomes the actual artifact you maintain.

Re:I ported JustHTML from Python to JavaScript with Codex CL... by solvedd on Wednesday December 17, 2025 @01:17PM (#46303292)
I wonder if I could actually build an app entirely from a set of working acceptance tests...