Conservative. Idaho. Software engineer. Historian. Trying to prevent Idiocracy from becoming a documentary.
Email complaints/requests about copyright infringement to clayton @ claytoncramer.com. Reminder: the last copyright troll that bothered me went bankrupt.
Wednesday, May 11, 2022
Java Initialize Array of Structs
A couple days ago I asked a couple Java questions that I knew perfectly in 2014 before my stroke. There are still some mysteries there but one think that is easy in C seems to be clumsy in Java. Initialize an array of structs without any code. In Java you apparently need to initialize each element of the array with a new StructClass (...). This is clumsy and ugly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment