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

JSON Query Languages: 5 special purpose editors JSON Query Languages: 5 special purpose editors
What then, is b? What then, is b?
SQLike: A simple editor SQLike: A simple editor
Yet Another BizPlan Generator. Yet Another BizPlan Generator.
HOT GUIDS: A hot or not site for guids HOT GUIDS: A hot or not site for guids
How does life get better? One tiny hack at a time. How does life get better? One tiny hack at a time.
24 things to do, and 100 things *not* to do (yet) for building a MicroISV 24 things to do, and 100 things *not* to do (yet) for building a MicroISV
Venture capital won't kill Jeff Atwood, it will only make him Jeffer. Venture capital won't kill Jeff Atwood, it will only make him Jeffer.
A handy workflow image for newbie mercurial users A handy workflow image for newbie mercurial users
Fractal Feedback, a diversion into recreational programming Fractal Feedback, a diversion into recreational programming
Hump-Jumping: How the Education of Computer Science can be Saved, err, maybe. Hump-Jumping: How the Education of Computer Science can be Saved, err, maybe.
Suggested User Experience Improvements for DiffMerge Suggested User Experience Improvements for DiffMerge
SQL Style Extensions for C# SQL Style Extensions for C#
The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's
Sysi: the ultimate administrators toolkit Sysi: the ultimate administrators toolkit

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator

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
Universal Troubleshooting checklist Universal Troubleshooting Checklist
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Realtime CSS Editor, in a browser RealTime Online CSS Editor
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


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
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink

Aggregated Links

proggit
dzone
hacker news
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
weekly link post

LinkedIn profile
LogEnvy - event logs made sexy
ShuffleText - fuzzy search for .net
PC Smart Buys - Computer Hardware in Australia
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2003 .: privacy

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