youlq
CJSDN高级会员
发贴: 260
积分: 95
|
于 2003-12-15 10:17
算不算闭门造车?
转贴2:
JFox 1.0 Released Posted By: Corby Page on December 09, 2003 @ 09:13 AM in response to Message #103707. First, I'd like to express my sincere admiration for the folks who did put together JFox. It takes a lot of gumption to identify a burgeoning market niche (J2EE support for Chinese market), and then assemble software of this scope to meet that niche.
Next, I'd like to make fun of their code. How about the variable names in this method?
final public ASTEJBQL EJBQL() throws ParseException { /*@bgen(jjtree) EJBQL */ ASTEJBQL jjtn000 = new ASTEJBQL(JJTEJBQL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { SelectClause(); FromKeyword(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WHERE: WhereClause(); break; default: jj_la1[0] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ORDER: OrderByClause(); break; default: jj_la1[1] = jj_gen; ; } jj_consume_token(0); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; {if (true) return jjtn000;} } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } throw new Error("Missing return statement in function"); }
Is this some artifact of having to translate Chinese variable names into ASCII text? Who could possibly maintain this aside from the original author?
Dear God, don't let Cameron see this!
Corby
Be tough!
|