[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kturtle] [Bug 329489] New: The syntax of function calls is way too unexpected and it should be modi
From:       Éric Brunet <eric.brunet () lps ! ens ! fr>
Date:       2013-12-31 21:42:18
Message-ID: bug-329489-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=329489

            Bug ID: 329489
           Summary: The syntax of function calls is way too unexpected and
                    it should be modified
    Classification: Unclassified
           Product: kturtle
           Version: 0.8.1 beta
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: cies@kde.nl
          Reporter: eric.brunet@lps.ens.fr

The command sqrt(3)*3 is interpreted as sqrt(3*3), which is 3. This is contrary
to 
almost any other programming language and leads to really unexpected bugs !

I understand that, as a workaround, I can write (sqrt 3)*3 but really this is a
workaround.

So, of course, being able to call functions without parenthesis is a great
feature, I love it, but when parenthesis are present, the expected result is
that it works as, well, most programming languages do.



Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic