Berlin Brown
unread,Apr 20, 2011, 11:55:56 AM4/20/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to The Mirah Programming Language
To the Mirah developers:
First, I wanted to say, Mirah is pretty cool and something I have
wanted for a while. It is basically a more sophisticated code
generator (assuming you use the Java code convention). I hope you
guys keep that feature. Please keep the Java code generation feature.
Here is my question and suggestion, have you guys thought about basic
code conventions when generating the
output code? Is that a consideration? Do you think it matters?
Also, is it possible to do Java output such that adds optimizations or
code refactorings?
For example, is it possible to output with final declaration of
variables. Could we possibly have it use more descriptive variable
names?
javax.swing.JFrame temp$1 = frame;
temp$1.setPreferredSize(dim);
javax.swing.JFrame temp$2 = frame;
temp$2.setBackground(java.awt.Color.white);
frame.add(new java.awt.Canvas());
javax.swing.JFrame temp$3 = frame;
temp$3.pack();
javax.swing.JFrame temp$4 = frame;
temp$4.setVisible(true);