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. Code Smith opinions

Code Smith opinions

Scheduled Pinned Locked Moved The Lounge
collaborationquestiondiscussionlearning
27 Posts 20 Posters 32 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.
  • D Douglas Troy

    Mark, My company purchased Code Smith version 4 and 5. CS 4 was mostly stable, but CS 5 flat out broke on the upgrade and would do nothing but throw ADO .NET exceptions, making it completely unusable. There were several patches released, and having uninstalled and reinstall several times with no success, I stopped using the product. "Out of the box" the product itself does little for you, as others have stated, you have to vest heavily in your templates. When I did use it, it was handy for generation of NHibernate mappings, DTOs and base CSLA objects, but our business layer has been done for some time now, and so I have little to no use for that product and do not miss it. BTW - there are free opensource code generation tools available, today, that can generate everything I just mentioned. Visit SourceForge.net to find them.


    :..::. Douglas H. Troy ::..
    Bad Astronomy |VCF|wxWidgets|WTL

    M Offline
    M Offline
    Member 3000349
    wrote on last edited by
    #21

    Hey, I use CS, v5 and have had none of the problems any of the other posters stated... but will always look to get a free product to do what a pay-for-it product does... Do you have a suggestion for any of the CS free open source sourceforge.net tools?

    1 Reply Last reply
    0
    • N Not Active

      I looked at CodeSmith once and thought it was able to produce a lot of code quickly, but the code was mediocre quality at best. An off-shore team is proposing to use it for a project. My opinion is they are using it to mask skills and pretend to deliver high quality work. Anyone else have an opinion? Have you used it?


      I know the language. I've read a book. - _Madmatt

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

      I often see terrible quality applications that are developed using Wizards and Code Generation Tools. It might not be true for everyone but IMHO, most people who use them either don't enjoy coding or have low coding skills, except when it's a project requirement. Wizards and Tools usually takes the control out of the developer and might produce undesirable results, poor performance and/or code hard to maintain. That's why I never use this stuff and code everything by hand. In the end it saves me time from having to do workarounds on code produced by these tools. Of course sometimes I need to use the stuff and I always argue against management on using these tools. If I were you, I would try to talk this out of them. Regards, Fábio

      N 1 Reply Last reply
      0
      • F Fabio Franco

        I often see terrible quality applications that are developed using Wizards and Code Generation Tools. It might not be true for everyone but IMHO, most people who use them either don't enjoy coding or have low coding skills, except when it's a project requirement. Wizards and Tools usually takes the control out of the developer and might produce undesirable results, poor performance and/or code hard to maintain. That's why I never use this stuff and code everything by hand. In the end it saves me time from having to do workarounds on code produced by these tools. Of course sometimes I need to use the stuff and I always argue against management on using these tools. If I were you, I would try to talk this out of them. Regards, Fábio

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #23

        Unfortunately the decision was made, no real choice was given. The sad part is three weeks of effort including fully constructed DAL and partial BL was thrown out because the offshore team wanted to start over with code smith.


        I know the language. I've read a book. - _Madmatt

        F 1 Reply Last reply
        0
        • N Not Active

          Unfortunately the decision was made, no real choice was given. The sad part is three weeks of effort including fully constructed DAL and partial BL was thrown out because the offshore team wanted to start over with code smith.


          I know the language. I've read a book. - _Madmatt

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

          That's sad. This kind of stuff frustrates me when it happens. But then, now that you have to do it this way, expose them the problems you "WILL" be getting along the way so next time this can be avoided.

          1 Reply Last reply
          0
          • N Not Active

            Pete O'Hanlon wrote:

            It's useful for churning out a data layer, and some lower levels of business laye

            There is the rub. They have been provided with fully functional DAL and basic BL.


            I know the language. I've read a book. - _Madmatt

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #25

            Oh dear. Then CodeSmith is virtually useless to them.

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            1 Reply Last reply
            0
            • N Not Active

              I looked at CodeSmith once and thought it was able to produce a lot of code quickly, but the code was mediocre quality at best. An off-shore team is proposing to use it for a project. My opinion is they are using it to mask skills and pretend to deliver high quality work. Anyone else have an opinion? Have you used it?


              I know the language. I've read a book. - _Madmatt

              C Offline
              C Offline
              CoolDadTx
              wrote on last edited by
              #26

              Why bother buying software at all? VS supports text-based templating out of the box via the T4 engine. This is the technology behind how VS generates many of its own designer-specified files. Basically you drop a .tt file into your project and it'll spit out a C# or VB source file that is part of your project. T4 templates are available online and can be really complex. For example I've seen T4 templates to auto-generate metadata classes to use in lieu of string names for INotifyPropertyChange interfaces. I've also seen templates for generating the boiler-plate code for dependency properties in WPF. There are entire websites dedicated to T4 if you're interested. It is by no means the best solution in all cases nor is it necessarily easy to create complex templates but its capabilities are phenomenal especially when you consider that it can execute custom code that works against the IDEs project object model. It really allows you to do things that would otherwise be difficult. Best of all it is free and already integrated into VS.

              N 1 Reply Last reply
              0
              • C CoolDadTx

                Why bother buying software at all? VS supports text-based templating out of the box via the T4 engine. This is the technology behind how VS generates many of its own designer-specified files. Basically you drop a .tt file into your project and it'll spit out a C# or VB source file that is part of your project. T4 templates are available online and can be really complex. For example I've seen T4 templates to auto-generate metadata classes to use in lieu of string names for INotifyPropertyChange interfaces. I've also seen templates for generating the boiler-plate code for dependency properties in WPF. There are entire websites dedicated to T4 if you're interested. It is by no means the best solution in all cases nor is it necessarily easy to create complex templates but its capabilities are phenomenal especially when you consider that it can execute custom code that works against the IDEs project object model. It really allows you to do things that would otherwise be difficult. Best of all it is free and already integrated into VS.

                N Offline
                N Offline
                Not Active
                wrote on last edited by
                #27

                Here is a link for anyone interested http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx[^]


                I know the language. I've read a book. - _Madmatt

                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