Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.netfront.net!not-for-mail From: Wanja Gayk Newsgroups: comp.lang.java.programmer Subject: Re: are lambdas a way to bring functional programming to java? Date: Thu, 3 Jul 2014 03:13:46 +0200 Organization: Netfront http://www.netfront.net/ Lines: 25 Message-ID: References: <53ae08d5$0$304$14726298@news.sunsite.dk> <53ae0af4$0$302$14726298@news.sunsite.dk> NNTP-Posting-Host: 77.8.131.50 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1404349999 11912 77.8.131.50 (3 Jul 2014 01:13:19 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Thu, 3 Jul 2014 01:13:19 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 Xref: csiph.com comp.lang.java.programmer:28926 In article , markspace (markspace@nospam.nospam) says... > I think I'd call this idea "micro-profiling," similar to > micro-benchmarking. You have to consider the system as a whole, as a > long range project. Complicated static initializers are a known issue; > we've definitely bumped into that problem before (I think mainly with > too many { static Logger log = Logger.getLogger("fubar"); }). I'm just > trying emphasize best practice, which to avoid static initializers where > not needed. I'm not desperately in love with static initializers, so I wouldn't mind if one used a factory method instead. The point is sharing and naming an implementation. Kind regards, Wanja -- ..Alesi's problem was that the back of the car was jumping up and down dangerously - and I can assure you from having been teammate to Jean Alesi and knowing what kind of cars that he can pull up with, when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer] --- news://freenews.netfront.net/ - complaints: news@netfront.net ---