🔥 Have a function that gets used in about 100 places that you need to behave slightly differently for some new code? Add an optional flag.
15
35
87
0
0
I like the simplicity of the opening `echo`. So many would have gone for the overly complex `sprintf` when all you actually need is a string
1
0
2
0
0
Yeah I really believe in YAGNI. If we ever need to customize it it's easy to add another flag.
0
0
2
0
0
United States 趨勢
- 1. Clippers 14.1K posts
- 2. Harden 10.3K posts
- 3. Huda 9,090 posts
- 4. #DWTS 50.1K posts
- 5. Ty Lue 1,507 posts
- 6. Kawhi 3,655 posts
- 7. Giannis 30.1K posts
- 8. Whitney 15.6K posts
- 9. #RHOSLC 7,771 posts
- 10. #APEC2025 78.2K posts
- 11. South Korea 73.3K posts
- 12. #RMxAPEC 193K posts
- 13. #DearOlandria 1,154 posts
- 14. Askarov N/A
- 15. Markstrom 1,725 posts
- 16. Wayne 58K posts
- 17. Caden 8,450 posts
- 18. Chris Paul 1,547 posts
- 19. Zubac 1,701 posts
- 20. Joon 13.4K posts
Loading...
Something went wrong.
Something went wrong.