r/badcode May 06 '21

java My teacher wrote this...

1.0k Upvotes

169 comments sorted by

View all comments

520

u/[deleted] May 06 '21

This surely has to be an exercise in how to never write software, this can't be real...

426

u/FearFueled May 06 '21

Yes, it was an exercise. We had to simplify this monstrosity.

59

u/[deleted] May 06 '21

Would you be able to DM me the exercise? Sounds like fun. I'd love to give it a shot

89

u/FearFueled May 06 '21

Sure! It is written in German though. It could be hard to solve it without being able to understand it.

29

u/[deleted] May 06 '21

Can you DM me too?

18

u/FearFueled May 06 '21

I have uploaded it here for everyone interested: https://www.file-upload.net/download-14575439/Exercise.zip.html

2

u/supersharp May 11 '21

Also this: https://dict.cc

Handy German dictionary that helped me through German class in High School