PunchCode

以终为始

Effective Java Chapter4-Classes and Interfaces

这是Effective Java第四章的总结, 讲如何设计Java Class和Interfaces, 这是我们写Java去抽象逻辑的核心. 项目链接

投资第一课

之前看到推上有人推荐这个课, 就学习了一下. 常说不理财等死, 乱理财找死, 在有了收入后难免想通过理财来保持健康的资产, 这里记录这门课的笔记和我的

Effective Java Chapter3-Methods Common to All Objects

这是Effective Java第三章的总结, 将如何override Object类的方法, 以及Comparable.compareTo这个类似

Effective Java Chapter2-Creating and Destroying Objects

这是Effective Java第二章的总结, 主要涵盖对象的创建和销毁. Item 1: Consider static factory methods instead of constructors 这个建议和设计模式中的工厂方法不是一个东西, 这里指当

ajax的发post请求的坑

在前端通过ajax请求向服务端发送请求是非常常见的场景, 在Java Web开发中, 通常用SpringMVC去取得请求体的数据. 而用ajax做p

SpringBoot入门

Spring Boot is an open source Java-based framework used to create a micro Service. It is developed by Pivotal Team and is used to build stand-alone and production ready spring applications. Micro Service is an architecture that allows the developers to develop and deploy services independently. Each service running has its own process and this achieves the lightweight model to support business applications. Hello World Sprin

润一润我们的Java代码

作为一个代码强迫症加代码外貌协会, 写代码的时候总会想提高代码可读性, 不管性能怎么样, 至少要长得好看. 后来又看到有推友的mentor说: &ld

CSS入门

Cascading Style Sheets(CSS) is a stylesheet language used to describe the presentation of a document written in HTML or XML(including XML dialects such as SVG, MathML or XHTML). CSS describes how elements should be rendered on screen, on paper, in speech, or on other media. CSS is among the core languages of the open web and is standardized across Web browsers according to W3C specifications. 官方的tu

Java的基本类型

在刚结束的培训项目中需要把几个指标落库, 我想当然的以为int那21亿的范围应该已经够用了, 结果项目发布后报了一堆out of range. 我发现自己对最最基

一个关于git用户切换的坑

这几天公司培训, 要做一个培训的项目, 因为不想远程连接工位的电脑开发, 所以在自己的电脑上配置好了环境, 但是遇到了一个git环境切换无法push