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.
Pages
▼
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.
No comments:
Post a Comment