The tag has no wiki summary.

learn more… | top users | synonyms

11
votes
2answers
930 views

Design decision - why generate <p> without </p>?

tl;dr Some widely used programs, which generate html, will only generate opening paragraph tags, and not closing ones, assuming that the browser will properly close paragraphs. On the face of it, it ...
6
votes
0answers
190 views

A sufficiently general and apt method/language that would set a industry acceptable standard as “meta C” [closed]

In embedded programming (microcontroller oriented, that is) for mechatronic systems (motor control, engine management, etc.) C programming is often complemented by graphical programming languages like ...
3
votes
4answers
354 views

What would the general design for an XSD to C# class converter look like?

I am looking to create a simple code generator to convert XSD definitions to C# classes. This is partly as a learning exercise, but I would also like to get some practical use out of it eventually. ...
11
votes
3answers
958 views

Writing a Compiler Compiler - Insight on Use and Features

This is part of a series of questions which focuses on the sister project to the Abstraction Project, which aims to abstract the concepts used in language design in the form of a framework. The ...
1
vote
4answers
326 views

Unit Test code generation

We have a project that was written over a period of 2 years, but has a poorly designed architecture and not unit tests. The software works well, but we're at the point where we want to refactor some ...
25
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 ...
5
votes
4answers
505 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
408 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 ...
0
votes
0answers
244 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 ...
2
votes
2answers
159 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
717 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 ...
3
votes
1answer
718 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
119 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
1answer
705 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
393 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 ...

15 30 50 per page