Freewind @ Thoughtworks
scala
java
javascript
dart
工具
编程实践
月结
math
python
english
[comments admin]
[feed]
scala
scala一周研究成果
http://freewind.in/posts/105-scala-after-a-week/
scala,离天堂只差一步
http://freewind.in/posts/106-scala-the-last-weakness/
scala啊scala
http://freewind.in/posts/107-scala-scala-scala/
一个有趣的类scala.util.DynamicVariable
http://freewind.in/posts/170-an-interesting-class-scala-util-dynamicvariable/
在scala中,如何取得一个函数的参数名
http://freewind.in/posts/172-how-to-get-the-parameter-name-of-a-scala-method/
在scala中实现using自动关闭资源
http://freewind.in/posts/173-how-to-close-resource-with-using-in-scala/
解析一句信息量很大的代码
http://freewind.in/posts/174-scala-some-code-with-much-information/
sbt+jrebel成功,jetty不用再重启
http://freewind.in/posts/178-succesfully-applied-sbt-jrebel-and-jetty-is-needed-restart/
scala中尽量避免使用null
http://freewind.in/posts/180-avoid-null-in-scala/
circumflex入门感受
http://freewind.in/posts/181-try-circumflex/
基于scala的web框架搜集
http://freewind.in/posts/182-web-frameworks-in-scala/
type A=B不等于import {A=>B}
http://freewind.in/posts/183-why-type-a-b-is-not-the-same-to-import-a-b/
为什么通不过编译 class X extends Map[String,String]
http://freewind.in/posts/185-why-class-x-extends-map-string-string-cannot-be-compiled/
如何使用match来检查一个对象的类
http://freewind.in/posts/187-scala-how-to-use-match-to-check-the-type-of-an-instance/
在scala中,如何创建annotation
http://freewind.in/posts/189-how-to-create-annotation-in-scala/
一个函数的优化(从命令式到函数式)
http://freewind.in/posts/192-rewrite-a-function-from-imperative-to-functional/
关键字type
http://freewind.in/posts/193-scala-keyword-type/
关于flatMap的用法
http://freewind.in/posts/195-scala-flatmap/
class中定义的apply有什么用?
http://freewind.in/posts/196-scala-apply-in-classes/
形如abc_=的函数,有什么用?
http://freewind.in/posts/197-scala-abc_-functions/
"val s:BigInt = 3333333333333333 为什么编译出错"
http://freewind.in/posts/198-why-s-bigint-3333333333333333-cannot-be-compiled/
actor的个数限制
http://freewind.in/posts/199-limit-of-actor-count/
怎样实现 ‘aaa := "AAA",即为符号增加函数并隐式转换
http://freewind.in/posts/200-how-to-implement-aaa-AAA-to-add-implicit-conversions-for-symbols/
scala中==是比较内容,但为什么Array(1,2)==Array(1,2)为false
http://freewind.in/posts/201-why-array-1-2-array-1-2-is-false/
参数curry化
http://freewind.in/posts/346-scala-function-curry/
00. Scala入群题目
http://freewind.in/posts/2066-scala-group-entry-problem/
Lift项目零散笔记
http://freewind.in/posts/2108-notes-from-a-lift-project/
Lift小记
http://freewind.in/posts/2128-notes-of-lift/
scala的类型系统居然可以解题
http://freewind.in/posts/2153-scala-type-systems-to-solve-problems/
Scala类型系统之:来自星星的猫
http://freewind.in/posts/2613-scala-type-systems-the-cat-from-stars/
使用brew安装scala 2.8.x
http://freewind.in/posts/2641-brew-install-scala-2-8-x/
Scala热情workshop(1). 安装快速尝试scala代码的工具: scalaconsole
http://freewind.in/posts/2689-scala-workshop-1-try-scala-code-with-scalaconsole/
Scala热情workshop: 2. Scala学习路线(1) 初学者的观点
http://freewind.in/posts/2704-scala-workshop-2-opinions-from-beginners/
Scala热情workshop 2. Scala学习路线(2) 为什么学以及难度分块
http://freewind.in/posts/2717-scala-workshop-2-why-learn-scala-and-difficulties/
Scala热情workshop 2. Scala学习路线(3) scala资源
http://freewind.in/posts/2721-scala-workshop-2-scala-resources/
Scala热情workshop: 结对实践课马上要开始了,你来吗?
http://freewind.in/posts/2732-scala-workshop-pair-practise/
Scala workshop – Collections(1) – List
http://freewind.in/posts/2735-scala-workshop-collections-1-list/
为什么Nil的类型是List[Nothing],而不是List[Any]
http://freewind.in/posts/2737-why-type-of-nil-is-list-nothing-not-list-any/
Hello world in scala
http://freewind.in/posts/2772-hello-world-in-scala/
如何组织你的Scala代码
http://freewind.in/posts/2788-how-to-organize-your-scala-code/
选用一个Scala模板引擎
http://freewind.in/posts/2822-choose-a-scala-template-engine/
play2
1.2 HTTP routing
http://freewind.in/posts/1265-play2-1-3-http-routing/
1.3 Manipulating the response
http://freewind.in/posts/1266-play2-1-3-manipulating-the-response/
1.4 Session and Flash scopes
http://freewind.in/posts/1267-play2-1-4-session-and-flash-scopes/
1.5 Body parsers
http://freewind.in/posts/1269-play2-1-5-body-parsers/
1.6 Action composition
http://freewind.in/posts/1270-play2-1-6-action-composition/
3.1 Templates syntax
http://freewind.in/posts/1271-play2-3-1-templates-syntax/
3.2 Common use cases
http://freewind.in/posts/1272-play2-3-2-common-use-cases/
01. Actions, Controllers and Results
http://freewind.in/posts/1274-play2-01-actions-controllers-results/
1.1 Actions, Controllers 和 Results
http://freewind.in/posts/1275-play2-1-1-actions-controllers-results/
02. HTTP路由
http://freewind.in/posts/1276-play2-02-http-routing/
03. 生成Http响应
http://freewind.in/posts/1277-play2-03-generate-http-response/
04. Session的Flash使用
http://freewind.in/posts/1278-play2-04-session-and-flash/
05. Http正文解析器
http://freewind.in/posts/1279-play2-05-http-body-parser/
06. Action 的组合
http://freewind.in/posts/1280-play2-06-action-composition/
07. 编写异步的Http应用
http://freewind.in/posts/1281-play2-07-asynchronous-http-application/
08. 流式的Http响应
http://freewind.in/posts/1282-play2-08-streaming-http-response/
09. Comet sockets
http://freewind.in/posts/1283-play2-09-comet-sockets/
10. 使用anorm操作数据库
http://freewind.in/posts/1284-play2-10-use-anorm-to-operate-database/
11. 使用第三方库整合数据库存取层
http://freewind.in/posts/1285-play2-11-integrate-3rd-database-lib/
sbt
问候sbt一千遍之:添加全局镜像库
http://freewind.in/posts/2619-sbt-global-repo/
sbt设置全局idea插件
http://freewind.in/posts/2647-sbt-setup-global-idea-plugin/
sbt预定义的keys
http://freewind.in/posts/2758-sbt-keys/
如何在sbt中定义一个最简单的hello world任务
http://freewind.in/posts/2759-how-to-define-a-simplest-hello-word-task-in-sbt/
如何在定义sbt任务时,使用其它key的值
http://freewind.in/posts/2760-how-to-use-value-of-another-key-in-sbt-task/
无需任何配置,直接使用sbt运行一个scala文件
http://freewind.in/posts/2761-use-sbt-to-run-scala-program-directly/
基本的build.sbt配置
http://freewind.in/posts/2762-use-simple-sbt-config-to-run-scala-program/
用脚本快速初始化一个sbt项目的结构
http://freewind.in/posts/2763-use-shell-to-create-sbt-dirs-quickly/
可放在项目代码中的sbt脚本
http://freewind.in/posts/2764-the-sbt-shell-for-project/
build.sbt中有哪些操作符可用
http://freewind.in/posts/2765-the-operators-for-keys-in-build-sbt/
如何在build.sbt中执行一段初始化代码
http://freewind.in/posts/2766-run-initailization-code-in-build-sbt/
理解sbt的scopes
http://freewind.in/posts/2767-understand-sbt-scopes/
在sbt中声明依赖时同时下载源代码
http://freewind.in/posts/2768-download-source-jar-when-declaring-dependency-in-sbt/
sbt中如何创建一个最简单的Build.scala
http://freewind.in/posts/2770-create-a-simplest-build-scala-in-sbt/
sbt中build.sbt和Build.scala配合使用
http://freewind.in/posts/2771-use-build-sbt-and-build-scala-in-one-sbt-project/
使用build.sbt配置多个子项目
http://freewind.in/posts/2773-config-in-build-sbt-for-multi-sub-projects/
sbt多个子项目的build.sbt是如何处理的
http://freewind.in/posts/2774-build-sbt-in-sub-projects-will-be-combined-to-root-project-in-sbt/
在Build.scala中定义多个子项目
http://freewind.in/posts/2775-define-multi-sub-projects-in-build-scala-in-sbt/
如何在build.sbt中调用其它scala中定义的值
http://freewind.in/posts/2776-how-to-invoke-objects-defined-in-scala-files-in-build-sbt/
如何创建一个简单的sbt插件
http://freewind.in/posts/2778-how-to-create-a-simple-sbt-plugin/
在sbt中使用一个不在maven库中的jar作为依赖
http://freewind.in/posts/2779-use-a-jar-not-inside-a-maven-repo-as-dependency-in-sbt/
sbt中的三种key
http://freewind.in/posts/2783-???/
sbt中读懂inspect的输出
http://freewind.in/posts/2780-understand-the-output-of-sbt-inspect/