The Artima Developer Community
Sponsored Link

Java Buzz Forum
Lots of One-Shot Code Generation

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
Lots of One-Shot Code Generation Posted: Oct 29, 2004 5:40 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: Lots of One-Shot Code Generation
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

The last few days I have been doing a lot of sql, sql*loader, and pl/sql work; and have been trying out TextMate. It hasn't replaced vim for me, but is nice for projects, and nice for handling short one-shot scripts. I keep trying to use IDEA key bindings. D'oh.

The point isn't TextMate though, it is the pattern of behavior I found myself in. As going from doc -> sql -> control file ( cycle back to doc ) is very repetitive I found myself finally just pulling out info and firing off ruby scripts to generate lots of java, sql, and control files. This isn't anything new, not by a long shot. The interesting part was the frequency I was firing off code generation scripts for one-shot c&p, and how little time it took. Ruby and erb kick butt, and combined with an editor built around playing with scripts, it was really efficient.

In the past most of my code generation has been regenerate-at-build-time style, not one-shot c&p into existing files. Was interesting. Ah well, off to chug through more fun stuff =)

Read: Lots of One-Shot Code Generation

Topic: ClientJava.com Links(5) - DesktopDeveloper.com, JGoodies Forms, A Better Linux SWT Previous Topic   Next Topic Topic: Intro BPEL Article in BI Journal

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use