social.giorgiocomai.eu
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • People

Conversation

Notices

  1. RFortunes (rfortunes)'s status on Sunday, 22-Sep-2019 16:00:02 CEST RFortunes RFortunes

    So, with the item in the original query:

    if (x<-3) do_something;

    if they wrote it as

    if (x<(-3)) do_something;

    there would be no problem (and no doubt about what went with what). Of course in complicated expressions this could induce an episode of ocular lispopia, but apart from that it's safe!
    -- Ted Harding (about potential confusion between assignment and comparisons with negative numbers)
    R-devel (August 2010) #Rstats

    Sunday, 22-Sep-2019 16:00:02 CEST from mamot.fr permalink

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    social.giorgiocomai.eu is a social network, courtesy of Giorgio Comai. It runs on GNU social, version 1.2.0-beta4, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All social.giorgiocomai.eu content and data are available under the Creative Commons Attribution 3.0 license.