• ryannathans@aussie.zone
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    8 hours ago

    Isn’t the logic inverted? I think you want a == 0 on each of those conditions

    You wouldn’t even need the first if you removed the space

  • MachineFab812@discuss.tchncs.de
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    10 hours ago

    Ya’know, it shouldn’t be too hard to setup the ╔ and ╚ characters to function as or be substituted for quotes or brackets, depending on the language, then handle the rest as ligatures. Straight display substitution could allow for clean code and portable touch-typing, while still providing this sort of “visual training wheels” for those who want it in their own editor/ide