Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Who/What am I

Who/What am I

Scheduled Pinned Locked Moved The Lounge
questiondesign
46 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sander RosselS Sander Rossel

    Well, VB can only do everything C# can. It only has no curly braces and semi-colons. I guess VB isn't for you if you just love those curly braces and semi-colons...

    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

    Regards, Sander

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #16

    Four words: "ON ERROR RESUME NEXT" X|

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    Sander RosselS 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      Four words: "ON ERROR RESUME NEXT" X|

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      Sander RosselS Offline
      Sander RosselS Offline
      Sander Rossel
      wrote on last edited by
      #17

      You're right, it does more than C#! :D I've never used that one though :laugh: I wonder if it's just a shorthand for an empty catch block... In that case C# supports it too ;)

      Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

      Regards, Sander

      OriginalGriffO G 2 Replies Last reply
      0
      • W W Balboos GHB

        Sander Rossel wrote:

        Well, VB can only do everything C# can.

        Well - I suppose so - I mean it is certainly possible to bang in a nail with a rock. Per C# - M$ was hoping to use it to lure VB.NET users away - but I don't bother with C# when C++ is so handy. {{     }{   }{   }{   }}; ; ; ;;{}{}{}{String ^harder = "oh, it feels soooo good" } Talk namespace to me . . . Ahh::AHhh::AHHH;

        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

        "As far as we know, our computer has never had an undetected error." - Weisert

        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #18

        W∴ Balboos wrote:

        {{     }{   }{   }{   }}; ; ; ;;{}{}{}{String ^harder = "oh, it feels soooo good" } Talk namespace to me . . . Ahh::AHhh::AHHH;

        Hey, this is the lounge, keep it decent please! :laugh:

        Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

        Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

        Regards, Sander

        W 1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          W∴ Balboos wrote:

          {{     }{   }{   }{   }}; ; ; ;;{}{}{}{String ^harder = "oh, it feels soooo good" } Talk namespace to me . . . Ahh::AHhh::AHHH;

          Hey, this is the lounge, keep it decent please! :laugh:

          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

          Regards, Sander

          W Offline
          W Offline
          W Balboos GHB
          wrote on last edited by
          #19

          It just came to mind - the only basic of general worth: Basic Instinct

          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

          "As far as we know, our computer has never had an undetected error." - Weisert

          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

          Sander RosselS 1 Reply Last reply
          0
          • Sander RosselS Sander Rossel

            Well, VB can only do everything C# can. It only has no curly braces and semi-colons. I guess VB isn't for you if you just love those curly braces and semi-colons...

            Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

            Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

            Regards, Sander

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #20

            Sander Rossel wrote:

            VB can only do everything C# can

            No it can't; there are things C# can do that VB.net can't.

            Sander RosselS 1 Reply Last reply
            0
            • Sander RosselS Sander Rossel

              You're right, it does more than C#! :D I've never used that one though :laugh: I wonder if it's just a shorthand for an empty catch block... In that case C# supports it too ;)

              Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

              Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

              Regards, Sander

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #21

              ... An empty catch block round each individual line of code... :~

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • P Pete OHanlon

                Pragmatic.

                N Offline
                N Offline
                newton saber
                wrote on last edited by
                #22

                Pete O'Hanlon wrote:

                Pragmatic.

                Ahem...

                if (OriginalPoster == isProgrammerWhoDoesMaintenanceOnOwnCode)
                {
                OriginalPoster = PragmaticProgrammer;
                }
                else
                {
                OriginalPoster = MajorProblemCreator;
                }

                :D

                1 Reply Last reply
                0
                • P PIEBALDconsult

                  Sander Rossel wrote:

                  VB can only do everything C# can

                  No it can't; there are things C# can do that VB.net can't.

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #23

                  Like? Use unsafe code... If I wanted unsafe I wouldn't go with C# either! And there's some stuff VB can do that C# can't too :)

                  Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                  Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                  Regards, Sander

                  N 1 Reply Last reply
                  0
                  • W W Balboos GHB

                    It just came to mind - the only basic of general worth: Basic Instinct

                    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                    "As far as we know, our computer has never had an undetected error." - Weisert

                    "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                    Sander RosselS Offline
                    Sander RosselS Offline
                    Sander Rossel
                    wrote on last edited by
                    #24

                    Actually most basics are pretty indispensable! Try becoming a good programmer (or anything) without mastering the basics :)

                    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                    Regards, Sander

                    W 1 Reply Last reply
                    0
                    • A Amarnath S

                      IMHO, a good rule is: 1. Make it work. 2. Then make it work better - run faster, use lesser memory, use better algorithms, etc.; essentially optimize. Have seen people creating elaborate UML diagrams, only to find shortcomings in the code. In one extreme case, the code (C++) did not run; then the coder globally replaced all private by public, and it ran; throwing away all encapsulation to the wind; fixing this was a nightmare :-)

                      M Offline
                      M Offline
                      Mycroft Holmes
                      wrote on last edited by
                      #25

                      Wat be this private thing you speak of? ;P

                      Never underestimate the power of human stupidity RAH

                      A 1 Reply Last reply
                      0
                      • M Mycroft Holmes

                        Wat be this private thing you speak of? ;P

                        Never underestimate the power of human stupidity RAH

                        A Offline
                        A Offline
                        Amarnath S
                        wrote on last edited by
                        #26

                        ;)

                        1 Reply Last reply
                        0
                        • C codejet

                          I has been said many times that be able to code does not necessarily make you a programmer/developer. I just realised that I am one of those people who can write code that works pretty well. I'm not always proud of my methods (don't mean methods as in procedures) and design, most of the time I do whatever works. I get my code to work by any means necessary. I guess I am not a programmer/developer even though that is the my official position at work. Question is who/what am I?

                          J Offline
                          J Offline
                          JimmyRopes
                          wrote on last edited by
                          #27

                          codejet wrote:

                          I'm not always proud of my methods (don't mean methods as in procedures) and design, most of the time I do whatever works. I get my code to work by any means necessary. I guess I am not a programmer/developer

                          FTFY :-D Contrary to how academics define programmer/developer in reality the code needs to work. Sometimes you will be forced to produce under circumstances that are out of your control. The results may not be pretty but if it works is all that can be expected, not some textbook solution that you do not have the means to produce in the current situation.

                          Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha Simply Elegant Designs JimmyRopes Designs

                          1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            Well, VB can only do everything C# can. It only has no curly braces and semi-colons. I guess VB isn't for you if you just love those curly braces and semi-colons...

                            Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                            Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                            Regards, Sander

                            B Offline
                            B Offline
                            Brady Kelly
                            wrote on last edited by
                            #28

                            Sander Rossel wrote:

                            f you just love those curly braces and semi-colons...

                            A simple } looks lot better that bloody End IF, End For, End Select, and End Using all over the bloody place.

                            No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde

                            Sander RosselS P 2 Replies Last reply
                            0
                            • B Brady Kelly

                              Sander Rossel wrote:

                              f you just love those curly braces and semi-colons...

                              A simple } looks lot better that bloody End IF, End For, End Select, and End Using all over the bloody place.

                              No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde

                              Sander RosselS Offline
                              Sander RosselS Offline
                              Sander Rossel
                              wrote on last edited by
                              #29

                              But at least you know what you're ending! :) And really, is all that hatred towards VB because of some End If instead of }?

                              Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                              Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                              Regards, Sander

                              B 1 Reply Last reply
                              0
                              • C codejet

                                I has been said many times that be able to code does not necessarily make you a programmer/developer. I just realised that I am one of those people who can write code that works pretty well. I'm not always proud of my methods (don't mean methods as in procedures) and design, most of the time I do whatever works. I get my code to work by any means necessary. I guess I am not a programmer/developer even though that is the my official position at work. Question is who/what am I?

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #30

                                Writing a code that works pretty well is not enough for a programmer. Actually, your ability to write a working code is not relevant in this context. First, learn OOP and take design patterns course. Apply this knowledge in your new programs. If you are working with classes, make them all singletons. If you are working with WPF, don't write code-behind. In C/C++ mark all variables as register (every real programmer knows that register variables are faster), and make all functions inline. Finally, you can find that your skills match your official position. You code will not work pretty well at this stage, but let's leave these details for code writers.

                                1 Reply Last reply
                                0
                                • Sander RosselS Sander Rossel

                                  Like? Use unsafe code... If I wanted unsafe I wouldn't go with C# either! And there's some stuff VB can do that C# can't too :)

                                  Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                  Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                  Regards, Sander

                                  N Offline
                                  N Offline
                                  Nicholas Marty
                                  wrote on last edited by
                                  #31

                                  Case sensivity... It's just a horrible mess in VB..

                                  public class Demo {
                                  public string Name { get; set; }
                                  public Demo (string name) {
                                  Name = name;
                                  }
                                  }

                                  Public Class Demo
                                  Public Property Name As String
                                  Public Sub New(name As String)
                                  Name = name
                                  End Sub
                                  End Class

                                  Guess what? C# assigns the property in the constructor, whereas VB.Net doesn't... :)

                                  1 Reply Last reply
                                  0
                                  • Sander RosselS Sander Rossel

                                    But at least you know what you're ending! :) And really, is all that hatred towards VB because of some End If instead of }?

                                    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                    Regards, Sander

                                    B Offline
                                    B Offline
                                    Brady Kelly
                                    wrote on last edited by
                                    #32

                                    Sander Rossel wrote:

                                    But at least you know what you're ending

                                    I should only need to know that I'm ending a code block.

                                    And really, is all that hatred towards VB because of some End If instead of }?

                                    It's so much more than that. :laugh:

                                    No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde

                                    1 Reply Last reply
                                    0
                                    • Sander RosselS Sander Rossel

                                      Actually most basics are pretty indispensable! Try becoming a good programmer (or anything) without mastering the basics :)

                                      Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                      Regards, Sander

                                      W Offline
                                      W Offline
                                      W Balboos GHB
                                      wrote on last edited by
                                      #33

                                      Sander Rossel wrote:

                                      Try becoming a good programmer (or anything) without mastering the basics

                                      Perhaps you're not familiar with the concept of "Management" ? ? ? And, at the risk of being redundantly redundant:   What about those people about whom it is said "He's good for nothing".

                                      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                      "As far as we know, our computer has never had an undetected error." - Weisert

                                      "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                      F 1 Reply Last reply
                                      0
                                      • A Amarnath S

                                        IMHO, a good rule is: 1. Make it work. 2. Then make it work better - run faster, use lesser memory, use better algorithms, etc.; essentially optimize. Have seen people creating elaborate UML diagrams, only to find shortcomings in the code. In one extreme case, the code (C++) did not run; then the coder globally replaced all private by public, and it ran; throwing away all encapsulation to the wind; fixing this was a nightmare :-)

                                        K Offline
                                        K Offline
                                        kalberts
                                        wrote on last edited by
                                        #34

                                        The first law of optimization: Don't do it The second law of optimization: If you HAVE to do it, don't do it yet! The only real optimization you can do is to replace your algorithm or data structures (or both). That means you go back to square one (not necessarily for the entire system, but for that part you try to optimize), and the two laws above still applies.

                                        1 Reply Last reply
                                        0
                                        • Sander RosselS Sander Rossel

                                          Well, VB can only do everything C# can. It only has no curly braces and semi-colons. I guess VB isn't for you if you just love those curly braces and semi-colons...

                                          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                          Regards, Sander

                                          E Offline
                                          E Offline
                                          Eric Whitmore
                                          wrote on last edited by
                                          #35

                                          While doing linq in VB.NET is possible it is implemented much better in C#.

                                          Eric

                                          Sander RosselS C 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups