Go to Post It's 9:00 Do you know where your bott is? - Michelle Celio [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-04-2010, 04:21
spartango spartango is offline
Registered User
FRC #0192 (GRT)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Palo Alto, CA
Posts: 43
spartango is an unknown quantity at this point
Re: Coding in jython

I've been working on a Jython interpreter port (alongside a rhino JS interpreter)...
It's a little tricky however, because these things are all written for Java 5/6 and have to be retrowoven/hacked back to be 1.3 compliant...
The bigger issue, however, is getting java bindings working(which you will need if you want to use anything in WPILibJ) because J2ME does not allow dynamic class loading...something both rhino and jython rely on in their java bindings.
Thus, my rhino intepreter works but it pretty much justs prints stuff for the moment...Jython is a bit more tricky to work with.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-04-2010, 09:57
cybiko123's Avatar
cybiko123 cybiko123 is offline
Roving Mentor
no team (Illinois FIRST)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Chicago
Posts: 16
cybiko123 is an unknown quantity at this point
Re: Coding in jython

If you're trying to explain code to new programmers, shouldn't you use a language that is well-supported?

In other words, I don't know many FIRST teams (or anybody, really) using Jython. What if they have problems?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-04-2010, 14:08
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Coding in jython

Quote:
Originally Posted by Robototes2412 View Post
THink, no brackets, no semicolins, no parentheses unless they are req'd, its easier
Getting new programmers to remember their brackets, semicolons, and parentheses is by far the easiest part of teaching them to be good programmers. The difficult is getting them to use simple and effective design patterns, which Python (/Jython) does not do a good job of encouraging, IMO.
__________________
Go directly to queue. Do not pass pit.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding Question ZP8892 Programming 1 18-01-2010 20:04
Pneumatics coding Nguyen Programming 19 14-02-2008 20:47
C coding ExarKun666 General Forum 12 21-12-2007 14:13
Photoswitch coding magical hands Programming 0 17-01-2006 21:20
Coding conventions Anthony Kesich Programming 20 08-01-2004 10:50


All times are GMT -5. The time now is 11:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi