codeek's recent timeline updates
codeek's repos on GitHub
Java · 7 watchers
sonar-custom-plugin
How to write sonar plugin
Java · 6 watchers
underscore.string.java
String manipulation operations in java
Emacs Lisp · 5 watchers
dotfiles
Ryan's dot files
Java · 3 watchers
homework
homework for graduates
JavaScript · 3 watchers
smart-contract-foundation
A smart contract
Java · 2 watchers
functional-programming
Functional programming on various language.
Python · 1 watchers
audiomate
Au(t)omate music with a mate x Musicgen WebUI
Python · 1 watchers
block_viewer
bitcoin block viewer
Java · 1 watchers
funclite
Lightweight functional programming library
Go · 1 watchers
go-gin-quickstart
go gin web framework scaffold
Clojure · 0 watchers
4clojure
There are resolutions for 4clojure
0 watchers
arena
JavaScript · 0 watchers
awesome-blockchain-cn
收集所有区块链(BlockChain)技术开发相关资料,包括Fabric和Ethereum开发资料
0 watchers
awesome-clojure
A curated list of awesome Clojure libraries and resources. Inspired by awesome-... stuff
0 watchers
blockchain-crypto-mpc
Protecting cryptographic signing keys and seed secrets with Multi-Party Computation.
Java · 0 watchers
BowlingScoring
this is a bowling scoring program
0 watchers
browser-use
Make websites accessible for AI agents
Clojure · 0 watchers
cheshire
Clojure JSON and JSON SMILE (binary json format) encoding/decoding
0 watchers
cider-hydra
Hydras for CIDER
0 watchers
claw-code
Better Harness Tools, not merely storing the archive of leaked Claude Code but also make shit things done. Now rewriting in Rust.
Clojure · 0 watchers
clj-moco
An easy setup stub framework in Clojure. Wrapping Moco.
Clojure · 0 watchers
clojure-bowling
this is a bowling scoring program in clojure
Clojure · 0 watchers
clojure-koans
A set of exercises for learning Clojure
Clojure · 0 watchers
component
Managed lifecycle of stateful objects in Clojure
Shell · 0 watchers
corda-docker
Docker configuration and scripts for Corda
Solidity · 0 watchers
damn-vulnerable-defi
The offensive security playground for the decentralized finances.
Java · 0 watchers
ddd-petstore
A Pet Store Example For DDD Workshop
Ruby · 0 watchers
dev_env
setup development environments for specified tech stack
HTML · 0 watchers
dotemacs
My Emacs config. Here be dragons.
Emacs Lisp · 0 watchers
dotfiles-1
The skeleton of my wonderful *NIX home folders and scripts.
0 watchers
Dracula.logseq
JavaScript · 0 watchers
embark
Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
0 watchers
evm-opcodes
Ethereum opcodes and instruction reference
0 watchers
fabric-gm
JavaScript · 0 watchers
file-uploader
upload swagger docs and render with redoc
0 watchers
flta-materials
The projects and the materials that accompany the Flutter Apprentice book
Go · 0 watchers
gocrypto
Example source code for the Practical Crypto with Go book.
JavaScript · 0 watchers
grunt-properties
Convert java .properties files to javascript
TypeScript · 0 watchers
happy-1
Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured
0 watchers
haskell-platform
Distribution of Haskell with batteries included
Haskell · 0 watchers
Idris-dev
用作文档目的,翻译方式见 Issue #10
Java · 0 watchers
java-concurrent
concurrent in java
Java · 0 watchers
jersey-in-action
jersey learning in action
Clojure · 0 watchers
kata-bathroom
kata exercises - the earliest available period of bathrooms.
Rust · 0 watchers
led
A Minimal, Modern Text Editor for the Command Line
Clojure · 0 watchers
liquid
Clojure Text Editor, for editing clojure code and markdown. Written entirely in Clojure with inspiration from Emacs and Vim.
0 watchers
logseq_forest_theme
The forest night theme for logseq
Clojure · 0 watchers
lumo
Fast, cross-platform, standalone ClojureScript environment
Clojure · 0 watchers
medley
A lightweight library of useful Clojure functions
0 watchers
mojo
The Mojo Programming Language
0 watchers
node-windows-guide
a guide for node on windows
TypeScript · 0 watchers
nurturemeet
幼师 AI 助手 - 帮助幼师整理和发送孩童照片、发送孩童观察叮嘱、回答父母问题
Java · 0 watchers
oops
Python · 0 watchers
pytree
list contents of directories in a tree-like format
HTML · 0 watchers
qianyan.github.io
λambeta blog
Go · 0 watchers
quorum
A permissioned implementation of Ethereum supporting data privacy
Rust · 0 watchers
rust-rocks
探索rust的浩瀚宇宙,躁动不止。
0 watchers
s98aa9dy9q
maven verified namespace
0 watchers
sarama
copy from Shopify/sarama, need a little change to my prj.
Java · 0 watchers
spring-jpetstore
A web application built on top of Spring, Spring MVC, MyBatis 3, and Spring Security forked from http://mybatis.github.io/spring/sample.html
Clojure · 0 watchers
superstring
Clojure and Clojurescript string library
JavaScript · 0 watchers
swagger2aglio
Swagger static HTML documentation generator
TypeScript · 0 watchers
teacher-ai
For My Wife. Only.
Clojure · 0 watchers
tesser
Clojure reducers, but for parallel execution: locally and on distributed systems.
Go · 0 watchers
testsuites-gm
TypeScript · 0 watchers
thirdweb-app
Kotlin · 0 watchers
token-sdk
Corda Tokens SDK
Rust · 0 watchers
tree
list contents of directories in a tree-like format in multiple programming languages
JavaScript · 0 watchers
truffle
The most popular Ethereum development framework
JavaScript · 0 watchers
underscore.string
String manipulation helpers for javascript
Vim script · 0 watchers
vim-crates
Handle Cargo dependencies like a Rustavimean.
Vim script · 0 watchers
vimux-cargo
Run cargo commands in vim
Python · 0 watchers
weather-mcp-server
这是一个基于 FastMCP 构建的天气查询 MCP 服务器
Rust · 0 watchers
zed
Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
codeek

