this post was submitted on 14 Nov 2023
-1 points (33.3% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I dunno why, but I have a thing against TOML. I could be reading a blog post and marvelling at the intellect of the author, but if it cuts to a code snippet of TOML I smack my teeth and question how I ended up on such an amateur site.

My opinion is not rational neither is it grounded in any technical reasoning or logic. I'd even consider myself syntactically promiscuous when it comes to pretty much any other markup language. For some reason YAML and TOML make me feel like I need to pick sides and I'm definitely a YAMLite.

I'm curious to know whether anyone else is this abnormally partisan towards YAML and TOML?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (7 children)

Fuck indent based notation in general.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (2 children)

Ugh. I learnt Java and C# as my primary language back in the day. Imagine my disgust when I took a look at python to teach my kids. Just so wrong

[–] [email protected] 1 points 1 year ago (1 children)

I'm always confused by this. Do you not indent blocks in your Java/C# code?

[–] [email protected] 1 points 1 year ago (1 children)

Blocks are started and ended with curly braces. It’s really obvious where a for loop or if statement starts and ends. You don’t have to be careful about how indented a particular line is. Horrible.

[–] [email protected] 1 points 1 year ago

What do you mean careful? I'm not a python dev, but everything is indented just the same. I'm missing why anyone would not choose good indentation that matches the python requirements.

[–] [email protected] 1 points 1 year ago

It grows on you over time, but it takes a long time.

load more comments (5 replies)