repl.it
linkrepl.it
link (duplicated)Admin Teams → Team Forming Constraints
[Picture: The team that was at the top of early Google]
We allow some freedom in choosing team members, subject to these constraints:
If you prefer not to form teams yourselves, not to worry; we'll put you in a team.
We may modify teams when circumstances call for it. There is no avenue for you to object. Staying with your preferred team is not guaranteed.
Find basic coding standard violations
Consider the code given below:
import java.util.*;
public class Task {
public static final String descriptionPrefix = "description: ";
private String description;
private boolean important;
List<String> pastDescription = new ArrayList<>(); // a list of past descriptions
public Task(String d) {
this.description = d;
if (!d.isEmpty())
this.important = true;
}
public String getAsXML() { return "<task>"+description+"</task>"; }
/**
* Print the description as a string.
*/
public void printingDescription(){ System.out.println(this); }
@Override
public String toString() { return descriptionPrefix + description; }
}
In what ways do the code violate the coding standard you are expected to follow?
Here are three:
descriptionPrefix
is a constant and should be named DESCRIPTION_PREFIX
printingDescription()
should be named as printDescription()
important
should be named to sound boolean e.g., isImportant
There are many more.
Admin tP → Set up a meeting time
Admin Teams → Communication
Use English for all team communications, both spoken and written.
We recommend at least one 1-2 hour synchronous online project meeting per week, in addition to any asynchronous communicating. Reason: Having all members available at the same time will facilitate easier collaboration and more peer-learning.