Results 1 to 12 of 12

Thread: Trying to help...

Threaded View

  1. #1

    Thread Starter
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95

    Trying to help...

    I don't know if anyone reading this now will ned this.

    Anyway, there is a small thing I see in many code examples programmers offer in this forum and outside of it, this is about the intialization of objects using the New keyword.
    Why using this
    VB Code:
    1. Dim Obj as SomeType
    2. Obj = New SomeType(...)
    if you can use this?
    VB Code:
    1. Dim Obj As New SomeType(...)
    ? ? ? a modern programmer should always look for the compact and shortest way.
    Last edited by TLord; Jul 16th, 2004 at 04:46 PM.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

Posting Permissions

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



Click Here to Expand Forum to Full Width