• bzah
    link
    fedilink
    English
    arrow-up
    21
    ·
    3 days ago

    I know there is a programming language called windev, all in French, just in case you want to suffer. I would except a good exception handling mechanism in a French base language.

    An example from their website: ` TotalCA est un monétaire = CalculCAMoisEnCours()

    SI TotalCA >= 1 250 000 ALORS LIB_Objectif= “Objectif dépassé !” LIB_Objectif.Couleur= VertFoncé

    SINON SI TotalCA <= 200 000 ALORS LIB_Objectif= “Objectif non atteint” LIB_Objectif.Couleur= RougeClair FIN

    FIN `

    • jol
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      I’d love to swap else with alors in all languages

      • boonhet@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        I think that’s actually a then keyword

        Y’know, from back when it was common for languages to do if foo then baz