Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7601
| Date | 2011-09-05 21:21 -0400 |
|---|---|
| From | Arne Vajhøj <arne@vajhoej.dk> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: simple method to simulate function pointers in java |
| References | <94e54cff-4dab-4c82-ade8-736174705e51@s2g2000vby.googlegroups.com> <R8KdnSlUPN_GMP3TnZ2dnUVZ_r-dnZ2d@earthlink.com> <af016272-35f2-4c50-ae99-82b031d19981@m38g2000vbn.googlegroups.com> |
| Message-ID | <4e65758b$0$304$14726298@news.sunsite.dk> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
On 9/2/2011 8:11 AM, Lino Ferrentino wrote: >> >> It will also make your code look and read more like idiomatic Java and >> less like a literal translation of some other language. > > ok... you are right. I was simply try to reduce Java to c. > > So I needed function pointers, typedefs... and functions (not methods) Trying to program in language X using the paradigms of language Y usually leads to bad code. If you want to use language X then learn to do it the X way. Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
simple method to simulate function pointers in java Lino Ferrentino <lino.ferrentino@gmail.com> - 2011-09-02 01:54 -0700
Re: simple method to simulate function pointers in java Mayeul <mayeul.marguet@free.fr> - 2011-09-02 11:56 +0200
Re: simple method to simulate function pointers in java Patricia Shanahan <pats@acm.org> - 2011-09-02 03:17 -0700
Re: simple method to simulate function pointers in java Lino Ferrentino <lino.ferrentino@gmail.com> - 2011-09-02 05:11 -0700
Re: simple method to simulate function pointers in java Arne Vajhøj <arne@vajhoej.dk> - 2011-09-05 21:21 -0400
Re: simple method to simulate function pointers in java Roedy Green <see_website@mindprod.com.invalid> - 2011-09-02 07:43 -0700
Re: simple method to simulate function pointers in java Arne Vajhøj <arne@vajhoej.dk> - 2011-09-05 21:24 -0400
Re: simple method to simulate function pointers in java Lew <lewbloch@gmail.com> - 2011-09-05 19:00 -0700
Re: simple method to simulate function pointers in java "John B. Matthews" <nospam@nospam.invalid> - 2011-09-06 13:39 -0400
csiph-web