What code generation tools do you use?

If you use, of course, which one?

  • Mygenation
  • T4
  • UML Conversion Tool (which one exactly)
  • ...
  • All others not listed above, as there are so many
+6
code-generation
source share
13 answers

Do you think my hands? :)

+28
source share

CodeSmith Studio is a lot of great sample templates that work with it.

+3
source share

Eclipse EMF and JET.

+3
source share

"Normal" code-code tools. I use something that many people don’t think about:

  • Windows Forms Designer
  • XAML for WPF user interfaces
  • LINQ to SQL

Other code generation tools that obviously have gen code in the project:

  • ANTLR
  • Custom tools that I wrote, for example, one that turns an Excel spreadsheet ( File.xlsx ) into code ( File.g.cs )
+2
source share

Eclipse Xpand and Xtext , also known as openArchitectureWare .

+2
source share

I try to avoid generating code and generating dynamic functionality at runtime using either C # DynamicMethods or C # Lambda Expressions ... I prefer not to generate code in my solutions ...

+1
source share

I use the following code generators:

  • Visio Enterprise Architect for creating SQL scripts for creating and updating databases
  • NConstruct to create NHibernate mapping files and sometimes to generate the "first draft" of an application
  • Visual Studio for creating user interface design files, project and solution files, etc.
  • Jet Brains Resharper for multiple code snippets, template-based code snippets, etc.

I believe that my performance will be much lower without code generation tools. Code generators usually do not generate errors in the generated code, so this is also a good reason to use them.

+1
source share

I just started playing with Enterprise Architect's code generation features. It's nice to have code created from a model, not a database level, but unfortunately their code generation tool is a bit cumbersome. So far, I have set up my C # template to create bare-bone CSLA classes, which will at least save me a lot of information.

0
source share

Jeeves (discussed in Advanced Perl Programming).

I have a pre-build step in VS 2005 that launches Jeeves to create just-in-time source code for compilation / linking.

0
source share

I often write code generation scripts in Python. In the distant past, I also used Perl. Any language is well suited for the task.

0
source share

DMS Software Reengineering Tool

It can be configured to read any style of specification language and code generation, including optimization of post-code generation.

0
source share

I use to generate code from UML:

To edit / create a GUI:

  • Netbeans IDE
  • MS Visual Studio

For anything else

Python (because I find it the fastest way to hack something together).

0
source share

i use your own jUle generator

http://code.google.com/p/jule/

0
source share

All Articles