hopscc wrote:Sure.
....
(Mike Hopkirk (hops))
I'm curious too: What's the "cc" in "hopscc" for?
hopscc wrote:Sure.
....
(Mike Hopkirk (hops))
I seem to be noticing many things that no-one else is
So far they've all been subjective,
nevdelap wrote:"Why is the complex boolean expression not immediately clear?" - A. Because if it was immediately clear it wouldn't be called 'complex'. Saying a simple expression should be bracketed for clarity because it might actually be a complex expression is contradictory.
nevdelap wrote:"foo and bar or baz and buzz" is immediately obvious to me, given that is it not complex, except that Cobra is currently making it "(((foo and bar) or baz) and buzz)" instead of "(foo and bar) or (baz and buzz)" that anyone who has bothered to understand operator precedence in almost any other language or in their school or university math courses should expect it to be.
nevdelap wrote:If '*' higher than '+' is basic high school mathematics (it was in my high school) then Cobra programmers should be able to cope with 'and' higher than 'or' and not be forced to depart from the rest of the mathematical world - otherwise it leads to the person who knows boolean precedence being tripped up and thinking Cobra's implementation is lame instead of the person who doesn't know it being tripped up and learning something.
nevdelap wrote:Having reported 28 of the last 41 bugs (not withstanding a couple of them not being considered bugs like this one) I seem to be noticing many things that no-one else is. I wonder how many people 'not being impacted' actually is.
nevdelap wrote:I'll be looking forward to a technical reason to make such a fundamental 'contrary' design decision. So far they've all been subjective.
nevdelap wrote:Ok. But I've added a few words to the wiki. You might want to check that you are happy with them. I think it is important because boolean logic is so fundamental to both contracts and tests expressed as assertions. So I'll shut up now.
http://cobra-language.com/trac/cobra/wiki/Contracts
http://cobra-language.com/trac/cobra/wiki/C
This isn't wiki so I can't add to it, but it could use something similar under that Contracts, Testing, and Assertions sections.
http://cobra-language.com/docs/python/
http://cobra-language.com/docs/quality/
foo and bar or baz and qux
(foo and bar) or (baz and qux)
Users browsing this forum: No registered users and 82 guests