Quite a few years ago, three students at the Athens University of Economics and Business were learning Java.
Their 2nd semester assignment code is shared here as a memento and a reminder of how far we can go.
... and also as a warning
- To never use your local language for comments
- To never use greeklish for naming classes and variables
- To never use the shorthand of a Greek-translated
Resolution
class as a variable name - That writing a custom 200-line """parser""" and 250-line """serializer""" in your
Katasthma.java
class, which somehow work for a pseudo-JSON format, may seem like a total genius move at the time but after many years the cursed code involving a dozen guard variables and another dozen nestedif-else
cases will be still haunting your memories - ...and also that Reflection or meta properties like
foo.getClass().getName()
are about as awesome as they are disgusting. And single-letter variables names are a crime.
Keep making your code better. Whatever your "code" is.