FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  


FIFE 0.4.0 has been released on 15th of January, 2017!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ShaXbee

Pages: [1]
Introduce yourself / Introduction
« on: January 06, 2010, 09:54:57 am »
Hello everyone,

I'm software developer from Wrocław (Breslau), Poland working in free time on open source rail simulator project called MaSzyna (Machine). I love post-apoc games and movies and plan to write some small city-builder style postapoc game in near future.

Framework development / Re: Python coding standards
« on: October 22, 2009, 07:29:20 am »
Hello phoku,

I honestly think you should head over to the PEP008 first.
That's where most of our guidelines were inspired from.
I know the PEP8, but were to lazy to shorten it to one document :)

As a documentation generator we use epydoc, another great tool is sphinx.
Django uses it - and well it's docs are awesome(1).
It's hard to disagree that sphinx documentation is great but it requires learning Yet Another Markup Languge (RST in this case) apart from Wiki syntax :) Because ATM most of interfaces are written in C++ we use doxygen. I dont have idea how to document Python wrappers, maybe you can share some thoughts?

Good luck with your project :-)
Thanks, FIFE and PyChan are success stories and encourage me to work on project ;) I hope that i'll find some time for FIFE development too in near future.

Framework development / Re: Python coding standards
« on: October 21, 2009, 07:20:46 am »
Thanks. Of course i'll add note about source.

Article is here:

Few possible problems in coding guidelines:
  • What about maximal line length? Do you limit it to 79 characters same as in PEP8?
  • Your coding guidelines says little about unit tests - how they are implemented? In seperate files or in same file?
  • What documentation generator is used? Tags in docstrings aren't explained.

Framework development / Re: Python coding standards
« on: October 20, 2009, 09:24:59 am »

I'm lurking around Framework development forum for some time and just want to ask if i can adapt python coding guidelines for project I'm working in?

              path = []
              print " path 0 ", path[0]
              print " path 1 ", path[1]

Code: [Select]

or even better:
Code: [Select]
path = self.agent.getPath()

Pages: [1]