functional 第21页
Java 8 Stream Cheatsheet-拾光赋

Java 8 Stream Cheatsheet

Java 8 Stream Cheatsheet,Originally posted at www.gunnargissel.com Streams are a way of working with objects in a collection. Streams allow a person to say what they want to have a...
kity的头像-拾光赋kity7年前
0235
Closure? I Hardly Know Her!-拾光赋

Closure? I Hardly Know Her!

Closure? I Hardly Know Her!,Cover image credit: this amazing StackOverflow answer. I've learned about closures a few different times, and each time, I've come away feeling like I g...
kity的头像-拾光赋kity7年前
02412
Think twice before using a Supplier-拾光赋

Think twice before using a Supplier

Think twice before using a Supplier, Supply and demand At the end of my last article, we had this piece of non-functioning code, which tried to replace placeholder string from a fi...
kity的头像-拾光赋kity8年前
04812
Navigating the uncharted Stream-拾光赋

Navigating the uncharted Stream

Navigating the uncharted Stream, Wrong bend of the river When I left school, Java 6 had just been released and wasn’t really integrated into the school curriculums yet. But I was ...
kity的头像-拾光赋kity8年前
0339
Turn Your Spaghetti Code into Functions, Part 2-拾光赋

Turn Your Spaghetti Code into Functions, Part 2

Turn Your Spaghetti Code into Functions, Part 2,Read Part 1, first. In Part 1, we started with an example of common business logic code, and an analogy based on cramming an elephan...
kity的头像-拾光赋kity8年前
02514
Property Testing: Why You Should Generate Test Data-拾光赋

Property Testing: Why You Should Generate Test Data

Property Testing: Why You Should Generate Test Data,I drank the functional programming cool-aid at my first real job. While I do not currently professionally develop with functiona...
kity的头像-拾光赋kity8年前
04515
Unwrapping Decorators, Part 2-拾光赋

Unwrapping Decorators, Part 2

Unwrapping Decorators, Part 2, Quick Recap Last post, I wrote about the basics of decorators in Python. For those of you that missed it, here are the highlights. Decorators are pla...
kity的头像-拾光赋kity8年前
03313
Unwrapping Decorators, Part 1-拾光赋

Unwrapping Decorators, Part 1

Unwrapping Decorators, Part 1, Preface I promised in an earlier post to talk about Python decorators. A note for the smarty-pantses reading this: there is apparently something call...
kity的头像-拾光赋kity8年前
02812
Java 8 Functional Interface Cheatsheet-拾光赋

Java 8 Functional Interface Cheatsheet

Java 8 Functional Interface Cheatsheet,O'Reilly has a great in-depth article on the functional interface in Java 8. Here's a quick cheat sheet to keep track of the main types, what...
kity的头像-拾光赋kity8年前
0508