waiwaiwaiwaiwait. did you say TABS or spaces? oh my fucking god. oh my god. i’m so sorry, i have partial hearing loss
β€œis that your most popular post ever? and it’s just code, indented with crabs?” wow @nuki way to call me out
oh yeah
@kivikakk I don't know how you got XCode to do this, and I'm not sure I *want* to know how you got XCode to do this
@kivikakk
Better than spaces, TBH
@wakame @kivikakk Both broken, and the use of spaces is semantically incorrect.

Unfortunate for pragmatic reasons I'm stuck using mostly spaces (since most tools just had spaces hacked into sort-of working instead of actually fixing the problem at the source).

https://nick-gravgaard.com/elastic-tabstops/
Elastic tabstops - a better way to indent and align code

Elastic tabstops - a better way to indent and align code

@lispi314 @kivikakk

"Semantically incorrect" vs. "I want my code to look the same in every editor any other person might use, because I'm a pendantic... bunnyrabbit"

@wakame @kivikakk It should look however the user prefers, with the right semantics so their settings are applied sensibly without needing all sorts of horrid hacks to determine appropriate heuristics.

The only exception should be for things like ASCII art, which generally doesn't work without monospace fonts anyway.

@lispi314 @kivikakk

I have wanted to write a "Pi" editor plugin for a while:

When saving, all tabs are replaced with n spaces, the first tab with the first digit of pi, the second tab with the second digit and so on.
Import works the same.

"IDK what your problem with indentation is, looks fine on my computer." 

Edit: Maybe I should add the line number into the count to make it worse.

@lispi314 @kivikakk

function bubblesort(arr) {
for(let round=0;round<arr.length;round++) {
for(let i=round;i<arr.length-1;i++) {
if(arr[i]>arr[i+1]) {
let tmp = arr[i];
arr[i] = arr[i+1];
arr[i+1] = tmp;
}
}
}
}

Hmm, perfection 

@lispi314 Some flavours of BASIC solved this back in the 80s. No indentation by default but the user can choose how different things are indented and which things to apply indentation to.
@kivikakk The inevitable carcinization of indentation.
@futzle @kivikakk all languages turn into rust eventually

@kivikakk Personally, I'll ban any code using #Emojis as a matter of principle.

Also #Tabs >>> #Spaces!

@kkarhan what the fuck
@kkarhan oh it’s you. no. good bye
@kivikakk @[email protected] average kkarhan experience (I really wonder why not more instances have him blocked)
@piegames mine’s two-user so it was inevitable, alas
@kivikakk Emojis in code are worsening readability for everyone - period.
@kivikakk looks like it needs to be rewritten in rust
@[email protected] ok, obvious silly little goof aside, what is that code for?
@septicake parsing RTLIL’s text representation (https://blog.eowyn.net/yosys/CHAPTER_TextRtlil.html)
RTLIL Text Representation β€” Yosys documentation

@[email protected] woa......... that's cool
@septicake haha, it’s not really anything super much, just needed a parser for verifying some output! it’s very regular and more-or-less made to be parsed (as an intermediate language), so it’s nicely straightforward
@[email protected] you underestimate just how cool I think literally any programming project is, regardless of complexity
@septicake haha, aw! that’s very wholesome and good imo <33
@[email protected] there was effort put into it, and therefore it is beautiful and cool and awesome

also I’m a fucking massive nerd, so literally anything CS related is enough to get me interested
@kivikakk This meme floated by me recently.
@elithebearded !!! omg yes, i saw it the other day too! maybe i was inspired.
@elithebearded @kivikakk crabs won't evaluate... semicolons though, I think that's legal
@kivikakk at least it's not semicolons 😌
@[email protected] Is this what they call a "compromise"? :D
@matias no. this is called perfection. get on my level
@kivikakk Indents are one crab. Set your crab width to whatever you want it to be.
@kivikakk when I see that much crustacean verbosity I'm guessing its... Rust?
@synlogic you have guessed incorrectly
@kivikakk I don't know what's worse. That this image exists, or that it's a crab meme without rust 
@kivikakk zig and rust solidarity πŸ¦€πŸ¦Ž
@lovelace πŸ¦ŽπŸ€πŸ¦€ (long time no see!!  (from the trans who zig discord years ago))
@kivikakk Python using crabs for indentation would be called Cry-a-ton..?
@tymwol might wanna workshop that one a bit still

@kivikakk all around me are familiar

πŸ€”πŸ™‚fn main () {
πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚println!("😁🌍");
πŸ€”πŸ™ƒ}

@kivikakk I've heard of crablang, but I didn't expect it to look like this /s
@kivikakk crab code
@kivikakk the crabs have taken over your code by those crab indents
@nitrohine no no, i invited them in, they are my guests. theyre keeping the indents warm while my whitespace has vacaciones
Everything is Crabs: How many crabs do you need to land on the moon?

In 2011, researchers from Japan and the Center for Unconventional Computing in the UK asked one of the most important questions ever asked. How many crabs do you need to build a computer? And then,…

Southern Fried Science
@kivikakk ..... Oh hi I love you XD
@vxo love you too!! xx