can you tell I just learned how to use/call methods? Also shout out to me 6 years ago for trying to add a cool loading cursor for extra immersion.
This is an old SQL formatter "tool" I tried (I say tried, it actually worked pretty well) to build about 6 years ago. I just added more and more to it until I got my desired output.
It isn't high quality but even as a non Java dev I can see exactly what's going on from start to finish. By that metric alone, I don't class this as truly bad code.
39
u/_ROEG Feb 05 '23 edited Feb 05 '23
can you tell I just learned how to use/call methods? Also shout out to me 6 years ago for trying to add a cool loading cursor for extra immersion.
This is an old SQL formatter "tool" I tried (I say tried, it actually worked pretty well) to build about 6 years ago. I just added more and more to it until I got my desired output.
The rest of it is just as bad...
edit: The rest of the code...if you dare.
21
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Feb 05 '23
Image Transcription: Code
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
28
u/thebubblesort Feb 05 '23
It's good that there wasn't any hacky formatting until the end.
22
u/morimo Feb 05 '23
I like that it starts with the declaration of an unused variable.
11
u/Gautley Feb 05 '23
Thank god you marked as 18+
1
u/darkpyro2 Feb 06 '23
I thought you were talking about the light theme at first...I dont even want to read the post because of the blaringly white background
0
u/propostor Feb 06 '23
It isn't high quality but even as a non Java dev I can see exactly what's going on from start to finish. By that metric alone, I don't class this as truly bad code.
0
u/[deleted] Feb 05 '23
[deleted] — view deleted comment