Sexy Tool for Fast, Active Coding -- Any Language!
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

Sexy Tool for Fast, Active Coding -- Any Language!

The World's 2nd Simplest Code Generator

A lot of people are having fun using 'The World's Simplest Code Generator' -- so i've updated it and improved it.

Meet "The World's 2nd Simplest Code Generator".

Like the original, it's online, takes one minute to learn, and has a million uses.

This tool is my constant companion on all my coding adventures.

Like those miraculous kitchen devices you see advertised on TV, this baby can cut, slice, dice, julianne, froth, beat, whip...

It's extremely violent, really. Use it for all your "Micro-Code Generation" needs.

The W2SCG has built-in patterns to use for some simple things (like C# properties and VB.net properties). If you invent any useful new patterns, leave a comment and I'll embed them in the tool. I'm particularly keen to see some Java, Php, C++ and SQL patterns.

The difficult thing when developing this was keeping it **simple**. The temptation to pile in a lot of features was huge! (I cut over thirty features out!) The best of these deferred features will be released in subsequent versions.

Expect to see "The World's 3rd Simplest Code Generator" soon.

The World's 2nd Simplest Code Generator



'Richard Rodger' on Fri, 08 Jul 2005 09:18:00 GMT, sez:

Neat!

But, in fairness, Emacs!!!

(sorry, couldn't resist...)



'secretGeek' on Fri, 08 Jul 2005 12:18:48 GMT, sez:

but richard -- what about Ricebridge, CSV manager, or jostraca??

thanks for dropping by! now how about providing a few templates??



'Richard Rodger' on Sat, 09 Jul 2005 15:42:55 GMT, sez:

ah sure you 'll have to get me over to the dark side (.Net) first...

(only kidding :) in fact I have tried porting both of those apps to .Net but ran into some nasty gotchas with Java IO, if I recall)

I'll see if I can find some suitable templates for you...



'blameMike' on Mon, 11 Jul 2005 12:22:13 GMT, sez:

Hey SG,

The World's 2nd Simplest Code Generator doesn't exactly render properly in FireFox. The Calculate button is almost invisible.

In IE however, it is code generation bliss.



'Richard Rodger' on Tue, 12 Jul 2005 09:33:28 GMT, sez:

Alrighty then, here's a simple Java template for creating bean properties...

data:
int,Foo,0
String,Bar,""

template:
private $1 i$2 = $3;

public $1 get$2() {
return i$2;
}

public void set$2( $1 p$2 ) {
i$2 = p$2;
}



'secretGeek' on Fri, 15 Jul 2005 21:56:00 GMT, sez:

thanks Richard! -- i'll put that in the list

cheers Mike -- i'll fix the firefox issues as soon as i get a chance



'Houghtelin' on Tue, 09 Aug 2005 12:20:06 GMT, sez:

This thing saved me a crapload of time last night. An insurance client of mine handed me a disk with a text file containing all the information he wanted on the computer. copy-paste, 10 seconds later your tool made an array for me. done.

40 more lines of code & the operation was complete.

Thanks man!



'http://' on Wed, 10 Aug 2005 06:11:44 GMT, sez:

Hey you just saved me a ton of time too -- so thanks!

It would have been been even better if there was a special substitution for row number so I could have automatically numbered the output.

Thanks!



'secretGeek' on Tue, 20 Sep 2005 04:06:59 GMT, sez:

>special substitution for row number so I
>could have automatically numbered the output

this feature is coming in the next version.



'RobWilliams' on Mon, 31 Oct 2005 19:10:20 GMT, sez:

Haven't had a reason to play with this until now as i've been working on a pregenned codebase (and a nasty one at that...) but this is great for designing templates

How about some sort of casing token for those of us who are anal about our property name casing?



'secretGeek' on Mon, 31 Oct 2005 22:18:22 GMT, sez:

what are you thinking Rob?

I could put in a commands that convert a given $1 into uppercase, or lowercase...
as in Ucase($1), LCase($1)... that kind of thing?

Or something more complex... SentenceCase($1)... Dispascalize($2)...

what's the idea?



Comments disabled due to spam

Articles

Do they store the code for TFS in TFS? Do they store the code for TFS in TFS?
Sudden TimeSnapper Discount! Sudden TimeSnapper Discount!
How Can Microsoft Beat Google? How Can Microsoft Beat Google?
TimeSnapper 3.1: Attack of the the Red/Green Stripes TimeSnapper 3.1: Attack of the the Red/Green Stripes
21 tools used in our MicroISV 21 tools used in our MicroISV
Lost Treasures of the DOS World: tree! Lost Treasures of the DOS World: tree!
The Virtual Machine Machine and the Virtual Virtual Machine The Virtual Machine Machine and the Virtual Virtual Machine
Should Linq To Sql Go Should Linq To Sql Go "Open Source"?
Redux: New Synchronisation Idea Overlooked By Microsoft Redux: New Synchronisation Idea Overlooked By Microsoft
New Synchronisation Idea Overlooked By Microsoft Live team New Synchronisation Idea Overlooked By Microsoft Live team
Visual Studio UX Taskforce, Office UX Taskforce... etc. Visual Studio UX Taskforce, Office UX Taskforce... etc.
How to be Jeff Atwood How to be Jeff Atwood

Archives .: secretGeek :: Complete Archives :.
25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Top 10 SecretGeek articles Top 10 SecretGeek articles

Downloads

TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.1: instant productivity profiles

ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Next Action NextAction
Managing the top of your mind



[powered by Google] 


Thai Erawan, Brisbane Restaurant, delicious thai food in paddington Thai Erawan, Brisbane Restaurant
World's Simplest Code Generator (html edition) World's Simplest Code Generator
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker
How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Joel Pobar
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2003 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2003 .: privacy