项目平台统一(前后端IDE、代码风格)
项目平台统一(前后端IDE、代码风格)
记录人:娄雨禛
- 前端:Webstorm(HTML+CSS+JavaScript)
- 后端:IntelliJ IDEA(Java)
- 代码风格:Java风格代码
代码风格示例:
/**
* A sample source file for the code formatter preview
*/
package mypackage;
import java.util.LinkedList;
public class MyIntStack {
private final LinkedList fStack;
public MyIntStack() {
fStack = new LinkedList();
}
public int pop() {
return ((Integer) fStack.removeFirst()).intValue();
}
public void push(int elem) {
fStack.addFirst(new Integer(elem));
}
public boolean isEmpty() {
return fStack.isEmpty();
}
}