News for hackers. Stuff that matters.
Re:Bython: Python with braces. Because Python is awesome, bu... by Chris2048 on Monday March 11, 2024 @09:01AM (#39667679)
I prefer this idea, but instead of a shell-style ending unique to every scoped structure, maybe just a ";" character?:

    def IsPalindrome(s) -> bool
        for i in range(len(s))
            if s[i] != s[len(s)-1-i]
                return False;
        ;
        return True;
I'd also be inclined to skip it for 'def' as well, since they tend not be be as nested.

There are no comments on this comment yet.