-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why #38
Comments
because |
ok |
@mathialo How do you not confuse braces from dictionaries and sets and braces from the syntax? |
@danon The same way you do when coding with javascript and objects lol |
trust me ... blocking out code segments via {...} is life~changing! |
Which is how exactly? JavaScript is the only langauge I know that has the same syntax for object literals and blocks, and I think it's a hige design flaw in the langauge. I don't think you should repeat that mistake. |
If u like to count ur indentations to ensure that lines of code are within ur "def" or "if" statements => all power & luck to ya ... mostly the luck haha that's what ull need more of |
Why not? |
Then you can use Or, if you want |
Please leave this issue open forever or until you come to your senses and delete this repo, preferably the latter! |
You've never used c or c++ ? Structure literals (objects before oop) are denoted using curly braces, just as its scope blocks are. It's been that way for 50 years and a lot of languages followed in its foot steps. So... rust, zig, go, c, cpp, JavaScript, c# and I'm sure many others all have some type of literal objects with curly braces while still having curly brace code blocks. I'm not arguing one way or the other in this case, just confused why anyone would say this unless there never used c or any other c family programming language. |
because curly braces are pretty like flowers and vines adorning your code |
Why stop at braces, when there are a lot more bracket like symbols in Unicode :-) !? Here's one example:
For additional examples see: |
Because input for unicode inconvenient from keyboard. |
great idea, now instead pressing "{" and "}" directly on my keyboard, now i should use macro then bind "{" to copy then paste "⦃" |
On 31 Aug 2024, at 19:46, Fatih Al-Aziz ***@***.***> wrote:
Why stop at braces, when there are a lot more bracket like symbols in Unicode :-) !? Here's one example:
if (foo < bar) ⦃
# Your code here!
⦄
For additional examples see:
http://xahlee.info/comp/unicode_matching_brackets.html
http://xahlee.info/comp/unicode_math_brackets.html
great idea, now instead pressing "{" and "}" directly on my keyboard, now i should use macro then bind "{" to copy then paste "⦃"
i love it!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Because it's possible 😂 |
Just a comment that user input shouldn't be a problem using something like ⦃, as you can always have the editor automatically merge the two characters "{|" after they have been input. Oldtimers like me may even remember that for Pascal |
No description provided.
The text was updated successfully, but these errors were encountered: