Doug’s “Top 10 MATLAB code practices that make me cry”
Doug's "Top 10 MATLAB code practices that make me cry"
This week, Doug's blog focuses on what he considers to be some poor programming practices he's seen in MATLAB code.
I agree with much of his list, including, despite the comments, the nix on global variables. Assuming memory is an issue, I would either do what one user suggests, create a handle class, or I would use nested functions.
What are coding practices in MATLAB that you don't like to see? Let's add to Doug's list here.
- Category:
- Best Practice,
- Common Errors