8. Writing Code¶
This chapter contains topics related to the process and conventions of coding for the Very Slow Jython project.
- 8.1. Coding Standard
- 8.2. Porting CPython Code to Java
- 8.2.1. Architectural Drivers
- 8.2.2. Lessons from Practice
- It’s much clearer in Java
- Comments are needed
- Documentation comments are needed
- CPython source to Java in general
- Names
- Type and cast
- Object Lifecycle
- Some Abstract Interface Methods
- Pointer-to-Function is
MethodHandle
- Error returns
- Translating Exceptions
- Translating Attribute Access
- Translating Container Access