Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Final Fantasy 2 based game source code Date: Sat, 23 Mar 2013 18:27:43 +0000 (UTC) Organization: UK Free Software Network Lines: 50 Message-ID: References: <171686ae-5239-4502-9ef3-65a68e8a1a1d@googlegroups.com> <514a53c7$0$32110$14726298@news.sunsite.dk> <_JGdndJSO5_5ENHMnZ2dnUVZ7tWdnZ2d@bt.com> <-bCdnVkEhYOBE9DMnZ2dnUVZ7oCdnZ2d@bt.com> <-NKdnbFwYMuuVNDMnZ2dnUVZ8k2dnZ2d@bt.com> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1364063263 22161 84.45.235.129 (23 Mar 2013 18:27:43 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Sat, 23 Mar 2013 18:27:43 +0000 (UTC) User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.lang.java.programmer:23097 On Sat, 23 Mar 2013 17:10:57 +0000, lipska the kat wrote: > On 23/03/13 16:21, Martin Gregorie wrote: >> On Sat, 23 Mar 2013 15:24:32 +0000, lipska the kat wrote: >> >>> On 23/03/13 11:12, Chris Uppal wrote: >>>> Joshua Cranmer ?? wrote: > > [snip] > > >> Python uses a similar approach though it uses a 'class' declaration and >> the 'self' attribute qualifier though the latter is used rather >> differently to its use in Java. > > I've actually investigated Python in the past. I must say that it is > laughably easy to write stuff in that language, I ended up with simple > client server setup in about 12 lines of code. The need to explicitly > pass the self reference to every function got bit wearing but it was the > only way (apparently) to access the state. I'm still not convinced about > duck type polymorphism though. It's just so ... weird. > > Once I was properly aware of Python it soon became apparent that it is > surprisingly widely used and was about well before Java. > > We had an interesting discussion in one of the Python groups about the > 'object orientedness' of Python, several correspondents appeared to > agree that a better description might be 'object based' but I'm not > about to get into a religious war about that one :-) > I wouldn't even go that far - to me its OO features look more like they were bolted on as an afterthought than forming a foundation but of course ymmv. I got to the stage of writing simple stuff in it but haven't taken it any further, partly because its (lack of) backward compatibility between language versions looks like an obstacle to long-term program maintenance. That said, I like the idea of indentation rather than begin/ end or curly brackets to indicate block structure but am not wild about its object structure. I also like the extensive 3rd party libraries, though to call the documentation for some 'minimal' is being too kind. However, I may end up making a bit more use of it since it is the recommended development language for the RaspberryPi, though currently I prefer to use C. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |