馃敆聽Google Style Guides

Google Style Guides This project (google/styleguide) links to the style guidelines we use for Google code. AngularJS Style Guide Common Lisp Style Guide C++ Style Guide C# Style Guide Go Style Guide HTML/CSS Style Guide JavaScript Style Guide Java Style Guide Objective-C Style Guide Python Style Guide R Style Guide Shell Style Guide Swift Style Guide TypeScript Style Guide Vim script Style Guide

September 17, 2023 路 1 min 路 63 words

馃挱聽Scala Enumerations Summary

Comparison between different ways of doing enumerates, with scala.Enumeration, case object and Java鈥檚 Enum.

May 14, 2017 路 9 min 路 1882 words

鉁傦笍聽Java

Small information nuggets and recipies about Java

November 2, 2015 路 2 min 路 248 words

馃敆聽Java 8 Tutorial

Java 8 Tutorial 鈥淛ava is still not dead鈥攁nd people are starting to figure that out.鈥 Welcome to my introduction to Java 8 . (鈥) At the end of the article you鈥檒l be familiar with the most recent API changes like streams, functional interfaces, map extensions and the new Date API. No walls of text 鈥 just a bunch of commented code snippets. Enjoy! Default Methods for Interfaces Lambda expressions Functional Interfaces Method and Constructor References Lambda Scopes Built-in Functional Interfaces Streams Parallel Streams Map Date API Annotations

March 19, 2014 路 1 min 路 87 words

馃摵聽Transformation Priority Premise

Uncle Bob Martin walks through the 鈥淧rime Factors鈥 kata in Java (29m06s) to illustrate the concept of Transformation Priority Premise as a way to address the common complaint about TDD: the brainlessness 鈥淎s the tests get more specific, the code gets more generic.鈥 鈥 and 鈥渉ere鈥檚 the list of transformations鈥 (47m53s): So what are these transformations? Perhaps we can make a list of them: ({}鈥>nil) no code at all->code that employs nil (nil->constant) (constant->constant+) a simple constant to a more complex constant (constant->scalar) replacing a constant with a variable or an argument (statement->statements) adding more unconditional statements....

March 18, 2014 路 1 min 路 199 words

馃摐聽When I left Sun to go to NeXT, I thought Objective-C was the coolest

When I left Sun to go to NeXT, I thought Objective-C was the coolest thing since sliced bread, and I hated C++. So, naturally when I stayed to start the (eventually) Java project, Obj-C had a big influence. James Gosling, being much older than I was, he had lots of experience with SmallTalk and Simula68, which we also borrowed from liberally. Patrick Naughton (in Java Was Strongly Influenced by Objective-C )...

November 11, 2013 路 1 min 路 82 words