4 ms·
Being used to current industry-standard Java practices, this source code looks like C to me. No streams, no generics, no patterns, but lots of mutable variables
by haspok 2y ago
Being used to current industry-standard Java practices, this source code looks like C to me. No streams, no generics, no patterns, but lots of mutable variables and for/while loops. And no tests of course! No build tool! Java was a _very_ different language (and ecosystem) back then, kind of like the wild west.
- ahoka 2y agoThis does not read like C at all.
- trealira 2y agoIt's not structured like C code would be, but some parts of the code itself read like older C++ with labeled break/continue, e.g. this function: https://github.com/jamespfennell/new-typesetting-system/blob/c78ba451600596e25d528a82d832dba455aad405/src/nts/command/Macro.java#L203 https://github.com/jamespfennell/new-typesetting-system/blob...
- wolfi1 2y agogenerics were introduced in 2004, this code is from 2001. As for the build system, I find it refreshing that you only need javac and nothing else