Timeline for Class for course information
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 15, 2018 at 3:51 | comment | added | James | @TimothyTruckle for 3 I'd recommend pointing out to the teacher that this isn't very cohesive (Not in front of the class though. Everyone makes small mistakes and this could be embarrassing for them). For 4) You both are wrong. id is an ID, and should be modelled as such, an object should be created for the ID. It isn't the better choice to store a BigInteger in a string, it's the best option to model things as closely as their realistic counterpart. 2) He is right naming conventions are camelCase for fields/methods in java. Contants are all caps and classes are CamelCase. | |
Mar 13, 2018 at 11:52 | comment | added | Timothy Truckle | Aslo, in 2) would you mind to add a link to the Java Naming Conventions ? | |
Mar 13, 2018 at 11:49 | comment | added | Timothy Truckle |
I agree for the most, but: 3) is a remark to the teacher, display() method has been requested explicitly. 4) String is only applicapable if your IDs can contain letters or leading zeros. For numeric IDs of (virtually) infinite length BigInteger is the better choice.
|
|
Mar 13, 2018 at 4:15 | review | First posts | |||
Mar 13, 2018 at 5:51 | |||||
Mar 13, 2018 at 4:13 | history | answered | nullbyte | CC BY-SA 3.0 |