Java:
- Worked on some more exercises out of eimacs.
- Started working on a string class called StringList that implements the interface of a list. However, it's stupid because they are making it extremely inefficient for the sake of simplicity, so methods such as #add() and #set() use the + operand on a string, so a new string must be returned for each operation. This makes me not even want to bother writing it, because it's a really stupid design.
The point here is understanding the abstraction, not worrying about efficiency. You don't have to write the implementation as long as you understand how it works.
ReplyDelete