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.
  • 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
                • E Eric Whitmore

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

                  Eric

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

                  Eric Whitmore wrote:

                  linq in VB.NET is possible

                  It's as possible as in C#![^] I don't see how that's better or worse than C#... :confused:

                  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

                  1 Reply Last reply
                  0
                  • W W Balboos GHB

                    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 Offline
                    F Offline
                    Freak30
                    wrote on last edited by
                    #37

                    W∴ Balboos wrote:

                    And, at the risk of being redundantly redundant:   What about those people about whom it is said "He's good for nothing".

                    No one is good for nothing. He can always be used as a bad example. :-D

                    The good thing about pessimism is, that you are always either right or pleasently surprised.

                    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

                      G Offline
                      G Offline
                      greldak
                      wrote on last edited by
                      #38

                      Used properly it allows you to code try catch blocks : : : on error resume next perform_some_action_which_may_generate_an_error on error goto 0 test_and_act_upon_err_object : : : unfortunately most people forget to do the testing part.

                      Sander RosselS 1 Reply Last reply
                      0
                      • E Eric Whitmore

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

                        Eric

                        C Offline
                        C Offline
                        crazedDotNetDev
                        wrote on last edited by
                        #39

                        I've used LINQ in both C# and VB.net... a lot. Once again, there is no real difference between the two languages. C# has better syntax; it makes you look smarter. VB.net gives you a better idea of what's actually happening; it educates you. .NET is the magic here. C# and VB.net are just twin languages riding its glory.

                        - great coders make code look easy - When humans are doing things computers could be doing instead, the computers get together late at night and laugh at us. - ¿Neal Ford?

                        1 Reply Last reply
                        0
                        • K kmoorevs

                          Depressed? Relax and On Error Resume Next...get it working, then make it work right! In software there's always room for improvement! :laugh:

                          "Go forth into the source" - Neal Morse

                          C Offline
                          C Offline
                          crazedDotNetDev
                          wrote on last edited by
                          #40

                          Quote:

                          Relax and On Error Resume Next

                          :laugh: :laugh: :laugh: That needs to be on a t-shirt!!!

                          - great coders make code look easy - When humans are doing things computers could be doing instead, the computers get together late at night and laugh at us. - ¿Neal Ford?

                          1 Reply Last reply
                          0
                          • G greldak

                            Used properly it allows you to code try catch blocks : : : on error resume next perform_some_action_which_may_generate_an_error on error goto 0 test_and_act_upon_err_object : : : unfortunately most people forget to do the testing part.

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

                            Not sure what that does, but it's possible in C# as well :D

                            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

                            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?

                              S Offline
                              S Offline
                              StatementTerminator
                              wrote on last edited by
                              #42

                              codejet wrote:

                              Question is who/what am I?

                              This is called a Voight-Kampff machine. You’ve got a little boy. He shows you his butterfly collection plus the killing jar...

                              1 Reply 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

                                P Offline
                                P Offline
                                Peter Adam
                                wrote on last edited by
                                #43

                                Except when your code blocks are catchs in ifs in switchs.

                                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?

                                  C Offline
                                  C Offline
                                  carlospc1970
                                  wrote on last edited by
                                  #44

                                  You are like most of the successful professionals. The best programmers solve problems with whatever is given and provide solutions by any means necessary. So, you solve problems. Be proud!! :cool:

                                  1 Reply Last reply
                                  0
                                  • P Peter Adam

                                    Except when your code blocks are catchs in ifs in switchs.

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

                                    If you're doing that, you need more help than just a VB.NET End can give. :~

                                    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

                                      There is no finer language on earth!

                                      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

                                      O Offline
                                      O Offline
                                      ozel dedektif
                                      wrote on last edited by
                                      #46

                                      woww! very fantastic özel dedektif

                                      http://bydedektif.com

                                      1 Reply 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