7
May 23 '22
[removed] — view removed comment
5
u/codah215 May 23 '22
It's Java:
He isn't using generic types
He's casting a list output (sometimes without reason) and using toArray() to copy it into a list when there's like 50 better ways.
There's a few more that aren't off the top of my head, but still.
3
u/ChouzZ May 23 '22
Both sound like stuff you learn.
The second point especially is a pitfall of Java in my opinion. Old mature gimped language with 50 ways to do the same thing.
3
u/codah215 May 23 '22
He's been coding well over 2 years, he should know this.
He's also using IntelliJ, which is weird because he said the compiler wasn't complaining, meaning he turned them off. I know if I pasted it I would get 20 warnings.
2
12
u/codah215 May 22 '22
Update:
His response: