This repository contains intentionally obfuscated code samples in both Java and JavaScript. The purpose is to provide material for refactoring exercises, helping developers practice improving code readability, maintainability, and structure.
java/Mystery.java
— Obfuscated Java code samplejavascript/mystery.js
— Obfuscated JavaScript code sample
To run the Java sample:
cd java
java Mystery.java
To run the JavaScript sample:
cd javascript
node mystery.js
These files are intentionally hard to read. Use them for exercises in:
- Refactoring
- Improving code clarity
- Applying best practices
Feel free to fork or clone this repository and submit your own refactored versions!