Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: The benefits of typecasting over static declaration

  1. #11
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    And solely just for the sake of extinguishing a potentially unproductive flame-war over semantics, I found documentation of a visual studio 2008 warning message that says:

    warning C4312: 'type cast' : conversion from 'SDWORD' to 'SQLLEN *' of greater size

    Yes, I can see that there is a space between the words 'type' and 'cast.'

  2. #12
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    And come on, just because something isn't explicitly stated in your most "trusted source", doesn't mean that you always have to use the word "pre-processor directive." for example.

    If Microsoft is capable of getting over it, so can you. But I'll remember the next time I ask a question, to say "type conversion", or "casting", if this makes the community happy.

  3. #13
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: The benefits of typecasting over static declaration

    Quote Originally Posted by eazar001 View Post
    If Microsoft is capable of getting over it, so can you. But I'll remember the next time I ask a question, to say "type conversion", or "casting", if this makes the community happy.
    No, it won't. Conversion and casting are different things (casting is a way to in a sense "force" a conversion, but conversions also very frequently happen implicitly).

    (Also, there is a number of good reasons to ignore standards, but "Microsoft does it" is not one of them.)
    Last edited by Bachstelze; January 1st, 2013 at 08:23 AM.
    「明後日の夕方には帰ってるからね。」


  4. #14
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    Quote Originally Posted by Bachstelze View Post
    No, it won't. Conversion and casting are different things (casting is a way to in a sense "force" a conversion, but conversions also very frequently happen implicitly).
    Good, I'm glad Bachstelze speaks for the community. Nonetheless, I never asked for an explanation as to how conversions come about. Conversions can come about via assignment statements. Or they can come about through casting. Great.

  5. #15
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    http://www.open-std.org/jtc1/sc22/wg...docs/n1570.pdf

    Apparently a draft of the C99 standard has exactly one occurrence of 'type cast.' Enough said.

  6. #16
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    Quote Originally Posted by Bachstelze View Post
    No, it won't. Conversion and casting are different things (casting is a way to in a sense "force" a conversion, but conversions also very frequently happen implicitly).

    (Also, there is a number of good reasons to ignore standards, but "Microsoft does it" is not one of them.)
    Also, you will notice that it is under a section labelled "Type Conversions." Just use the search function in your viewer.

  7. #17
    Join Date
    Feb 2009
    Beans
    1,469

    Re: The benefits of typecasting over static declaration

    never mind, this conversation has nowhere productive left to go

  8. #18
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    Exactly. This is why I hate vocab arguments; if you can understand the guy without difficulty, let it go. Otherwise it will degenerate into a battle of two or more people correcting each others' spelling mistakes.

  9. #19
    Join Date
    Feb 2009
    Beans
    1,469

    Re: The benefits of typecasting over static declaration

    *other's

    sorry...

  10. #20
    Join Date
    Jul 2012
    Beans
    24

    Re: The benefits of typecasting over static declaration

    lol, it's okay, because:

    Others' = plural possessive referring to something belonging to more than one person

    But I'll resist the urge to comb through the previous parts of the thread.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •