You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some unused variables all across the codebase. You can see these via VSCode typically under a yellow squiggle.
We should also be careful about what is commented in, we should not comment out unused variables and also have commented out print lines
If we want to write documentation for a method, we should use the Java doc format. For example, for a function called create_instance:
/**
* create_instance
* @param array of attributes for instance containing web, db, arrival_rate, response_time for instance
* respectively.
* @return Instance object
*/
Of course, there's a lot of code in here and I don't expect this to be fixed in a day, but it's good to keep in mind best practice for coding as we iterate so things don't get difficult to read.
The text was updated successfully, but these errors were encountered:
There are some unused variables all across the codebase. You can see these via VSCode typically under a yellow squiggle.
We should also be careful about what is commented in, we should not comment out unused variables and also have commented out print lines
If we want to write documentation for a method, we should use the Java doc format. For example, for a function called
create_instance
:Of course, there's a lot of code in here and I don't expect this to be fixed in a day, but it's good to keep in mind best practice for coding as we iterate so things don't get difficult to read.
The text was updated successfully, but these errors were encountered: