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. I hate "KISS"

I hate "KISS"

Scheduled Pinned Locked Moved The Lounge
javascripthtmlcsharpwpfwcf
58 Posts 28 Posters 27 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.
  • S Super Lloyd

    Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

    My programming get away... The Blog...[](</x-turndown)

    N Offline
    N Offline
    newton saber
    wrote on last edited by
    #11

    Allow me to explain, THE PERCEPTION PROBLEM, which has to do with the SIZE OF A PROJECT. Back around 2000 - 2001 I worked with 3 other programmers who were Visual Basic 4.x,5.x,6.x devs. VB didn't support true OOP principles. Well, along came ASP.NET and we had a project which required a navbar which would allow the user to nav back and forth through the numerous forms so a user could enter his/her data in a structured way. This nav bar would also have the ability to put the form into edit mode -- when the user first viewed it the page was in read-only mode. Roots of the Perception Problem At first the project was small and the user was only going to have to navigate about 4 pages. So those VB Devs said, okay, we just generate some HTML which we copy/paste to the top of every page. No big deal. I said, "Terrible idea. it'll break and drive you crazy. ASP.Net lets you turn that navbar into a control so you can write the code one time. "Uh, our way is easier," they said. "I mean, hey, we copy and then we paste." I went ahead and implemented mhy navbar as a UserCtrl and placed it on the few pages I had to develop. It worked well and when there was a problem I went to the NavBar class files and fixed the code. Scope Creep: The Monster Meanwhile, the project grew -- major scope creep -- because the users wanted more forms. Now those guys were copy/pasting to something like 30 pages. The navigation had to know which page was next, so they had these hard-coded values which indicated the next page and if there was a next page and all that. So they are typing these values in to these pages. The Deployment Explosion They finally deployed the beta to the internal users and it blew up every time they clicked the navbar to set edit mode or go to the next page. It got lost in the form flow. Total failure and the internal users think our group is filled with idiots -- kind of was. The Big Fix - One OOP Control The Project Manager came back completely dejected. I said, "Hey, I can put my control on there and those pages will work in a couple of hours." "Sure, right. Go ahead and try it," they said. Ripped their confusing copy/paste navbar out, replaced it with the UserCtrl and tweaked a few things and it worked great. Summary of Problem They probably could've gotten away with copy/past development if it had only been three pages, but as soon as there were more pages it became expoenentially more difficult to fix their problems because they had to go t

    J C 2 Replies Last reply
    0
    • S Super Lloyd

      Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

      My programming get away... The Blog...[](</x-turndown)

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #12

      I like kissing, but I digress. ;P (with the tongue!!! OH_WAIT not KSS)

      I'd rather be phishing!

      1 Reply Last reply
      0
      • N newton saber

        Allow me to explain, THE PERCEPTION PROBLEM, which has to do with the SIZE OF A PROJECT. Back around 2000 - 2001 I worked with 3 other programmers who were Visual Basic 4.x,5.x,6.x devs. VB didn't support true OOP principles. Well, along came ASP.NET and we had a project which required a navbar which would allow the user to nav back and forth through the numerous forms so a user could enter his/her data in a structured way. This nav bar would also have the ability to put the form into edit mode -- when the user first viewed it the page was in read-only mode. Roots of the Perception Problem At first the project was small and the user was only going to have to navigate about 4 pages. So those VB Devs said, okay, we just generate some HTML which we copy/paste to the top of every page. No big deal. I said, "Terrible idea. it'll break and drive you crazy. ASP.Net lets you turn that navbar into a control so you can write the code one time. "Uh, our way is easier," they said. "I mean, hey, we copy and then we paste." I went ahead and implemented mhy navbar as a UserCtrl and placed it on the few pages I had to develop. It worked well and when there was a problem I went to the NavBar class files and fixed the code. Scope Creep: The Monster Meanwhile, the project grew -- major scope creep -- because the users wanted more forms. Now those guys were copy/pasting to something like 30 pages. The navigation had to know which page was next, so they had these hard-coded values which indicated the next page and if there was a next page and all that. So they are typing these values in to these pages. The Deployment Explosion They finally deployed the beta to the internal users and it blew up every time they clicked the navbar to set edit mode or go to the next page. It got lost in the form flow. Total failure and the internal users think our group is filled with idiots -- kind of was. The Big Fix - One OOP Control The Project Manager came back completely dejected. I said, "Hey, I can put my control on there and those pages will work in a couple of hours." "Sure, right. Go ahead and try it," they said. Ripped their confusing copy/paste navbar out, replaced it with the UserCtrl and tweaked a few things and it worked great. Summary of Problem They probably could've gotten away with copy/past development if it had only been three pages, but as soon as there were more pages it became expoenentially more difficult to fix their problems because they had to go t

        J Offline
        J Offline
        JimmyRopes
        wrote on last edited by
        #13

        newton.saber wrote:

        So those VB Devs said

        Therein lies the problem. :-D

        Once you lose your pride the rest is easy.
        The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
        I'm on-line therefore I am. JimmyRopes

        N 1 Reply Last reply
        0
        • J JimmyRopes

          newton.saber wrote:

          So those VB Devs said

          Therein lies the problem. :-D

          Once you lose your pride the rest is easy.
          The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
          I'm on-line therefore I am. JimmyRopes

          N Offline
          N Offline
          newton saber
          wrote on last edited by
          #14

          Yep, you know them (vb devs)... :)

          1 Reply Last reply
          0
          • S Super Lloyd

            Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

            My programming get away... The Blog...[](</x-turndown)

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

            "KISS" is in the eye of the beholder.

            You'll never get very far if all you do is follow instructions.

            1 Reply Last reply
            0
            • N newton saber

              Allow me to explain, THE PERCEPTION PROBLEM, which has to do with the SIZE OF A PROJECT. Back around 2000 - 2001 I worked with 3 other programmers who were Visual Basic 4.x,5.x,6.x devs. VB didn't support true OOP principles. Well, along came ASP.NET and we had a project which required a navbar which would allow the user to nav back and forth through the numerous forms so a user could enter his/her data in a structured way. This nav bar would also have the ability to put the form into edit mode -- when the user first viewed it the page was in read-only mode. Roots of the Perception Problem At first the project was small and the user was only going to have to navigate about 4 pages. So those VB Devs said, okay, we just generate some HTML which we copy/paste to the top of every page. No big deal. I said, "Terrible idea. it'll break and drive you crazy. ASP.Net lets you turn that navbar into a control so you can write the code one time. "Uh, our way is easier," they said. "I mean, hey, we copy and then we paste." I went ahead and implemented mhy navbar as a UserCtrl and placed it on the few pages I had to develop. It worked well and when there was a problem I went to the NavBar class files and fixed the code. Scope Creep: The Monster Meanwhile, the project grew -- major scope creep -- because the users wanted more forms. Now those guys were copy/pasting to something like 30 pages. The navigation had to know which page was next, so they had these hard-coded values which indicated the next page and if there was a next page and all that. So they are typing these values in to these pages. The Deployment Explosion They finally deployed the beta to the internal users and it blew up every time they clicked the navbar to set edit mode or go to the next page. It got lost in the form flow. Total failure and the internal users think our group is filled with idiots -- kind of was. The Big Fix - One OOP Control The Project Manager came back completely dejected. I said, "Hey, I can put my control on there and those pages will work in a couple of hours." "Sure, right. Go ahead and try it," they said. Ripped their confusing copy/paste navbar out, replaced it with the UserCtrl and tweaked a few things and it worked great. Summary of Problem They probably could've gotten away with copy/past development if it had only been three pages, but as soon as there were more pages it became expoenentially more difficult to fix their problems because they had to go t

              C Offline
              C Offline
              Casey Sheridan
              wrote on last edited by
              #16

              Great example; thanks for sharing! :thumbsup:

              1 Reply Last reply
              0
              • S Super Lloyd

                Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                My programming get away... The Blog...[](</x-turndown)

                P Offline
                P Offline
                phil o
                wrote on last edited by
                #17

                KISS is not a bad concept in itself, at all. Problem is that morons often erect it to a dogma to hide their own limits. Don't bother about them; anyway you have your boss' approval. Courage! :)

                There are two kinds of people in the world: those who separate humankind in two distinct categories, and those who don't. "I have two hobbies: breasts." DSK

                1 Reply Last reply
                0
                • J JimmyRopes

                  Super Lloyd wrote:

                  [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for over engineering when I was using these strange things)

                  I feel for you. We had dork who learned to code 10 years before and that was the only technology he was comfortable with. He still wanted to use ODBC and hated stored procedures. Needless to say we didn't get on very well.

                  Super Lloyd wrote:

                  [EDIT2] I guess I am looking for a nice repartee to use in the conversation.

                  I once had a discussion (I use the term lightly) with this dork. Him - Blah, blah, blah. Me - I disagree because ... Him - Blah. blah, blah. Me - I disagree because ... Him - Blah, blah, blah. Me - I would agree with you about that but then we both would be wrong. Him - Storming out of the room saying I strongly disagree. Me and everyone in the room laughing. :-D

                  Once you lose your pride the rest is easy.
                  The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                  I'm on-line therefore I am. JimmyRopes

                  S Offline
                  S Offline
                  SoMad
                  wrote on last edited by
                  #18

                  JimmyRopes wrote:

                  Me - I would agree with you about that but then we both would be wrong.

                  :thumbsup: That's a keeper :cool:

                  "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                  J 1 Reply Last reply
                  0
                  • S Super Lloyd

                    Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                    My programming get away... The Blog...[](</x-turndown)

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

                    Having been on both sides of this coin, I can sympathise with both parties. I've introduced things like knockout and been met with resentment, but I've also been in the situation where devs have introduced stuff for no better reason than 'its new and interesting' or 'I've always done it like that'. My advice, FWIW, is to follow these steps: 0. Be prepared to admit that you are wrong and they are right. Of course, it's not the case, but be prepared. 1. Put aside some time for you to train them in the things you want to use - with the caveat that this may be wasted time if you all decide not to use it. 2. Out aside some time for them to train you in their alternate techniques - with the same caveat. 3. All sit together and prepare a list of pros and cons for each. 4. Decide which has the better score in the pros vs cons lists 5. All agree on the outcome, be happy, and get on with it. It helps if you have a relatively non-technical person involved in the process, as they can ask the dumb questions and make an independent assessment.

                    S 1 Reply Last reply
                    0
                    • J JimmyRopes

                      Super Lloyd wrote:

                      I hate "KISS". Because this is so... subjective!!!

                      I worked on a project like that once. We had to code to the least common denominator, a lady with a computer science degree that couldn't code. It was dehumanizing and drained the fun out of life one day at a time, but at least others could understand and maintain the code. Since I was a contractor I didn't have a dog in the fight and went along with it because otherwise I would be the one maintaining the code and the others would be playing on-line games or going to shopping sites while I worked. The final result was an abomination but it marginally worked. We had more JavaScript than I thought possible, at least 15 files with thousands of lines of code in each. Maintenance was a nightmare and every change just added to the mess. Eventually I left it all behind and it is now someone else's headache. If your manager is happy with knockout code just do it and let him/her fight with the maintenance wankers.

                      Once you lose your pride the rest is easy.
                      The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                      I'm on-line therefore I am. JimmyRopes

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

                      Ha, the app I work on has over 70 javascript files. :doh:

                      Curvature of the Mind now with 3D

                      J 1 Reply Last reply
                      0
                      • S Super Lloyd

                        Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                        My programming get away... The Blog...[](</x-turndown)

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

                        What I find more troubling is that you have a maintenance team and a new development team. Also, you aren't coordinating. Knockout is a big change. What kind of training have you done to make sure the entire team is up to speed with it? When I made the choice to use angular, I went over all current major frameworks at the time and we debated the pros and cons before we all thought angular was a good choice. Then we built some prototypes with it just to make sure.

                        Curvature of the Mind now with 3D

                        S 1 Reply Last reply
                        0
                        • S SoMad

                          JimmyRopes wrote:

                          Me - I would agree with you about that but then we both would be wrong.

                          :thumbsup: That's a keeper :cool:

                          "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                          J Offline
                          J Offline
                          JimmyRopes
                          wrote on last edited by
                          #22

                          It stopped this guy in his tracks which was quite an accomplishment considering the size of his ego. :-D

                          Once you lose your pride the rest is easy.
                          The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                          I'm on-line therefore I am. JimmyRopes

                          1 Reply Last reply
                          0
                          • A Andy Brummer

                            Ha, the app I work on has over 70 javascript files. :doh:

                            Curvature of the Mind now with 3D

                            J Offline
                            J Offline
                            JimmyRopes
                            wrote on last edited by
                            #23

                            Andy Brummer wrote:

                            Ha, the app I work on has over 70 javascript files.

                            Sorry for your luck. :suss:

                            Once you lose your pride the rest is easy.
                            The report of my death was an exaggeration - Mark Twain Simply Elegant Designs JimmyRopes Designs
                            I'm on-line therefore I am. JimmyRopes

                            1 Reply Last reply
                            0
                            • L Lost User

                              Having been on both sides of this coin, I can sympathise with both parties. I've introduced things like knockout and been met with resentment, but I've also been in the situation where devs have introduced stuff for no better reason than 'its new and interesting' or 'I've always done it like that'. My advice, FWIW, is to follow these steps: 0. Be prepared to admit that you are wrong and they are right. Of course, it's not the case, but be prepared. 1. Put aside some time for you to train them in the things you want to use - with the caveat that this may be wasted time if you all decide not to use it. 2. Out aside some time for them to train you in their alternate techniques - with the same caveat. 3. All sit together and prepare a list of pros and cons for each. 4. Decide which has the better score in the pros vs cons lists 5. All agree on the outcome, be happy, and get on with it. It helps if you have a relatively non-technical person involved in the process, as they can ask the dumb questions and make an independent assessment.

                              S Offline
                              S Offline
                              Super Lloyd
                              wrote on last edited by
                              #24

                              Ho, I can see you are experienced with that kind of situation! Well, I will certainly keep that in mind for next time! :) At this time it is too late, there was no sensible discussion possible with the other party! The most agreeing exchange I had was: ME: "let's refactor it together the way you like", them: "I have no time for that"...

                              My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                              1 Reply Last reply
                              0
                              • A Andy Brummer

                                What I find more troubling is that you have a maintenance team and a new development team. Also, you aren't coordinating. Knockout is a big change. What kind of training have you done to make sure the entire team is up to speed with it? When I made the choice to use angular, I went over all current major frameworks at the time and we debated the pros and cons before we all thought angular was a good choice. Then we built some prototypes with it just to make sure.

                                Curvature of the Mind now with 3D

                                S Offline
                                S Offline
                                Super Lloyd
                                wrote on last edited by
                                #25

                                Maybe I was cavalier indeed. I didn't like web development at all, kind of sad doing it. Then I discovered knockout and that I could make quite advanced web app with little effort. Then the customer wanted a new application and we had time to build a prototype. The customer loved my prototype a lot and were quite impressed with it! But some developer hate the technology choice I made. Or the one I didn't make. As far as I can see I can only humanely do these kind of application with knockout or angular (or my own big library). But they hate either choices. And the customer really like my prototype! So my choices was: 1. continue doing spaghetti giant jQeury even handling and DOM manipulation with primitive table CRUD operation 2. sell a (more pleasant to me and more user pleasing) new concept, which displease some other developer I choose 2, maybe I should accept the consequences... but I am ... frustrated... Isn't it part of developer job to keep with the time? Isn't that so much easier when handled a working code base on a platter (as opposed to have to implement it on your own)?!

                                My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                                A 1 Reply Last reply
                                0
                                • S Super Lloyd

                                  Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                                  My programming get away... The Blog...[](</x-turndown)

                                  M Offline
                                  M Offline
                                  Mark_Wallace
                                  wrote on last edited by
                                  #26

                                  So offer to do a training session, where you can show people how to use ko statements, and show them how much easier their lives will be with them.

                                  I wanna be a eunuchs developer! Pass me a bread knife!

                                  S 1 Reply Last reply
                                  0
                                  • M Mark_Wallace

                                    So offer to do a training session, where you can show people how to use ko statements, and show them how much easier their lives will be with them.

                                    I wanna be a eunuchs developer! Pass me a bread knife!

                                    S Offline
                                    S Offline
                                    Super Lloyd
                                    wrote on last edited by
                                    #27

                                    The PM suggested that... I dunno what kind of communication took place between the PM and them. Dunno what they make of this idea... :-O I don't think that's going to be any relevant for them for a few more months.. (until we give them the application, which is not quite ready now, by a long shot...)

                                    My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                                    1 Reply Last reply
                                    0
                                    • S Super Lloyd

                                      Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                                      My programming get away... The Blog...[](</x-turndown)

                                      L Offline
                                      L Offline
                                      Leo Muller Rap
                                      wrote on last edited by
                                      #28

                                      I love the KISS (Keep it Stupid Simple) approach. I find that for each hour of new development, in the two years after that, it will generate at least another 8 hours of maintenance: changes, additions, optimization, troubleshooting and bug fixes. Of course I don't know your case specific scenario, and replacing 20 lines with one line that can be much better and easier to maintain than the 20 lines. But if you can fall on many aspects: - Is it easy to understand for someone else than the author? (or even for yourself 3 months later?) - does it require - yet another technology - that may disappear or get replaced by something better in 6 months? You don't want to get to a project that before someone can start to work on it they have to understand seven different components, techniques, conventions or technologies. But then again, kiss is subjective.

                                      1 Reply Last reply
                                      0
                                      • S Super Lloyd

                                        Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                                        My programming get away... The Blog...[](</x-turndown)

                                        M Offline
                                        M Offline
                                        Marc Anthony Taylor
                                        wrote on last edited by
                                        #29

                                        The thing is "simple" is relative. Depending on your skill level anything can be simple. Try and explain why it is more efficient and make sure that it is clear through the code what it actually does. The code has to be maintainable and work. That's it.

                                        1 Reply Last reply
                                        0
                                        • S Super Lloyd

                                          Because this is so... subjective!!! Right now at work some people hates me because I routinely replace 20 lines of jQuery (allegedly simple) with 1 Knockout statement (allegedly complicated). [Edit] to make it clear, I am NOT rewriting any existing code. I am talking of new code, which I prefer to write with a short and side effect free knockout statement instead of the (usual) pile of jQuery event and DOM creation method. Hey it's true, they look at it dumbfounded and say "it's unmaintainable" so the average programmer can't fix it, indeed! Now I am in a quandary, I convinced the client to implement a quite dynamic almost SPA couple of pages, with almost 1000 lines of TypeScript and 600 lines of HTML and knockout (with binding and template). To make it "more simple" I will have to balloon the code size to I dunno how much and spend zillion of hours debugging jQuery event handling and DOM creation spaghetti!!! :mad: (To the point, I don't think I can make it with just jQuery, I have to give up.... it's more dynamic than Facebook for god sake! maybe I exaggerate, but I like to think so! ;P) Well this is the maintenance team which complains about it, my project manager says to forget about it and continue using knockout when appropriate (which my team mates are slowly starting to love too) Now I get sprouted some vague insult... awful code.. you are so selfish and pretentious... why can't you follow KISS and SOLID principle insult every now and then! Very tiresome! While there is no more deaf than those that don't want to listen and I know it's a lost cause.. I still wonder about it... What I sell to the customer, is not just humanely doable in a reasonable time frame with just jQuery. Yet using Knockout I make it... "excessively complex" for some... (other developer) Mmmm... just wondering what to think of it... [EDIT2] I guess I am looking for a nice repartee to use in the conversation. Which is both convincing and easy to understand! ;P Something like they sprout me SOLID, KISS, I coolly reply this is way more KISS than your KISS version! (which I can't say, because their mere ignorance is proof that my code is not KISS :~ ) [Edit3] To give you an illustration, some people were confused when I started to use lambda expression... (or maybe generic?) (I think I started to get a bad rep for overengineering when I was using these strange things)

                                          My programming get away... The Blog...[](</x-turndown)

                                          J Offline
                                          J Offline
                                          Jonas Hammarberg
                                          wrote on last edited by
                                          #30

                                          I would suggest that you inform your maintenance team about the subtle but crucial difference between "simple" and "simplistic" :cool:

                                          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