F8Beginner
Function Length Review
20 minEvery project
Format: Check for overly long functions.
Rules:
- Ideal function: 10-30 lines
- Acceptable: 30-50 lines
- Warning sign: 50-100 lines
- Refactor immediately: >100 lines
Exercise: Have AI generate a 100-line function, then have AI split it into multiple smaller functions. Compare readability before and after the split.