codeek

V2EX member #52910, joined on 2013-12-29 13:43:18 +08:00
Per codeek's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
codeek's recent replies
Nov 19, 2016
Replied to a topic by hackingwu 编程 这是我做 Java 开发几年来遇到的最大难题
怒点赞。哪都能看到群主宣传 FP ,好样的!
之前听过几期,包括了红烧 Lo 姐的 Clojure 专访以及 haskell 语言分析,确实是难得的好节目。
Jun 22, 2016
Replied to a topic by karlxu 问与答 问一个正则的问题,大神不要笑我哈~~~
正则表达式默认是贪婪匹配(最长匹配),*?就开启了最短匹配,这里,也就是 0 个 b 了。
Jun 10, 2016
Replied to a topic by corboy 程序员 如何写单元测试
单元测试最好的入门方式是 TDD (Test Driven Development),即测试驱动开发。简单来讲,就是先写测试,后写实现代码。

TDD 不是什么高深的概念,只是一种 Agile 的实践方式。很多人习惯先写实现代码,后“加测试”的编码方式,原因有二,一是实现代码还没有,不知道对哪个方法进行测试;二是懒,觉得测试是额外的工作负担,不到万不得已(比如:项目组强制)不会写测试,即使写也就挑几个好弄的方法,加一个正常流的测试。

这样的写法很容易导致几个问题:
1. 实现代码耦合,不便测试;
2. 实现代码过度设计,类文件剧增,代码量一多,维护性绝对不好;
3. 测试覆盖率很低,单元测试是拿来忽悠领导的,跟质量无关。

楼主说自己无从下手,估计是用了“加测试”的方式。如果是这样,那么 refactor (重构) 是你该先学的技能。设计良好的代码,接口很清晰,耦合度低(比如:楼上提到的 DI [依赖注入] ),一般写单元测试非常容易。

TDD 具体的实践方式,这里我暂按不表,网上的教程多如牛毛。其实它的核心理念就是让你知道如何从需求出发,拆接出任务( tasking ),按照任务一条条来写完测试。然后按照测试->实现->重构(红->绿->黄)的圈完善所有的功能。坚持这样,功能就从需求逐步演化成可维护的代码了。
Jun 6, 2016
Replied to a topic by wanderingFaker Java 求推荐一本 java 书籍
effective java
May 29, 2016
Replied to a topic by vzlf JetBrains Intellijidea 做 JavaWeb 开发时目录结构的疑问
你可以从这个角度来学习 maven 或者 gradle: 如何在命令行中用一条命令完成编译,单元测试,打包,集成测试,部署这些任务。简单点,就是自动化。
May 28, 2016
Replied to a topic by g5 宽带症候群 国务院的活动 500M 流量竟然真实有效!
成都联通还没收到
May 28, 2016
Replied to a topic by vzlf JetBrains Intellijidea 做 JavaWeb 开发时目录结构的疑问
maven 和 gradle 都有生成 idea 工程的插件。 mvn idea:idea or gradle idea 。 Java 工程有标准目录,不要依赖 IDE
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   927 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 20:57 · PVG 04:57 · LAX 13:57 · JFK 16:57
♥ Do have faith in what you're doing.