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. Patterns...

Patterns...

Scheduled Pinned Locked Moved The Lounge
designregex
20 Posts 17 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 jeron1

    R. Giskard Reventlov wrote:

    "Drunken ugly-donkey style".

    Is that the style that uses the 'five-point-palm exploding heart technique'?

    "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

    P Offline
    P Offline
    Patrice T
    wrote on last edited by
    #5

    jeron1 wrote:

    Is that the style that uses the 'five-point-palm exploding heart technique'?

    Best pattern with the Crane stance :laugh:

    Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

    1 Reply Last reply
    0
    • R R Giskard Reventlov

      I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

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

      Yeah, Pattern-slingers give the rest of us a bad name. This song reminds me of that type...

      The Backblock Shearer lyrics on G'Day from Down Under by Unknown Composer

      I'm only a backblocks shearer boys, as easily can be seen,
      I've shore in most of the famous shed in the plains of the Riverine.
      I've shore in most of the famous sheds, I've seen big tallies done,
      But somehow or other, I don't know why, I never became a gun.

      Hurrah, my boys, my shears are set, I feel both fit and well;
      Tomorrow will find me at my pen, when the gaffer rings the bell,
      With Haydon's patent thumb-guards fixed and both my blades pulled back,
      Tomorrow I go with my siding blow, for a century or the sack.

      I've opened up the windpipe straight, I've opened behind the ear;
      I've practised every possible style, in which a man can shear;
      I've studied all the cuts and drives, of the famous men I've met.
      But I've never succeeded in plastering up, those three little figures yet.

      Hurrah, my boys, my shears are set, I feel both fit and well;
      Tomorrow will find me at my pen, when the gaffer rings the bell,
      With Haydon's patent thumb-guards fixed and both my blades pulled back,
      Tomorrow I go with my siding blow, for a century or the sack.

      The boss walked down the board this morning, I saw him stare at me,
      I'd mastered Moran's great shoulder-cut, as he could plainly see,
      But I've another surprise for him, that'll give his nerves a shock-
      Tomorrow he'll find that I have mastered, Pierce's rang-tang block.

      Hurrah, my boys, my shears are set, I feel both fit and well;
      Tomorrow will find me at my pen, when the gaffer rings the bell,
      With Haydon's patent thumb-guards fixed and both my blades pulled back,
      Tomorrow I go with my siding blow, for a century or the sack.

      And when I succeed, as I hope to do, then I intend to shear
      At the Wagga demonstration, which is held there every year
      And there I'll lower the colours, my boys, the colours of Mitchell & Co.
      Instead of Deeming, you will hear of Widgeegoara Joe!

      Hurrah, my boys, my shears are set, I feel both fit and well;
      Tomorrow will find me at my pen, when the gaffer rings the bell,
      With Haydon's patent thumb-guards fixed and both my blades pulled back,
      Tomorrow I go with my siding blow, for a century or the sack.

      1 Reply Last reply
      0
      • J jeron1

        R. Giskard Reventlov wrote:

        "Drunken ugly-donkey style".

        Is that the style that uses the 'five-point-palm exploding heart technique'?

        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

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

        I pefer the one point foot exploding rear technique. Usually it`s not lethal, triggers high brain activity and helps over the steepest learning curves.

        The language is JavaScript. that of Mordor, which I will not utter here
        This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
        "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

        1 Reply Last reply
        0
        • R R Giskard Reventlov

          I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

          S Offline
          S Offline
          Snesh Prajapati
          wrote on last edited by
          #8

          This is making sense :) ....so keep wandering :thumbsup:

          1 Reply Last reply
          0
          • R R Giskard Reventlov

            I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #9

            1. Design patterns are a response to solving the entanglement nightmare that OOD, while not creating, made more complex. 2. While the formalization of the patterns was in some ways useful, the implementation often results in over-complexity and misapplication, especially by inexperienced programmers. 3. Experienced programmers were already implementing decent ways to disentangle non-OO and OO code, so really, I think very little was gained by formalizing patterns. If anything, it made things worse for experienced developers who had to go in and fix the insanity of bad pattern application by less experienced developers. Marc

            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

            M H D 3 Replies Last reply
            0
            • M Marc Clifton

              1. Design patterns are a response to solving the entanglement nightmare that OOD, while not creating, made more complex. 2. While the formalization of the patterns was in some ways useful, the implementation often results in over-complexity and misapplication, especially by inexperienced programmers. 3. Experienced programmers were already implementing decent ways to disentangle non-OO and OO code, so really, I think very little was gained by formalizing patterns. If anything, it made things worse for experienced developers who had to go in and fix the insanity of bad pattern application by less experienced developers. Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #10

              I can relate to 2 & 3, we let a senior guy loose using MVC on one of our internal apps, bloody thing is unsupportable, he used a weird collection of patterns and achieved a brilliant form of obfuscation. I hope nobody wants changes before we get it rewritten!

              Never underestimate the power of human stupidity RAH

              1 Reply Last reply
              0
              • M Marc Clifton

                1. Design patterns are a response to solving the entanglement nightmare that OOD, while not creating, made more complex. 2. While the formalization of the patterns was in some ways useful, the implementation often results in over-complexity and misapplication, especially by inexperienced programmers. 3. Experienced programmers were already implementing decent ways to disentangle non-OO and OO code, so really, I think very little was gained by formalizing patterns. If anything, it made things worse for experienced developers who had to go in and fix the insanity of bad pattern application by less experienced developers. Marc

                Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                H Offline
                H Offline
                H Brydon
                wrote on last edited by
                #11

                What an excellent analysis (+5). I am an old dog learning new tricks. When Design patterns were first revealed a decade ago, I didn't embrace the hype surrounding them that others were so eager to display... but I tried to give them a chance and accept them where appropriate. Your comments describe perfectly what I experienced and struggled to encapsulate.

                I'm retired. There's a nap for that... - Harvey

                W 1 Reply Last reply
                0
                • R R Giskard Reventlov

                  I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

                  S Offline
                  S Offline
                  Slacker007
                  wrote on last edited by
                  #12

                  R. Giskard Reventlov wrote:

                  I find it hard to take design patterns seriously

                  :thumbsup:

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    1. Design patterns are a response to solving the entanglement nightmare that OOD, while not creating, made more complex. 2. While the formalization of the patterns was in some ways useful, the implementation often results in over-complexity and misapplication, especially by inexperienced programmers. 3. Experienced programmers were already implementing decent ways to disentangle non-OO and OO code, so really, I think very little was gained by formalizing patterns. If anything, it made things worse for experienced developers who had to go in and fix the insanity of bad pattern application by less experienced developers. Marc

                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                    D Offline
                    D Offline
                    den2k88
                    wrote on last edited by
                    #13

                    First your programmer's oath, then this. I can't fill my sig or bio with all of your posts! :D I can relate to #2 and #3, we now have a lot of perfectly obfuscated code full of guru tricks that simply does not what it was supposed to do. Secretly my developing team isn't using that code - since 15 years and nobody noticed.

                    GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey "just eat it, eat it"."They're out to mold, better eat while you can" -- HobbyProggy

                    1 Reply Last reply
                    0
                    • R R Giskard Reventlov

                      I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

                      K Offline
                      K Offline
                      Kirk 10389821
                      wrote on last edited by
                      #14

                      Wow, after all these years, the "pattern" was the BAD names! (Light goes on) That's what you get for taking coding advice from a Gang! Which also explains why the term "Singleton" has an almost blatant "idiot" sound. They like gangs. They hate individuals they are required to rely on.

                      H 1 Reply Last reply
                      0
                      • R R Giskard Reventlov

                        I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

                        A Offline
                        A Offline
                        agolddog
                        wrote on last edited by
                        #15

                        It does seem as if many developers use patterns as an excuse to create a monument to their own ego, rather than actually solving the problem at hand. It's a tough thing though, finding that balance of enough flexibility to make things extensible, without making it so complex that maintenance becomes an overwhelmingly costly proposal.

                        1 Reply Last reply
                        0
                        • H H Brydon

                          What an excellent analysis (+5). I am an old dog learning new tricks. When Design patterns were first revealed a decade ago, I didn't embrace the hype surrounding them that others were so eager to display... but I tried to give them a chance and accept them where appropriate. Your comments describe perfectly what I experienced and struggled to encapsulate.

                          I'm retired. There's a nap for that... - Harvey

                          W Offline
                          W Offline
                          WildlingCoder
                          wrote on last edited by
                          #16

                          It always seemed to me that Patterns were a sort of matryoshka doll attempt to fix that OO design mixes data and code, and not in the functional, 'the code is the data,' sort of way. And I'm not too big on premature encapsulation, either. As much as I am fascinated by Conway's Life, I wouldn't use gliders as a data transmission mechanism.

                          1 Reply Last reply
                          0
                          • R R Giskard Reventlov

                            I find it hard to take design patterns seriously when they have names like "The Revealing Module Pattern". Makes me think of those badly made seventies kung-fu films where someone boasts that he can do the "Drunken ugly-donkey style". Ignore me. It's Friday and my mind is wandering...

                            R Offline
                            R Offline
                            Robert g Blair
                            wrote on last edited by
                            #17

                            Patterns are, like many other IT fads, an attempt to 'make it easy/more predictable/more maintainable' for noobie developers. Or stoopid developers. Surprising lot of these apparently. It is somewhat analogous to a "paint-by-numbers" system. And all the hide-bound, bureaucratic jobsworths out there in corporate developer-land loved it! My claim: show me a developer who swears by patterns, and would not let go of them if asked by Jesus, then I will show you: (a) a developer of below (developer) average intelligence (b) a person who fears original thought (c) a "real" case of "imposter syndrome". Ie, in their case they really are posing as skilled developers, and they are not.

                            R 1 Reply Last reply
                            0
                            • R Robert g Blair

                              Patterns are, like many other IT fads, an attempt to 'make it easy/more predictable/more maintainable' for noobie developers. Or stoopid developers. Surprising lot of these apparently. It is somewhat analogous to a "paint-by-numbers" system. And all the hide-bound, bureaucratic jobsworths out there in corporate developer-land loved it! My claim: show me a developer who swears by patterns, and would not let go of them if asked by Jesus, then I will show you: (a) a developer of below (developer) average intelligence (b) a person who fears original thought (c) a "real" case of "imposter syndrome". Ie, in their case they really are posing as skilled developers, and they are not.

                              R Offline
                              R Offline
                              R Giskard Reventlov
                              wrote on last edited by
                              #18

                              Have to agree with everything. I wrote this a couple of years back:

                              Quote:

                              A slavish adherence to the fool's gold that can be design patterns may lead you down the path of over-engineered solutions that are hard to maintain and build upon. Whilst patterns, in a generalized way, are good for thinking about how to address a known or recurring problem they are not a one-size-fits-all solution to whatever you are trying to model or solve. They have a place and a part to play, just don't let them become the raison d'être of your solution. I say that because I've seen it. Experience trumps exuberance.

                              1 Reply Last reply
                              0
                              • K Kirk 10389821

                                Wow, after all these years, the "pattern" was the BAD names! (Light goes on) That's what you get for taking coding advice from a Gang! Which also explains why the term "Singleton" has an almost blatant "idiot" sound. They like gangs. They hate individuals they are required to rely on.

                                H Offline
                                H Offline
                                H Brydon
                                wrote on last edited by
                                #19

                                Kirk 10389821 wrote:

                                Which also explains why the term "Singleton"...

                                I've been around for a while (I got my CS degree in 1978). An interesting programming "technique" called "The singleton" was described to me by one of my professors circa 1975. This was long before OO technology was thought of and likewise long before patterns were formalized by the gang. The patterns guys stole the concept and described it as their own.

                                I'm retired. There's a nap for that... - Harvey

                                K 1 Reply Last reply
                                0
                                • H H Brydon

                                  Kirk 10389821 wrote:

                                  Which also explains why the term "Singleton"...

                                  I've been around for a while (I got my CS degree in 1978). An interesting programming "technique" called "The singleton" was described to me by one of my professors circa 1975. This was long before OO technology was thought of and likewise long before patterns were formalized by the gang. The patterns guys stole the concept and described it as their own.

                                  I'm retired. There's a nap for that... - Harvey

                                  K Offline
                                  K Offline
                                  Kirk 10389821
                                  wrote on last edited by
                                  #20

                                  LOL, the GoF did not invent ANY of the patterns (IMO), what they did was codified the concepts of standard objects and their integrations and responsibilities. When I went to college some 15 years after you, the hole grail was finding a way to build software like they build computer chips. Well known pieces/components that slide together. Making the building of software so much easier. Even then, I realized. Wait. How much does it cost to make the FIRST CHIP? (The rest are basically free). Is this the pattern (pun intended) that we want to follow? And it is a lot of UNCHANGEABLE fixed functionality. Anyways, patterns/refactoring and permanent tests are a nice step in the right direction, but their overuse is just as bad as their under-use. I have no interest in testing with 6,000 mock objects, and believing that those passed tests means it will work in production... Again, we were making light of the situation. They were like any other gang! Patterns are the drug they push, and they have to protect their brand, and show off their successful followers.

                                  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