
Software Design Anti-patterns
Coding Blocks
00:00
Using a Vector in Java to Implement a Fixed Size List
Using a vector in java to implement a fixed size list instead of an array would be an example of the abstraction inversion. The idea here is you serialize your object to examel, then you read it in. Now you have a dom, right? So you now havero data, right? Which is the the dom representing the mark up, which is the x m l representing the program data. Do you understand? I think i do. A it hurts my head, but basically what you're saying is you're using the more complex objects to now build the simpler objects that they're sort of based off of. Is really wt, sounds like, right? Like,
Transcript
Play full episode