@lunaterra ultimate chaotic evil
@lunaterra What... the...
This is horrifying! Who in the world would write code like this...
@lunaterra this is how my c++ professor writes code for his tutorials and I die inside every day
TG: @lunaterra WHAT THE FUCK
@lunaterra Someone misses FORTRAN77?
That is the work of an AGI...
@lunaterra "I don't see what's wrong wi-BGFLGLGFHDH THIS IS NOT OKAY"
@lunaterra I haven't written a line of code in nearly twenty years and I still recoiled from this
@lunaterra my favorite style irl
@lunaterra It's quite readable. But it's probably done with some kind of beautifier. If you change anything the alignment is gone, and the indentation is completely disconnected from the brackets.
@lunaterra Why don't we skip the brackets and use indentation for block annotation?
@frank87 have you heard the word of haskell?
@lunaterra I' seen it, but Haskell enthusiasm seems to be about doing things as cryptic as possible. So I've switched to looking into Erlang (they seem to be more about getting things done in real life)
@lunaterra *wipes a single tear from the corner of my eye* it's so..... pythonic~
@lunaterra looks like lisp. :))))
@lunaterra I love it.
Gonna write a Emacs mode to automatically indent code this way, one day.
@lunaterra There is no logical argument against this.
@lunaterra i don't even code anymore and im so disgusted by this... who does this to themselves and others....
@lunaterra brace yourself. I think that must be some kind of python extremist
@lunaterra it took me a moment to see it bit them once I saw it I...
Well, it makes a bit of sense. Putting all the brackets along one side makes it really easy to check to make sure you're not missing any.
@lunaterra honestly this is totally legible and quite creative
@Aleums @lunaterra it's somewhat readable after.... a lot of getting used to having your eyes jump from one side of the editor to the other, as long as your code isn't too horizontal like in this example. but if you ever have to nest more than three loops, or if you have some kind of string that's more than a couple words, suddenly every line in your code is hundreds of characters wide. and don't even think about editing your code after formatting it this way
@woomy @lunaterra As someone else mentioned, I'm sure this formatting is done automatically with a linter of some sort. And if you're used to python-style formatting, all the syntax you need to read the code is in the line breaks and the indents. If there's still any ambiguity, comments should clear it up.
That said, stubbornly refusing to get used to another language's syntax is definitely bad practice, especially if you're doing this much work to avoid doing so.
@lunaterra hello space police?
@lunaterra bloody nora
@lunaterra i'm in love 😍
Suddenly Java & friends look like Python! Love it! 🐍😁
@lunaterra this is stressing me out.
@lunaterra I mean...
@lunaterra A friend of mine posted that image (possibly originally!) under "The tabs-vs-spaces argument is a red herring" but the tweet is gone now... Maybe he was terrified of starting something.
@lunaterra that guy needs code jesus
this is true beauty
@lunaterra J'ai mal, et pourtant je dev quasi jamais x)
@lunaterra That's... an interesting way to do it.
@lunaterra Ça ressemble à du python du coup, c'est parfaitement lisible par contre à modifier... 😅
@lunaterra Wat. That's just wannabe Python. Nothing wrong with this 😶
@lunaterra it looked GREAT until I saw the braces. very pythonic xD
Mastodon instance for lains, by lains