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. A rant

A rant

Scheduled Pinned Locked Moved The Lounge
csharpc++career
47 Posts 19 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.
  • L Le centriste

    Paul Conrad wrote:

    Why would that be bad?

    :confused: Sorry if I gave the impression that would be a bad thing, the goal of my reply is the exact opposite.

    Paul Conrad wrote:

    If you have a password be writeonly, then only the class would be able to work with it. A password MAY not really something you'd want to pass in and out of a class. The purpose of writeonly is to be able to set a property to be used by the class internally, that may not necessarily be need to be read externally from the class.

    Exactly the point I wanted to make.

    P Offline
    P Offline
    Paul Conrad
    wrote on last edited by
    #15

    Le Centriste wrote:

    gave the impression that would be a bad thing, the goal of my reply is the exact opposite

    No worries, my bad if I misread your post:-O

    Le Centriste wrote:

    Exactly the point I wanted to make.

    Cool dude, we're on the same page :-D I do get alot of students who wonder about the idea of the purpose of writeonly, and that is one example I give. It is one of those things that can be sort of fuzzy. Not as strange as trying to explain what a Friend access modifier is.

    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

    L L 3 Replies Last reply
    0
    • P Paul Conrad

      Le Centriste wrote:

      gave the impression that would be a bad thing, the goal of my reply is the exact opposite

      No worries, my bad if I misread your post:-O

      Le Centriste wrote:

      Exactly the point I wanted to make.

      Cool dude, we're on the same page :-D I do get alot of students who wonder about the idea of the purpose of writeonly, and that is one example I give. It is one of those things that can be sort of fuzzy. Not as strange as trying to explain what a Friend access modifier is.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      L Offline
      L Offline
      Le centriste
      wrote on last edited by
      #16

      Paul Conrad wrote:

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer

      I was afraid that you would apply the above to me :doh:

      P 1 Reply Last reply
      0
      • L Le centriste

        Paul Conrad wrote:

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer

        I was afraid that you would apply the above to me :doh:

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #17

        :laugh::laugh::laugh: Naah, I'll just categorize it as a little communication hiccup :-\

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

        1 Reply Last reply
        0
        • L leonej_dt

          In my current job, I have to maintain a VB.NET app written by someone else. Here is my list of complaints: 0. There is no documentation and comments are written in really bad Spanish. 1. Dim this_is_a_very_long_variable_name_damn_it... The previous programmer also didn't know that the NamingConvention of variables in .NET. 2. Since he also didn't know the As clause or the DirectCast instruction existed in VB.NET, now I have to figure out whether a particular Object is a String, a DataRowView or an UndocumentedClass. 3. Some classes were plagues with WriteOnly propeties. WriteOnly properties don't ******* make sense! The only thing WriteOnly properties can do is sending parameters to an object before you call one of its methods. But that is what method parameters are for! 4. I once found this comment: ' NO SE EXACTAMENTE COMO FUNCIONA ESTO, REVISALO BIEN (translation to English: I don't know how this works exactly, check it out). Dang! Let's be more concise: PreviousProgrammer.Code.MakeBleed(Eduardo.Eyes) ' yes, really Coming from a C and C++ background, where you have to be really precise unless you like messy results, I find this situation too difficult to bear with. But I need 6 months of job experience to graduate. I hate VB (either the real VB or VB.NET). I hate people who program in VB.

          To those who understand, I extend my hand. To the doubtful I demand: Take me as I am. Not under your command, I know where I stand. I won't change to fit yout plan. Take me as I am.

          E Offline
          E Offline
          El Corazon
          wrote on last edited by
          #18

          leonej_dt wrote:

          But I need 6 months of job experience to graduate.

          Well, I would say hold out 6 months if that is all it takes. I know it is suffering. My first job was RPG-II and COBOL, I spent 4 years in it with accounting before I jumped ship. Trust me, if I can survive 4 years of RPG-II, you can survive 1/2 year of VB. Don't let your C/C++ slide, do something now and then to keep it fresh such that when you escape VB you can still program C/C++ as well as when you started doing VB work. :) and if you are completely insane like me, you will end up developing a spreadsheet program , a 4G language to language x converter, and a 4D chess game in the language you hate. There are just days I needed to do something other than accounting or I would have gone [more] completely mad! ;P

          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

          A L 3 Replies Last reply
          0
          • J Jim Crafton

            dan neely wrote:

            codethulu

            Brilliant! You should trademark that *immediately*. And register codethulu.net ... :)

            ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

            E Offline
            E Offline
            El Corazon
            wrote on last edited by
            #19

            Jim Crafton wrote:

            codethulu.net

            are you sure it is not already the zillionth CP server domain?

            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

            1 Reply Last reply
            0
            • J Jim Crafton

              dan neely wrote:

              codethulu

              Brilliant! You should trademark that *immediately*. And register codethulu.net ... :)

              ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

              O Offline
              O Offline
              Oakman
              wrote on last edited by
              #20

              Jim Crafton wrote:

              And register codethulu.net

              the admin contact would, presumably, be H.P. Lovecode?

              Jon Smith & Wesson: The original point and click interface

              1 Reply Last reply
              0
              • D Dan Neely

                It doesn't matter what language you're working in, hell is other peoples code. While it's definitely easier to create a mostly working horror in VB than C/++, the latter languages have far greater scope to create a true codethulu.

                Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                E Offline
                E Offline
                El Corazon
                wrote on last edited by
                #21

                dan neely wrote:

                codethulu

                mmmmm... you got my mind going! my next inline class will be Cthulhu_Fhtagn();

                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                1 Reply Last reply
                0
                • D Dan Neely

                  It doesn't matter what language you're working in, hell is other peoples code. While it's definitely easier to create a mostly working horror in VB than C/++, the latter languages have far greater scope to create a true codethulu.

                  Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #22

                  dan neely wrote:

                  It doesn't matter what language you're working in, hell is other peoples code.

                  Well put. However, not all other people's code is hell. Only the poorly maintained ones where there is some odd/offbeat coding standard involved.

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                  1 Reply Last reply
                  0
                  • J Jim Crafton

                    dan neely wrote:

                    codethulu

                    Brilliant! You should trademark that *immediately*. And register codethulu.net ... :)

                    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #23

                    I can hardly claim originality on the line. :doh: That said, I lost the free webspace I'd been bumming of a friends server a month or two ago, and never got past WTF to register as a domain. I'd probably never use the site for anything except a filedump.

                    Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                    1 Reply Last reply
                    0
                    • E El Corazon

                      leonej_dt wrote:

                      But I need 6 months of job experience to graduate.

                      Well, I would say hold out 6 months if that is all it takes. I know it is suffering. My first job was RPG-II and COBOL, I spent 4 years in it with accounting before I jumped ship. Trust me, if I can survive 4 years of RPG-II, you can survive 1/2 year of VB. Don't let your C/C++ slide, do something now and then to keep it fresh such that when you escape VB you can still program C/C++ as well as when you started doing VB work. :) and if you are completely insane like me, you will end up developing a spreadsheet program , a 4G language to language x converter, and a 4D chess game in the language you hate. There are just days I needed to do something other than accounting or I would have gone [more] completely mad! ;P

                      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                      A Offline
                      A Offline
                      Andy Brummer
                      wrote on last edited by
                      #24

                      El Corazon wrote:

                      4D chess game

                      How do any of the pieces find each other? That's 4096 spaces, or do you start with 1024 pieces?

                      I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                      E 1 Reply Last reply
                      0
                      • R Ray Cassick

                        No, it's the hallmark of a BAD VB PROGRAMMER. I keep reminding people, you can write crap in any language. I have seen it done.


                        FFRF[^]
                        My LinkedIn profile[^]
                        My Programmers Blog[^]

                        S Offline
                        S Offline
                        Scott Barbour
                        wrote on last edited by
                        #25

                        I've never understood the animosity towards VB. It gets the job done faster than most languages. If a bad programmer writes VB code, you have an unmaintainable horror. If a bad programmer writes C/C++ code, you get memory leaks and vectors for malicious attacks. Writing C/C++ code for standard business applications, in my book, is akin to common users having admin rights. C/C++ has its place, but the vulnerabilities caused from making mistakes or cutting corners far outweigh marginal performance gains.

                        1 Reply Last reply
                        0
                        • R Ray Cassick

                          No, it's the hallmark of a BAD VB PROGRAMMER. I keep reminding people, you can write crap in any language. I have seen it done.


                          FFRF[^]
                          My LinkedIn profile[^]
                          My Programmers Blog[^]

                          M Offline
                          M Offline
                          Mustafa Ismail Mustafa
                          wrote on last edited by
                          #26

                          Ray Cassick wrote:

                          No, it's the hallmark of a BAD VB PROGRAMMER. I keep reminding people, you can write crap in any language. I have seen it done.

                          Certainly, and in VB much more so than in VB.NET and yes, it can be done in any language, however, its much harder to do so. Well, C-based languages anyways.

                          Don't forget to vote if the response was helpful


                          Sig history "dad" Ishmail-Samuel Mustafa "There's no point questioning the actions of a c0ck-juggling thunderc*nt" From the book of testy commentary by martin_hughes Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

                          1 Reply Last reply
                          0
                          • A Andy Brummer

                            El Corazon wrote:

                            4D chess game

                            How do any of the pieces find each other? That's 4096 spaces, or do you start with 1024 pieces?

                            I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                            E Offline
                            E Offline
                            El Corazon
                            wrote on last edited by
                            #27

                            think classical plus temporal, movement is through time except for the king. :)

                            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                            A 1 Reply Last reply
                            0
                            • E El Corazon

                              think classical plus temporal, movement is through time except for the king. :)

                              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                              A Offline
                              A Offline
                              Andy Brummer
                              wrote on last edited by
                              #28

                              What? Is that only into the future, but open to infinity in one direction, so you can "disappear" off the board for a number of moves and re-appear at a later time at a specific position? Do the same move limits apply to the pieces, so rooks disappear and reappear at the same square and bishops show up a distance away equal to the number of squares they were away for?

                              I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                              E 1 Reply Last reply
                              0
                              • A Andy Brummer

                                What? Is that only into the future, but open to infinity in one direction, so you can "disappear" off the board for a number of moves and re-appear at a later time at a specific position? Do the same move limits apply to the pieces, so rooks disappear and reappear at the same square and bishops show up a distance away equal to the number of squares they were away for?

                                I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #29

                                classical movement still applies, however temporal movement I'd forward up to the piece value. thus the queen has far more movement than pawns.

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                1 Reply Last reply
                                0
                                • R Ray Cassick

                                  No, it's the hallmark of a BAD VB PROGRAMMER. I keep reminding people, you can write crap in any language. I have seen it done.


                                  FFRF[^]
                                  My LinkedIn profile[^]
                                  My Programmers Blog[^]

                                  S Offline
                                  S Offline
                                  Shog9 0
                                  wrote on last edited by
                                  #30

                                  Ray Cassick wrote:

                                  No, it's the hallmark of a BAD VB PROGRAMMER.

                                  The day i get to work on code written by any other sort has yet to occur. But yes, there's plenty of awful code in other languages; it just tends to be awful in other ways.

                                  ----

                                  You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                  1 Reply Last reply
                                  0
                                  • S Shog9 0

                                    Ah, yes. The hallmarks of a VB app. Wait 'till you run into one where all data is stored in a system of global Object arrays... arrays that are used for completely different purposes depending on context. The last time i had to do serious VB work, it put me off programming for months afterward. Bear with it, if nothing else it'll teach you exactly why some of these practices are discouraged. And heavy drinking does help to calm the flashbacks. Somewhat.

                                    ----

                                    You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                    F Offline
                                    F Offline
                                    Flynn Arrowstarr Regular Schmoe
                                    wrote on last edited by
                                    #31

                                    That was what I hated in Microsoft's eMbedded Visual Basic for the CE devices -- everything was a Variant. You could declare everything as string, int, etc. but behind the scenes they were all Variant types. The language was basically VBScript with forms. Sometimes I did some useful things with it though. There's no API in eVB for working with .ini files (no API in CE that I'm aware of for that matter), so I created a simple system that read the application settings into a Variant array to mimic structures. Worked pretty well. :) I would like to think I wrote some pretty decent code in VB/eVB. But I've learned so much since then, that I don't like working in it as much. Flynn

                                    1 Reply Last reply
                                    0
                                    • D Dan Neely

                                      It doesn't matter what language you're working in, hell is other peoples code. While it's definitely easier to create a mostly working horror in VB than C/++, the latter languages have far greater scope to create a true codethulu.

                                      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                                      V Offline
                                      V Offline
                                      Vikram A Punathambekar
                                      wrote on last edited by
                                      #32

                                      dan neely wrote:

                                      hell is other peoples code

                                      Awesome. Mind if I make that my sig?

                                      Cheers, Vıkram.


                                      "if abusing me makes you a credible then i better give u the chance which didnt get in real" - Adnan Siddiqi.

                                      1 Reply Last reply
                                      0
                                      • E El Corazon

                                        leonej_dt wrote:

                                        But I need 6 months of job experience to graduate.

                                        Well, I would say hold out 6 months if that is all it takes. I know it is suffering. My first job was RPG-II and COBOL, I spent 4 years in it with accounting before I jumped ship. Trust me, if I can survive 4 years of RPG-II, you can survive 1/2 year of VB. Don't let your C/C++ slide, do something now and then to keep it fresh such that when you escape VB you can still program C/C++ as well as when you started doing VB work. :) and if you are completely insane like me, you will end up developing a spreadsheet program , a 4G language to language x converter, and a 4D chess game in the language you hate. There are just days I needed to do something other than accounting or I would have gone [more] completely mad! ;P

                                        _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                        L Offline
                                        L Offline
                                        leonej_dt
                                        wrote on last edited by
                                        #33

                                        The program I'm maintaining doesn't do anything interesting. It just manages sales, buys, inventory and accounting... *yawn* I miss the computer graphics course I took last semester. Anyways...

                                        To those who understand, I extend my hand. To the doubtful I demand: Take me as I am. Not under your command, I know where I stand. I won't change to fit yout plan. Take me as I am.

                                        1 Reply Last reply
                                        0
                                        • E El Corazon

                                          leonej_dt wrote:

                                          But I need 6 months of job experience to graduate.

                                          Well, I would say hold out 6 months if that is all it takes. I know it is suffering. My first job was RPG-II and COBOL, I spent 4 years in it with accounting before I jumped ship. Trust me, if I can survive 4 years of RPG-II, you can survive 1/2 year of VB. Don't let your C/C++ slide, do something now and then to keep it fresh such that when you escape VB you can still program C/C++ as well as when you started doing VB work. :) and if you are completely insane like me, you will end up developing a spreadsheet program , a 4G language to language x converter, and a 4D chess game in the language you hate. There are just days I needed to do something other than accounting or I would have gone [more] completely mad! ;P

                                          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                          L Offline
                                          L Offline
                                          leonej_dt
                                          wrote on last edited by
                                          #34

                                          By the way, last year, a friend of mine and I worked in a three dimensional Go project. We first thought of how a Calabi-Yau Go would look like, but then I realized that my math sucks.

                                          To those who understand, I extend my hand. To the doubtful I demand: Take me as I am. Not under your command, I know where I stand. I won't change to fit yout plan. Take me as I am.

                                          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