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. Visual Basic needs more credit

Visual Basic needs more credit

Scheduled Pinned Locked Moved The Lounge
206 Posts 32 Posters 34 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.
  • C Colborne_Greg

    The entire difference between C# and VB are involved in that factoring, suppressing exceptions is not an acceptable thing for my employee's to do, suppressing exceptions happens by my efficiency team; who decided that at this moment didn't need to know the error. In visual basic with block

            With CameraControl.LastKnownTaken
                DateTakenBlock.Text = .DateTaken
                FileNameBlock.Text = .FileName
                LatitudeBlock.Text = .Latitude
                LongitudeBlock.Text = .Longitude 
            End With 
    

    notice the period, if you cant figure out that the words with a period before them belong to the with block I wouldn't hire you

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

    Re: suppressing exceptions. Your "efficiency team" are amateurs ... led by an even bigger one. You're "hiding" exceptions; not "suppressing" them.

    1 Reply Last reply
    0
    • C Colborne_Greg

      A project lead is management. Accounting does not lie about the costs. The picture you gave a psychologist is that you are a lair.

      T Offline
      T Offline
      thequux
      wrote on last edited by
      #163

      If your project lead doesn't code, then you have much bigger problems than we're discussing here. Also, your accountants will tell you exactly what things cost, this is true. However, this is all that they will tell you. They won't tell you what it would have cost had you taken a different course, what things would have cost if you could work at a higher level of abstraction. There is a point at which individual language features like "with" statements become irrelevant, and you need to think of your program in terms of composing Bayesian filters, simulated annealing, genetic algorithms, and other such high-level topics. VB, C#, and most other languages keep you at the level of writing for loops, when really you'd rather be calling in much higher-level building blocks. You can kind of achieve this by writing a domain-specific language and then interpreting it, but I challenge you to find even one VB programmer among your staff who can manage this. In fact, I'll put my money where my mouth is: I'll bet you $100 that you can't write an AIM-349 scheme interpreter with your hordes of programmers faster than I can write one by myself in Ocaml. And finally, everything that I have spoken is the truth. I am a fairly public person, and you should be able to verify everything that I have said, at least about myself, personally. (Really, though, what the hell does it matter how many companies I own? The real question is who is a better programmer. I'm going to go out on a limb here and say that that would be me. Show me your open source code and prove me wrong. Mine is here.)

      C 1 Reply Last reply
      0
      • T thequux

        If your project lead doesn't code, then you have much bigger problems than we're discussing here. Also, your accountants will tell you exactly what things cost, this is true. However, this is all that they will tell you. They won't tell you what it would have cost had you taken a different course, what things would have cost if you could work at a higher level of abstraction. There is a point at which individual language features like "with" statements become irrelevant, and you need to think of your program in terms of composing Bayesian filters, simulated annealing, genetic algorithms, and other such high-level topics. VB, C#, and most other languages keep you at the level of writing for loops, when really you'd rather be calling in much higher-level building blocks. You can kind of achieve this by writing a domain-specific language and then interpreting it, but I challenge you to find even one VB programmer among your staff who can manage this. In fact, I'll put my money where my mouth is: I'll bet you $100 that you can't write an AIM-349 scheme interpreter with your hordes of programmers faster than I can write one by myself in Ocaml. And finally, everything that I have spoken is the truth. I am a fairly public person, and you should be able to verify everything that I have said, at least about myself, personally. (Really, though, what the hell does it matter how many companies I own? The real question is who is a better programmer. I'm going to go out on a limb here and say that that would be me. Show me your open source code and prove me wrong. Mine is here.)

        C Offline
        C Offline
        Colborne_Greg
        wrote on last edited by
        #164

        That reply is based on a lot of wrong assumptions

        1 Reply Last reply
        0
        • C Colborne_Greg

          If you studied languages you would know that opinions are not religion but thanks. Here is am example a large amount of new programmers make int64 Height = 150; int64 width = 150; When the programmer uses Height and Width, the Width has a underline, and because of the number of lines in the file the programmer creates a new variable int64 Width = 150; While this one programmer is using the uppercase Width his peers are using the lowercase width. Is that clear enough for you, Sorry I assumed you had enough experience to know the issues with dealing with case sensitive variables.

          R Offline
          R Offline
          richard_k
          wrote on last edited by
          #165

          Seriously? You are using this is a reason to disparage case sensitivity? This same example goes for case insensitive languages.. all it takes is one programmer using 'width', while another uses something like 'wdth', and we have exactly the same issue. I've seen this so please don't say it isn't possible. Beginning programmers cease being beginners when they start looking at the bigger picture and trying to understand that things like this are possible. Which language they use is inconsequential to that understanding. The issue is one of rigor.. not some language feature. You'll have to try MUCH harder than this to be convincing. And note I have no bone to pick with VB. It has driven a lot of business application development and TOTALLY has its place. Its the 'new Cobol'.. another language much disparaged by many but quite useful in my opinion.

          C 1 Reply Last reply
          0
          • C Colborne_Greg

            25 years here, came up from cobol and JCL, and worked on switching systems for northern telecom. We are in the cell phone era, not the hardware layer. Anyways the topic is that VB needs more credit. I have seen my share of both as well, and when training people to program how I want them to program its easier to employ people that are not programmers and teach them what I need them to know in VB, if I tried this in C# it would not be possible.

            R Offline
            R Offline
            richard_k
            wrote on last edited by
            #166

            My experience of non-programmers is like this: they are good at small things. Ask them for small programs that do simple things and you are golden. Ask them for anything requiring Systems Analysis and real rigor and you've got serious quality problems on your hands. Its not that you can't get it from untrained individuals.. only that it takes a LOT longer. And 'the hardware layer' is where systems programming lives, which is what I do.. 'cellphone era' is a reference to time, not computers. I really don't know what you are trying to say.. As to C# vs. VB and trainability.. nonsense. I've seen folks pick up both. And seriously: what do you have against programmers?

            C 1 Reply Last reply
            0
            • C Colborne_Greg

              My entire company is based around dealing with behavior's of errors. When nothing is done for an error it was meant to be that way

              R Offline
              R Offline
              richard_k
              wrote on last edited by
              #167

              Is english your first language?

              C 1 Reply Last reply
              0
              • C Colborne_Greg

                Wrong. You just gave the exact details of the situation reinforcing their similarities.

                R Offline
                R Offline
                richard_k
                wrote on last edited by
                #168

                You didn't read my post? There are different portions of the IL set used by both languages.. its why they are different. This isn't subject to opinion, its stated fact. Seriously, don't take my word for it: The book is 'Expert .NET 2.0 IL Assembly Language'.. the author is Serge Lidin, HE IS THE DESIGNER OF THE IL LAYER. Most of the language uses very similar constructs.. but NOT ALL. Are you intentionally trolling here?

                C 1 Reply Last reply
                0
                • K Kenneth Haugland

                  With his pants on fire :laugh: I read somewhere that there are things that VB can do and C# can't an vice versa though... Think it had something to do with Errorhandling ?

                  R Offline
                  R Offline
                  richard_k
                  wrote on last edited by
                  #169

                  Its more than that.. some of the object oriented structures in use in the underlying IL differ between C# and VB. Serge Lidin's IL book covers these differences. If you have to read both languages (and sometimes I do), its useful to know.

                  1 Reply Last reply
                  0
                  • L Lost User

                    How often I have seen something like that. And then the criminal who wrote this thinks he's being treated unjustly and exclaims something like "But it always has worked!". And then try to explain to Mr. Pointy Hair that this mess only pretended to work at best, fell flat on its face and was more busy covering it up than anything else at worst, and that looking away will not solve anything or save us one single cent.

                    The language is JavaScript. that of Mordor, which I will not utter here
                    I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

                    R Offline
                    R Offline
                    richard_k
                    wrote on last edited by
                    #170

                    Just an aside.. I absolutely love your sig.. "the language is JavaScript. that of Mordor, which I will not utter here" LOL. I'm a sucker for Middle Earth comments and disparaging comments about Javascript!

                    1 Reply Last reply
                    0
                    • J JMK NI

                      You can write code that fails completely silently in other languages too :doh:

                      R Offline
                      R Offline
                      richard_k
                      wrote on last edited by
                      #171

                      Absolutely.. Its remarkable easy to write bad code, given how much of it I've seen over the years!

                      1 Reply Last reply
                      0
                      • C Colborne_Greg

                        When dealing with a database, sometimes there are bad records. I meant for these try catches to be this way, as I don't care at this point why there would be problems in the data, all other errors are handled.

                        R Offline
                        R Offline
                        richard_k
                        wrote on last edited by
                        #172

                        Heh? so you don't want your user to know to tell the DBA or YOU that something is wrong between the application and the database it uses? Hiding such things is asking for problems down the road. BIG problems.

                        C 1 Reply Last reply
                        0
                        • R richard_k

                          Heh? so you don't want your user to know to tell the DBA or YOU that something is wrong between the application and the database it uses? Hiding such things is asking for problems down the road. BIG problems.

                          C Offline
                          C Offline
                          Colborne_Greg
                          wrote on last edited by
                          #173

                          It does not use a database.

                          1 Reply Last reply
                          0
                          • R richard_k

                            You didn't read my post? There are different portions of the IL set used by both languages.. its why they are different. This isn't subject to opinion, its stated fact. Seriously, don't take my word for it: The book is 'Expert .NET 2.0 IL Assembly Language'.. the author is Serge Lidin, HE IS THE DESIGNER OF THE IL LAYER. Most of the language uses very similar constructs.. but NOT ALL. Are you intentionally trolling here?

                            C Offline
                            C Offline
                            Colborne_Greg
                            wrote on last edited by
                            #174

                            My original post. Yes not all or Visual basic would be C#.

                            1 Reply Last reply
                            0
                            • R richard_k

                              Is english your first language?

                              C Offline
                              C Offline
                              Colborne_Greg
                              wrote on last edited by
                              #175

                              no

                              1 Reply Last reply
                              0
                              • R richard_k

                                My experience of non-programmers is like this: they are good at small things. Ask them for small programs that do simple things and you are golden. Ask them for anything requiring Systems Analysis and real rigor and you've got serious quality problems on your hands. Its not that you can't get it from untrained individuals.. only that it takes a LOT longer. And 'the hardware layer' is where systems programming lives, which is what I do.. 'cellphone era' is a reference to time, not computers. I really don't know what you are trying to say.. As to C# vs. VB and trainability.. nonsense. I've seen folks pick up both. And seriously: what do you have against programmers?

                                C Offline
                                C Offline
                                Colborne_Greg
                                wrote on last edited by
                                #176

                                Considering 3 people are doing the work of 30 people, with 5 code monkeys that have no skill, I would say this business model is working.

                                R 1 Reply Last reply
                                0
                                • R richard_k

                                  Seriously? You are using this is a reason to disparage case sensitivity? This same example goes for case insensitive languages.. all it takes is one programmer using 'width', while another uses something like 'wdth', and we have exactly the same issue. I've seen this so please don't say it isn't possible. Beginning programmers cease being beginners when they start looking at the bigger picture and trying to understand that things like this are possible. Which language they use is inconsequential to that understanding. The issue is one of rigor.. not some language feature. You'll have to try MUCH harder than this to be convincing. And note I have no bone to pick with VB. It has driven a lot of business application development and TOTALLY has its place. Its the 'new Cobol'.. another language much disparaged by many but quite useful in my opinion.

                                  C Offline
                                  C Offline
                                  Colborne_Greg
                                  wrote on last edited by
                                  #177

                                  A requirement of programming for me is to use whole words, anyone writing wdth would be fired. Considering the use of full words the with block becomes extremely important for readability. Since the adoption of full words and with blocks we have dropped the use of comments, greatly increasing productivity. Even when we use C# because some of my own programmers have more experience in that one language, so even when we use it having to make sure a variable is typed correctly can hold up experienced C# programmers for lazy mistakes, that simply do not happen in VB. So yes seriously.

                                  R 1 Reply Last reply
                                  0
                                  • C Colborne_Greg

                                    Considering 3 people are doing the work of 30 people, with 5 code monkeys that have no skill, I would say this business model is working.

                                    R Offline
                                    R Offline
                                    richard_k
                                    wrote on last edited by
                                    #178

                                    How long have you been running this way? How many bugs do you fix per week? Saying your business is working means nothing to me.. there are quality measures you either meet or you don't. I'll put it very directly: I've seen folks make money while treating their customers like dogs. And left those same customers with applications that barely worked. You can make money and still create completely useless buggy software. Financial success is important to you I'm sure.. your customers have different motivations..

                                    C 1 Reply Last reply
                                    0
                                    • C Colborne_Greg

                                      A requirement of programming for me is to use whole words, anyone writing wdth would be fired. Considering the use of full words the with block becomes extremely important for readability. Since the adoption of full words and with blocks we have dropped the use of comments, greatly increasing productivity. Even when we use C# because some of my own programmers have more experience in that one language, so even when we use it having to make sure a variable is typed correctly can hold up experienced C# programmers for lazy mistakes, that simply do not happen in VB. So yes seriously.

                                      R Offline
                                      R Offline
                                      richard_k
                                      wrote on last edited by
                                      #179

                                      This now qualifies as trolling. Have a nice day.

                                      C 1 Reply Last reply
                                      0
                                      • R richard_k

                                        This now qualifies as trolling. Have a nice day.

                                        C Offline
                                        C Offline
                                        Colborne_Greg
                                        wrote on last edited by
                                        #180

                                        When two people go back and forth, it's called a conversation.

                                        1 Reply Last reply
                                        0
                                        • R richard_k

                                          How long have you been running this way? How many bugs do you fix per week? Saying your business is working means nothing to me.. there are quality measures you either meet or you don't. I'll put it very directly: I've seen folks make money while treating their customers like dogs. And left those same customers with applications that barely worked. You can make money and still create completely useless buggy software. Financial success is important to you I'm sure.. your customers have different motivations..

                                          C Offline
                                          C Offline
                                          Colborne_Greg
                                          wrote on last edited by
                                          #181

                                          Programs here are written and completed within three days. Up until this point the company has been focused on real estate software for Canadian Companies, 100s of Unidex apps will be released for Windows phone 8.1 when Windows Phone 8.1 is released to the public either this month or it looks like Windows Phone 8.1 won't be released till November.

                                          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