thoughts…

rants and bookmarks about programming stuff…


The Unreasonable Effectiveness of C

“For years I’ve tried my damnedest to get away from C. Too simple, too many details to manage, too old and crufty, too low level. I’ve had intense and torrid love affairs with Java, C++, and Erlang. I’ve built things I’m proud of with all of them, and yet each has broken my heart. They’ve made promises they couldn’t keep, created cultures that focus on the wrong things, and made devastating tradeoffs that eventually make you suffer painfully. And I keep crawling back to C…”

http://damienkatz.net/2013/01/the_unreasonable_effectiveness_of_c.html


Java 8: State of the Lambda

“This is an informal overview of the enhancements to the Java programming language specified by JSR 335 and implemented in the OpenJDK Lambda Project. It refines the previous iteration posted in October 2010. A formal description of some of the language changes may be found in the Early Draft Specification for the JSR; an OpenJDK Developer Preview is also available. Additional design documents—in particular a more detailed examination of default methods—can be found at the OpenJDK project page. As all of these artifacts are works-in-progress, there may be inconsistencies between them, which will be resolved by the time the spec and implementation are finalized.

The high-level goal of Project Lambda is to allow programming patterns that require modeling code as data to be convenient and idiomatic in Java. The principal new language features include:

  • Lambda expressions (informally, “closures” or “anonymous methods”)
  • Expanded target typing
  • Method and constructor references
  • Default methods

 

These are described and illustrated below…”

http://cr.openjdk.java.net/~briangoetz/lambda/lambda-state-4.html


Java’s Cover

Historically, languages designed for other people to use have been bad: Cobol, PL/I, Pascal, Ada, C++. The good languages have been those that were designed for their own creators: C, Perl, Smalltalk, Lisp…”

It’s designed for large organizations. Large organizations have different aims from hackers. They want languages that are (believed to be) suitable for use by large teams of mediocre programmers– languages with features that, like the speed limiters in U-Haul trucks, prevent fools from doing too much damage…”

It could be that in Java’s case I’m mistaken. It could be that a language promoted by one big company to undermine another, designed by a committee for a “mainstream” audience, hyped to the skies, and beloved of the DoD, happens nonetheless to be a clean, beautiful, powerful language that I would love programming in. It could be, but it seems very unlikely...”

He was really right…

http://www.paulgraham.com/javacover.html


Java Oddities

“There’s a famous lightening talk given by Gary Bernhardt about Javascript and Ruby oddities.
I would like to start a series of blog posts documenting some oddities in the Java language for fun! I’ll explain why or where these oddities come from with reference to the Java Language Specification when possible. I hope you learn some new things. Feel free to email or tweet me if you would like to add to the list…”

http://functr.blogspot.se/2012/08/javawat-part-i.html


Leave a comment

Getting Started with Android Development

“I thought I’d give some tips to those of you interested in getting started with Android.  A few weeks ago I launched my first and only Android app, FoneDoktor, after developing it for about three months.  Overall my experience was very positive — the Android docs and community are both amazing…”

http://alexlod.com/2011/11/21/getting-started-with-android/

Follow

Get every new post delivered to your Inbox.

Join 514 other followers