The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
129 views

Unit Test code generation

We have a project developed by 2 years with poorly designed architecture. Now a days there are no any unit tests at all. Current version of system works satisfyingly but we vitally need refactoring ...
24
votes
5answers
1k views

Do I check generated code in to source control or not? [duplicate]

I'm developing a .Net application that uses google protocol buffers. Historically the application used the approach, advocated by the protobuf-net team, of decorating the classes with attributes ...
6
votes
4answers
449 views

Why do code generators always use fully-qualified identifiers?

When you look at the code for the Winforms Designer, you see things like this: this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", ... etc. instead of using System.Drawing; ...
4
votes
2answers
130 views

Formatting SQL Based on an AST

I am working on my .NET open source project for generating SQL... Initially, I wrote the project so it spit out exactly one SQL format... ugly. I started using this project in the real world and ...
1
vote
0answers
184 views

Boost Phoenix or Haskell GHC generating C [closed]

I am working on an iOS app that does some number crunching in a variety of areas that would greatly benefit from a functional programming approach, though much of the rest of the application is ...
1
vote
2answers
134 views

Software licensing and code generation

I'm developing a tool that generates code from some various data. The tool itself will be licensed with the MIT license, which strikes a good balance for me in terms of allowing the freedom to use and ...
1
vote
3answers
446 views

Best practices / Design patterns for code generation [closed]

I'm working on a ground up code generator project, but I feel I might be reinventing the wheel. Does anyone know where I can find some best practices guidelines or design patterns for code ...
2
votes
1answer
279 views

Caching strategies for entities and collections

We currently have an application framework in which we automatically cache both entities and collections of entities at the business layer (using .NET cache). So the method GetWidget(int id) checks ...
1
vote
1answer
100 views

Right approach to convert a word document that contains forms in a web app

I would know if someone can suggest a good approach to convert a word document that contains forms in a web app, specifically in an application built with WaveMaker.(but I'm curious also with a ...
2
votes
2answers
474 views

How to create a code generation tool for Visual Studio

I'm working on a tool that will generate some C# code, which I hope could prove useable to a wider audience. This tool will read an assembly and a text file containing some data and then generate a ...
4
votes
5answers
385 views

Is it a good idea to generate code with the help of your IDE? [duplicate]

Possible Duplicate: Should newbies use IDE autocomplete (Intellisense)? Since I moved on to actual IDEs for C++, Java and Python, I noticed they automatically try to complete my code. For ...
0
votes
7answers
751 views

Code Generation and IDE vs writing per Hand

I have been programming for about a year now. Pretty soon I realized that I need a great Tool for writing code and learned Vim. I was happy with C and Ruby and never liked the idea of an IDE. Which ...
70
votes
22answers
28k views

Automatic programming: write code that writes code [closed]

After reading the book The Pragmatic Programmer, one of the arguments I found most interesting was "write code that writes code". I tried searching over the net for some more explanations or articles ...
10
votes
2answers
447 views

How easy should a language development framework be to use?

This is part of a series of questions which focuses on a project called the Abstraction Project, which aims to abstract the concepts used in language design in the form of a framework. Another ...
2
votes
2answers
217 views

Are there any good tools to help implement or enforce the proper equals and hashcode patterns for c#?

A very common bug on my development team is forgetting to, or incorrectly overriding equals and hashcode. While the pattern is simple, there's a lot of boilerplate code that goes into doing this ...

1 2
15 30 50 per page