|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Coding in jython
THink, no brackets, no semicolins, no parentheses unless they are req'd, its easier
|
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
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? |
|
#4
|
|||
|
|||
|
Re: Coding in jython
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |