Get started with App.net.

  Sign up now  
griotspeak
    @cocoamanifest Why doesn’t CGRectMake standardize the rect then? :-/
    cocoamanifest
      @griotspeak why does Apple do anything? :)
      griotspeak
        @cocoamanifest heh. I suppose that is an answer. It just seems weird.
        jws
          @cocoamanifest That’s not actually a reason to use CGRectMake (it doesn’t take a CGRect as input, so won’t standardize it), but it could be a reason to use the other geometry fns. I always use MaxX/Y for brevity and clarity already.
          jws
            @cocoamanifest I am unclear what wiseguy exactly would be using negative sizes to begin with, though. Does this ever actually happen?
            griotspeak
              @jws @cocoamanifest user input might lead to this. A naive handling of dragging from upper right to lower left.
              jws
                @griotspeak Yeah, but then you bite the programmer who was naive and didn’t clean the input. Then you audit all their other code for SQL injection and CSRF vulnerabilities. “Why would I need to HTML escape? All user input is perfect.” @cocoamanifest
                There are 12 new posts
                cocoamanifest
                  @jws ah, good point. I assumed that it related to CGRectMake because it's all part of the CGGeometry mechanism.
                  cocoamanifest
                    @jws apple seems to think it does.