• 1 Post
  • 2 Comments
Joined 1 year ago
cake
Cake day: September 8th, 2023

help-circle
  • Here are the symbols that have meaning in say, Java:

    { } - Denote code blocks (for classes, methods, loops, etc.).
    [ ] - Array indexing and declarations.
    " - Delimits strings.
    @ - Annotation indicator (e.g., @Override).
    ^ - Bitwise XOR operator.
    & - Bitwise AND, and logical AND (&&).
    ( ) - Surround method parameters and denote precedence.
    ! - Logical NOT.
    | - Bitwise OR, and logical OR (||).
    < > - Less than, greater than, and generics.
    

    In kcats, it’s just [, ], and ". So 3 vs 14. It’s a real effect.

    I get what you are saying about python but I respectfully disagree. There’s way less a beginner needs to learn to use kcats vs python. There’s way more for YOU to learn because kcats is very unfamiliar to most programmers so they are to a large degree starting over, vs a language that’s similar to one they already know. But put yourself in the shoes of a beginner and it’s a different story.

    I am not talking about “functions you need to learn” - kcats’ tiny stdlib is not a “feature”, I’d rather it be extensive, I just don’t have the resources to make it that way, yet. I am talking about the core language.