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. You know you've been coding too much when...

You know you've been coding too much when...

Scheduled Pinned Locked Moved The Lounge
delphi
28 Posts 20 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.
  • J Jacquers

    I feel like that with mvvm. I see the benefits of seperation of logic and things being loosely coupled, but it takes a lot longer than plain old code behind. It also feels a bit 'obfuscated' since you have to know mvvm to figure out just how things fit together.

    B Offline
    B Offline
    BubingaMan
    wrote on last edited by
    #18

    Jacquers wrote:

    but it takes a lot longer than plain old code behind

    Perhaps. But consider needing to dive back into that code after 2 years to deal with a change request or a bugfix. I'll take the nicely structured code of MVVM over the spaghetti that is code-behind any day of the week. Not to mention that writing tests for the GUI layer is loads more efficient if you decouple the logic from the actual GUI.

    Jacquers wrote:

    It also feels a bit 'obfuscated' since you have to know mvvm to figure out just how things fit together.

    Yes, to understand MVVM code, you need working knowledge of the MVVM pattern. Seems kinda obvious.

    1 Reply Last reply
    0
    • J Jacquers

      You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

      M Offline
      M Offline
      MajinSaha
      wrote on last edited by
      #19

      Before you go to bed, you put two glasses near you. One filled with water in case you get thirsty in a middle of a night. The other one empty, in case you don't get thirsty.

      1 Reply Last reply
      0
      • V V 0

        During uni we still had COBOL. Got a nightmare two years in a row the night before the exam about COBOL code passing through. A small reminder, for COBOL you needed to divide the code in sections and start writing on the seventh character. For calculating values you needed to write "compute ... " etc... X|

        V.

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

        IDENTIFICATION DIVISION

        1 Reply Last reply
        0
        • J Jacquers

          I feel like that with mvvm. I see the benefits of seperation of logic and things being loosely coupled, but it takes a lot longer than plain old code behind. It also feels a bit 'obfuscated' since you have to know mvvm to figure out just how things fit together.

          D Offline
          D Offline
          DannyStaten
          wrote on last edited by
          #21

          Give it time and you will find that MVVM can be developed with similar costs in time. One of the benefits I love about MVVM is how reusable things are. If you can't do something via databinding to an existing property on a control, then you extend the control in question and add the properties you need. If you do it that way you then have a control you can use everywhere. Doing things in code behind which feels quicker ultimately can cost you more time.

          1 Reply Last reply
          0
          • J Jacquers

            You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

            O Offline
            O Offline
            Owen37
            wrote on last edited by
            #22

            When you dream about, not writing code, but BEING code. The curly-braces are ticklish :laugh: --Owen

            1 Reply Last reply
            0
            • R Roger Wright

              I could do in a day, back then, what it now takes a month to do with modern languages. If Turbo Pascal had held the course, instead of fizzling out after v5.5, I might still be a programmer. It was easy to read, write, and maintain, well documented, extremely efficient, and fairly priced. Microsoft changed all of those facets of an entire industry, and all of us are poorer for it. That's not to say that a bunch of good people aren't doing very nicely financially as a result, of course. :-D

              Will Rogers never met me.

              U Offline
              U Offline
              User 8274150
              wrote on last edited by
              #23

              SO you never considered Delphi?

              1 Reply Last reply
              0
              • J Jacquers

                You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

                F Offline
                F Offline
                Fabio Franco
                wrote on last edited by
                #24

                I realized that I code too much for several reasons: 1 - As others, I sometimes dream of coding 2 - On free time, I sometimes think of code 3 - Most importantly, the way I think has changed. The decisions I take in my life have become just like logical algorithms, sometimes I even think on the way of case's, if's and while's. Scary thought.

                "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

                1 Reply Last reply
                0
                • J Jacquers

                  You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

                  N Offline
                  N Offline
                  Narud Shiro
                  wrote on last edited by
                  #25

                  You want to end every line of text with a semicolon (;), without matter if you're writing T-SQL, HTML, Visual Basic, a letter, an email, or anything else :-D

                  1 Reply Last reply
                  0
                  • J Jacquers

                    You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

                    M Offline
                    M Offline
                    Member 3980709
                    wrote on last edited by
                    #26

                    ... when you try to debug your deli sandwich in which you found a bug... :-\

                    1 Reply Last reply
                    0
                    • J Jacquers

                      You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

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

                      ... someone says: "Why do you always have to be so logical ???!!!!". :doh: (True story).

                      1 Reply Last reply
                      0
                      • J Jacquers

                        You dream about writing code. And not even in your current coding language, but Turbo Pascal. It was a good language to learn programming in, but things took a long time to do compared to what we have available now. I'd be able to write something in a day that would have taken a week to do back then.

                        K Offline
                        K Offline
                        Ken_Holt
                        wrote on last edited by
                        #28

                        Back in the mid-70's I had a friend who did a lot of work with machine code on DEC minicomputers. One day he used his lunch break to go to the bank to straighten out a problem he had been having with his checking account. It turns out that he had been trying to balance his checkbook in octal.

                        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