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. One-Way Programming

One-Way Programming

Scheduled Pinned Locked Moved The Lounge
csslearning
16 Posts 7 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 Lost User

    I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A). I see the new wave of code-less programming as a lot of people putting data in, but not being able to get information out.

    It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

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

    Gerry Schmitz wrote:

    I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A).

    Your "sense", young Skywalker? CodeSmith. Years worth.

    Gerry Schmitz wrote:

    I see the new wave of code-less programming

    Until I see results, I refuse to acknowledge it as a wave. Code generation grew nice over the years, up to the point where VS facilitates it.

    Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    1 Reply Last reply
    0
    • L Lost User

      I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A). I see the new wave of code-less programming as a lot of people putting data in, but not being able to get information out.

      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #5

      Gerry Schmitz wrote:

      I see the new wave of code-less programming as a lot of people putting data in,

      They attempt to generalize some problems that seem to have similarities. But the actual solution needed is actually different in each case. Obviously since otherwise there would likely only be one solution. Thus the generalization fails because it can only account for the similarities and not the exceptions. And adding the exceptions becomes so complex that it overrides any potential savings that the generalization might have achieved. And the problem becomes worse with time because more exceptions are needed at the same time the legacy system becomes more dependent on supporting the original use. On top of that you then also have consultants/pundits that base their careers and promoting the specific solution and tout the claimed benefits without explaining or perhaps not even understanding the the likely pitfalls. But you can often see the same thing happen in coding APIs. That is why, for example, if you need to use a 'new' database application layering technology the first thing you should always look for is how to do pass through SQL. If it is complex or even worse does not exist then you should discard it.

      P 1 Reply Last reply
      0
      • J jschell

        Gerry Schmitz wrote:

        I see the new wave of code-less programming as a lot of people putting data in,

        They attempt to generalize some problems that seem to have similarities. But the actual solution needed is actually different in each case. Obviously since otherwise there would likely only be one solution. Thus the generalization fails because it can only account for the similarities and not the exceptions. And adding the exceptions becomes so complex that it overrides any potential savings that the generalization might have achieved. And the problem becomes worse with time because more exceptions are needed at the same time the legacy system becomes more dependent on supporting the original use. On top of that you then also have consultants/pundits that base their careers and promoting the specific solution and tout the claimed benefits without explaining or perhaps not even understanding the the likely pitfalls. But you can often see the same thing happen in coding APIs. That is why, for example, if you need to use a 'new' database application layering technology the first thing you should always look for is how to do pass through SQL. If it is complex or even worse does not exist then you should discard it.

        P Online
        P Online
        PIEBALDconsult
        wrote on last edited by
        #6

        Correct, such tools can only "address the low-hanging fruit" -- which is not the difficult part of the problem. We don't need help with that, we can do that easily enough ourselves, thank you very much.

        M 1 Reply Last reply
        0
        • L Lost User

          I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A). I see the new wave of code-less programming as a lot of people putting data in, but not being able to get information out.

          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #7

          One way... yes. Straight to the bin :rolleyes: :-D

          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

          1 Reply Last reply
          0
          • L Lost User

            I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A). I see the new wave of code-less programming as a lot of people putting data in, but not being able to get information out.

            It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

            U Offline
            U Offline
            User 13269747
            wrote on last edited by
            #8

            Quote:

            I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A).

            I dunno, the approach that Delphi and C++ builder took was a very maintainable approach; I've never got the feeling that it way a one-way generation with no way for the programmer to change it. Might be something there. At any rate, it's funny that you should post this now; I am reading it as I am in the middle of a personal project which does code generation :-). I'll find this thread and post a link when I am done in about 3 weeks.

            L 1 Reply Last reply
            0
            • P PIEBALDconsult

              Nothing worthwhile can be done automatically.

              U Offline
              U Offline
              User 13269747
              wrote on last edited by
              #9

              Quote:

              Nothing worthwhile can be done automatically.

              I disagree; there are some very unique things that are better done by code generation tools. See Flex and Bison, for example (generates C). Or Antlr (Generates Java, C#, etc). Or CMake (Generates Makefiles). Swig (Generates everything)? On the other side of the spectrum, there are some very stupid things that are automated; ORMs, for example, get you 90% of the way, but that just means that you need to know both the specific ORM syntax and the SQL.

              1 Reply Last reply
              0
              • P PIEBALDconsult

                Correct, such tools can only "address the low-hanging fruit" -- which is not the difficult part of the problem. We don't need help with that, we can do that easily enough ourselves, thank you very much.

                M Offline
                M Offline
                Myron Dombrowski
                wrote on last edited by
                #10

                PIEBALDconsult wrote:

                We don't need help with that, we can do that easily enough ourselves

                So you don’t create subroutines either, right? After all, if you know how to write the code you can do it again easily enough. Bonus: no function call overhead. The value in automating what you call low-hanging fruit is that it saves you time and reduces opportunities for error introduced through human intervention. And every solved problem immediately becomes low-hanging fruit. This is literally why libraries exist.

                J 1 Reply Last reply
                0
                • L Lost User

                  I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A). I see the new wave of code-less programming as a lot of people putting data in, but not being able to get information out.

                  It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                  M Offline
                  M Offline
                  Martin ISDN
                  wrote on last edited by
                  #11

                  looks like in some time a large number of organizations will adopt this way. i don't mean completely abolishing programmers, but rather using automation aided coders. you apply for work in some corporation and they tell you, it is required to use this automated framework that writes the code and you just fill in the blanks if any or make some corrections.

                  L 1 Reply Last reply
                  0
                  • U User 13269747

                    Quote:

                    I got the sense long ago that "form generators" and report generators represented "code-less" programming; which are mostly counter-intuitive and represent a steep learning curve (see Q&A).

                    I dunno, the approach that Delphi and C++ builder took was a very maintainable approach; I've never got the feeling that it way a one-way generation with no way for the programmer to change it. Might be something there. At any rate, it's funny that you should post this now; I am reading it as I am in the middle of a personal project which does code generation :-). I'll find this thread and post a link when I am done in about 3 weeks.

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

                    I've worked with Delphi, Paradox, etc. but it's not a "code-less" tool for a "user". Like cryptocurrency, "code-less" is intended to appeal to those that don't know any better. I think in the context it's being pushed, it implies "no code" and not "less code". (The fine print)

                    It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                    1 Reply Last reply
                    0
                    • M Martin ISDN

                      looks like in some time a large number of organizations will adopt this way. i don't mean completely abolishing programmers, but rather using automation aided coders. you apply for work in some corporation and they tell you, it is required to use this automated framework that writes the code and you just fill in the blanks if any or make some corrections.

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

                      The "coders" can still assemble all the (code-less) widgets in the wrong order. Sort of like they do with language object classes ... but now marketed as user-friendly programming.

                      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                      1 Reply Last reply
                      0
                      • M Myron Dombrowski

                        PIEBALDconsult wrote:

                        We don't need help with that, we can do that easily enough ourselves

                        So you don’t create subroutines either, right? After all, if you know how to write the code you can do it again easily enough. Bonus: no function call overhead. The value in automating what you call low-hanging fruit is that it saves you time and reduces opportunities for error introduced through human intervention. And every solved problem immediately becomes low-hanging fruit. This is literally why libraries exist.

                        J Offline
                        J Offline
                        jschell
                        wrote on last edited by
                        #14

                        Myron Dombrowski wrote:

                        And every solved problem immediately becomes low-hanging fruit.

                        I hear that phrase all the time. Sounds like a wonderland. Where do I sign up? At least for me, I almost never work on any problem that is "low hanging". It often can require a week or more just to figure out where the problem originates and then I need to insure that the fix will not break anything. I have worked on projects where a lot of the the code that needed to be created was easy. And every single time it was brand new code. Often a brand new product. There was zero legacy. Last two cases didn't even have any requirements or even research on what loads the application would need to handle (until I did that research). Not to mention in one case dealing with a 'consultant' that had a really neat demo on how to handle millions of customers despite the fact that if the product was a complete monopoly in the world and was using a single data center it could have never had more than 100k active users.

                        M 1 Reply Last reply
                        0
                        • J jschell

                          Myron Dombrowski wrote:

                          And every solved problem immediately becomes low-hanging fruit.

                          I hear that phrase all the time. Sounds like a wonderland. Where do I sign up? At least for me, I almost never work on any problem that is "low hanging". It often can require a week or more just to figure out where the problem originates and then I need to insure that the fix will not break anything. I have worked on projects where a lot of the the code that needed to be created was easy. And every single time it was brand new code. Often a brand new product. There was zero legacy. Last two cases didn't even have any requirements or even research on what loads the application would need to handle (until I did that research). Not to mention in one case dealing with a 'consultant' that had a really neat demo on how to handle millions of customers despite the fact that if the product was a complete monopoly in the world and was using a single data center it could have never had more than 100k active users.

                          M Offline
                          M Offline
                          Myron Dombrowski
                          wrote on last edited by
                          #15

                          I get the sense that a lot of places - especially smaller ones - haven’t really understood and embraced the benefits of internal code reuse. Ideally you shouldn’t be writing code you’ve already written. Maybe your site isn’t achieving that ideal but it’s a goal you/they should strive for. Happily, where I am, I’m in a position to foster that culture and both the other coders and management are receptive to the idea.

                          J 1 Reply Last reply
                          0
                          • M Myron Dombrowski

                            I get the sense that a lot of places - especially smaller ones - haven’t really understood and embraced the benefits of internal code reuse. Ideally you shouldn’t be writing code you’ve already written. Maybe your site isn’t achieving that ideal but it’s a goal you/they should strive for. Happily, where I am, I’m in a position to foster that culture and both the other coders and management are receptive to the idea.

                            J Offline
                            J Offline
                            jschell
                            wrote on last edited by
                            #16

                            Myron Dombrowski wrote:

                            especially smaller ones - haven’t really understood and embraced the benefits of internal code reuse

                            There is at least one formal study that demonstrated that no one, doesn't matter the size, does that effectively unless they specifically reward the developers for that. For example actually measuring the code reused in new apps that come from existing libraries and using that as a specific factor on performance reviews.

                            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