Worst Code Ever
@worstcodeever
Dedicated to the proposition that some people should never be allowed to write software.
Bạn có thể thích
The hardest part of building a @magento module is their cryptic, undocumented configuration
Also, don't bother documenting how to add external JavaScript. Nobody ever does that @magento
1. Create a configuration based MVC. 2. Never document the configuration. 3. Release as a complete project. Way to go @magento
.NET is great if you want to only ever use Windows to develop your site and overpay for hosting.
Make your email templates in some weird language and then don't document it. Way to go @magento
Controllers are irresponsible. Better to let a block control sending data between the controller and the view. #magento
This is a perfectly valid reason for using your crazy extension instead of just hard coding the JavaScript include. i.imgur.com/m5evBkL.png
Also, be sure to use confusing XML files to determine what external code shows up instead of just putting it in the template file. #magento
If you're writing a framework, be sure to force people to download an extension so they can reference external JavaScript files. #magento
When in doubt, loop over the array. Even if you don't actually repeat operations. To ensure the operations are done properly.
Let's instantiate variables called $fruit_name for no apparent reason. i.imgur.com/Nyw9UtY.png
You can have good code or proper indentation but not both.
Got an example of the worst code EVAR? @ me and I'll retweet it! Misery loves company.
Welcome new followers! Want to see some bad code? Go to rottentomatoes.com and view the source.
Magic numbers are great because they're MAGICAL
HTML is like pizza: The deeper it is the better. So nest as many divs as possible. 8 or more is recommended.
Loading two versions of jQuery on one page makes perfect sense.
Putting the user's default password in the password box is a feature, not a security hole.
United States Xu hướng
- 1. Jets 113K posts
- 2. Sauce 79.9K posts
- 3. Colts 54.4K posts
- 4. Courtois 36.4K posts
- 5. Breece Hall 10.2K posts
- 6. Garrett Wilson 5,093 posts
- 7. Quinnen Williams 24.1K posts
- 8. $JFB N/A
- 9. Cheney 229K posts
- 10. Luis Diaz 25.8K posts
- 11. Liverpool 205K posts
- 12. Beane 4,420 posts
- 13. AD Mitchell 6,305 posts
- 14. Bayern 108K posts
- 15. Hakimi 25.1K posts
- 16. Veach 5,192 posts
- 17. Shaheed 16.5K posts
- 18. Mazi Smith 5,665 posts
- 19. Brad Holmes 1,100 posts
- 20. Jermaine Johnson 3,238 posts
Something went wrong.
Something went wrong.