Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: Ivan Shmakov Newsgroups: comp.lang.misc,comp.lang.python,comp.lang.scheme Subject: Re: another language with classes? Date: Wed, 19 Jun 2013 13:48:13 +0000 Organization: Aioe.org NNTP Server Lines: 38 Message-ID: <87wqpqciua.fsf@violet.siamics.net> References: NNTP-Posting-Host: 41vvMPMLxfEjizuK6lSUHw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:SczNZgMqlBYycTGZaTra7x3fxrc= Xref: csiph.com comp.lang.misc:1525 comp.lang.python:48713 comp.lang.scheme:1455 >>>>> R Kantas writes: [Cross-posting to news:comp.lang.python, news:comp.lang.scheme, looking for more first-hand experience with these. Sadly, there's no news:comp.lang.go as of yet.] > I came into first contact with objects and classes programming under > Visual Basic 5/6 (VB classic) and found theese capabilities were > useful for efficient programming. Now, as this VB is no longer > supported by Microsoft I'm going to switch to another language, and > my question is which other of the popular programming lnguages has > such a construct like VB's classes where code and data can be > completely separated from the rest of the program, so that very handy > reusable code components can be created. I've had only a passing experience with VB, and even then, it dates back to the mid-1990'es, so I may not understand what exactly you're asking for, but my understanding is that most of the contemporary high-level languages, both compiled and not, offer comparable facilities. In particular, Go [1] appears to offer a simple yet powerful OO system, and even though it's still a very new language (introduced in 2009), it already has an extensive library, and offers the compiled code's performance comparable to that of C. The other popular choice is Python [2], and the one I'd like to investigate myself is Racket [3] (which is a dialect of Scheme, which in turn is a dialect of Lisp.) [1] https://en.wikipedia.org/wiki/Go_(programming_language) [2] https://en.wikipedia.org/wiki/Python_(programming_language) [3] https://en.wikipedia.org/wiki/Racket_(programming_language) [...] -- FSF associate member #7257 np. hcss.mod