OMG. This is the real deal. Bython: Python with braces. Because Python is awesome, but whitespace is awful. Bython is a Python preprosessor which translates curly brackets into indentation. Would you use this? https://pypi.org/project/Bython/
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Monday, 11-Mar-2024 17:18:38 JST nixCraft 🐧 -
mofosyne (mofosyne@mastodon.social)'s status on Monday, 11-Mar-2024 17:24:49 JST mofosyne @nixCraft what if the braces are rendered instead as a plugin in vscode etc...? So you can still keep the python whitespace but for those who prefer curly braces they can still see it?
In conversation permalink -
Shubham Arora (arshubham@mastodon.social)'s status on Monday, 11-Mar-2024 17:51:44 JST Shubham Arora @nixCraft i would definitely use this. Indentation is the only reason i didn't like python. I have the same issue with yaml
In conversation permalink -
Roadskater, Ph.D. (roadskater@mastodon.social)'s status on Monday, 11-Mar-2024 17:53:01 JST Roadskater, Ph.D. @nixCraft Does it also enforce a braces style? Because if not, you're right back to braces holy wars, assuming the coder adopts a consistent style.
In conversation permalink -
Rustem Zakiev 🔥 (willpraxis@mastodon.social)'s status on Monday, 11-Mar-2024 17:54:15 JST Rustem Zakiev 🔥 @nixCraft No.
In conversation permalink -
🇺🇸 🇺🇦 🇮🇱 🐧 🥦 (methylcobalamin@mastodon.social)'s status on Monday, 11-Mar-2024 18:12:06 JST 🇺🇸 🇺🇦 🇮🇱 🐧 🥦 I wouldn't bother with it.
When I do Python I *LIKE* not having to deal with braces. 🙂
In conversation permalink -
Hasko 🇪🇺🦄🌻 (lontrachen@mastodon.social)'s status on Monday, 11-Mar-2024 18:35:26 JST Hasko 🇪🇺🦄🌻 @nixCraft why don’t you just switch to a real programming language? 🤪
In conversation permalink -
eickot (eickot@mastodon.social)'s status on Monday, 11-Mar-2024 19:16:14 JST eickot @nixCraft NEVER! from the python features, the identation is the best thing they have.
In conversation permalink -
Aron Gergely (arongergely@mastodon.social)'s status on Monday, 11-Mar-2024 20:09:28 JST Aron Gergely @nixCraft only if you add goto statements and header files too. 😄 But why fix something that isn't broken?
In conversation permalink -
hdante (hdante@mastodon.social)'s status on Monday, 11-Mar-2024 23:32:00 JST hdante @nixCraft no
In conversation permalink -
Dom (dominicdeligann@mastodon.social)'s status on Tuesday, 12-Mar-2024 07:08:19 JST Dom @nixCraft the idea is cool, but nobody's using a preprocessor for braces.
In conversation permalink -
loganer (loganer@mastodon.social)'s status on Tuesday, 12-Mar-2024 08:33:44 JST loganer @nixCraft it's a good start.
now add static typing and then it be something i'd use without feeling like i want to pluck my eyes out and sell then on the black market.
In conversation permalink -
Daniel (helmet91@mastodon.social)'s status on Tuesday, 12-Mar-2024 13:51:51 JST Daniel @nixCraft Such a simple and genius idea! This brings me closer to using python than anything before. But ffs, why are the opening braces at the end of the lines?!
In conversation permalink
-