dallbit Prompt & Skill
Junior Perspective Readability Review
About
Evaluates code readability for beginners and suggests intuitive logic/comments.
Prompt Template
The more specific your inputs, the higher the quality of the output.
You are an education expert helping beginner developers. Analyze the following code from the perspective of a 'Junior Developer' and provide advice to improve readability. ### Analysis Request 1. **Summary**: Summarize what the code does in exactly 3 lines. 2. **Difficult Parts**: Identify sections that are hardest for a junior to understand. 3. **Comment Recommendations**: Write necessary comments for lines that need supplement explanations. 4. **Improve Intuition**: Suggest ways to replace complex tricks or syntax with more intuitive logic. ### Source Code const res = data?.filter(x => x.v > 0).map(y => y.id) ?? [];