`

Life is short , use JAVA

 
阅读更多

Life is  short  ,  use JAVA.

人生苦短,我用JAVA.

 

听着指南针的无法逃脱,在这深夜,想着自己不知不觉已经用和JAVA做了两年朋友。写这篇BLOG,也仅仅是记录一下在这两年的一些琐碎的事,大家有兴趣就看看,没兴趣就直接叉掉吧!

 

最近我同学找我玩,由于最近炉石挺火的,我问他为什么香港的AMAZ牧师王为什么这么吊(玩过炉石的都知道,牧师是一个很不讨好的职业)。“你看过他的视屏就知道了,虽然他比较逗比,但他玩炉石他不是为了赢,他打心底就觉得这是一个好游戏。而像我们许多人just want to win,丧失了游戏本身的初衷。联想到编程,我们眼中的大牛,那些极客有些人是真正喜欢编程,也正是这样往往他们创造的东西是世人难以想到的。这就是为什么有些人看起来编程很牛B,到最后还是个码农。与那些喜欢编码的人,他们还是少了点什么。

Linus1991年创建了开源的Linux

Linus花了两周时间自己用C写了一个分布式版本控制系统,这就是Git

Linux , github得一者得天下,Linus一人得二。

扎克伯格(Zuckerberg)就和两位室友一起,用了一星期时间写网站程序,建立了一个为哈佛同学提供互相联系平台的网站,命名为 the Facebook

感觉这些人都是不眠不休的码代码。Full of energy,又想到苹果的MAC团队,他们工作时,经常穿着印有I love working 90 hours each week

Do what I like , study what I want.这就是我从他们身上感受到的灵感。

 

这几天大家一起在用世界上目前最先进的分布式版本控制系统github来写我们团队的第一款产品TimeBank,听起来很高大上吧。大家在工作室吵吵闹闹,为了我们所热爱的工作一起努力,第一次能体会到TeamWork , 感觉真的很幸福。就像某些人所说的归属感吧。

附上我们的队服图片:



 

 

 

从高考到现在,大学生活转眼就两年了。正如,慕容紫英说的那样:2年的大学生活无所谓好,无所谓不好,唯有天道恒在,回环往复不曾更改。由这句话我同学说道,像编程这种逆天而行还是少做点好,因为生活是充满未知的,程序员却总想逆天,把无序的东西,变为有序,把未知变为已知。嗯,听起来还是有点道理。

 

最后再附上一些感想:

说明:为了方便项目开发以及日后交流,在此规定几条代码编写的细节问题,希望大家务必遵守

参照java标准源码格式

1 命名格式问题:
	1 所有的包名一律小写
	2 类名首字母大写,每个单词首字母大写,不要采用下划线 “_” 分割单词
	3 变量名、方法名首字母小写,每个单词首字母大写,不采用下划线
	4 常量所有字母大写,且单词之间用 “_” 隔开
	
2 代码注释问题:
	1 每个类开头用 /** 注明类的功能,并说明主要属性与字段的功能
				  *
				 **/
	2 如有必要,用   // 注解关键变量和函数的功能
	
3 github使用问题:
	1  尽量每写完一个类就commit一下,存到本地代码库
	2 趁着有网赶紧上传代码,你懂的
	3  所有的开发工作在dev分支上完成
	4 push的时候注意也统一push到远程的dev分支,在所有功能正常后将稳定版本统一合并到master分支
	5 fetch不成功时,先pull一下再尝试
	
4 每完成一个功能,负责人将功能实现的逻辑流程在对应包下的说明文档中详细说明


	

 

 

<<<<<<< HEAD
1.添加自定义字段的task标示    
  Window->Preferences->JAVA->Compiler->Task tag
2.添加快捷输入模板 
 window -- preferences -- java --editor -- templates 
3.!!!!!协议要一个人制定  全部协议!!!
=======
1.添加自定义字段的task标示      Window->Preferences->JAVA->Compiler->Task tag
2.添加快捷输入模板  window -- preferences -- java --editor -- templates 
3.!!!!!协议要一个人制定  全部协议!!!

4.一定要避免硬编码
3.!!!!!协议要一个人制定  全部协议!!!
4.注意不要硬编码
>>>>>>> branch 'dev' of https://github.com/LJmengmengda/TimeBank

 

推荐博客:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000
虽然是命令行的教程,但是对git的原理讲解的很清楚,对应的命令行操作在eclipse的右键菜单中基本都能够找到

eclipse中的git教程:  http://blog.csdn.net/hhhccckkk/article/details/10458159


eclipse中使用git基本操作:

在工程上右键——team中执行

1 commit:提交修改到本地,同时添加修改说明

2 fetch from upstream ( remote——feach):从远程库得到代码(可能需先pull)

3 push to upstream(remote——push):向远程库推送本地的修改

4 switch to: 切换到不同的分支,new branch可以新建分支

5 pull:获取远程库,检查不同

6 merge:把当前分支与指定分支合并

7 show in history: 查看历史修改,可在History视图中查看所有commit,
并可通过右键——checkout回退至相应的版本

 

  • 大小: 37.8 KB
  • 大小: 69.1 KB
分享到:
评论
1 楼 z2367570158 2014-07-23  
Life is so long and so painful,use c++

相关推荐

    Java Language Features 2nd Edition

    In short, I wrote this book to help the Java community understand and use the Java programming language effectively, without having to read many books on the same subject. I wrote this book with the ...

    Apress.Beginning.Java.8.Language.Features.

    not get a chance to use Java in a project until 1999. I read two Java books and took a Java 2 Programmer certification examination. I did very well on the test, scoring 95 percent. The three questions...

    Apress.Beginning.Java.8.Fundamentals

    not get a chance to use Java in a project until 1999. I read two Java books and took a Java 2 Programmer certification examination. I did very well on the test, scoring 95 percent. The three questions...

    Java+Language+Features-2nd+Edition-Apress(2018).pdf

    In short, I wrote this book to help the Java community understand and use the Java programming language effectively, without having to read many books on the same subject. I wrote this book with ...

    Mastering+Java+Machine+Learning-Packt+Publishing(2017).epub

    Chapter 1, Machine Learning Review, is a refresher of basic concepts and techniques that the reader would have learned from Packt's Learning Machine Learning in Java or a similar text. This chapter is...

    Selenium Testing Tools Cookbook 最新 原版

    This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java to test web-based ...

    Python-基础-入门 简介

    Python简介及入门 python为什么是python 选择自己喜欢的语言,这往往不容易,更多的是根据需求 ...Life is short, I use python! 简介 python介绍: 到官网自个看 有兴趣可以看看: 解释性语言+动态类型语言+强

    Google C++ Style Guide(Google C++编程规范)高清PDF

    If an inline function definition is short, with very little, if any, logic in it, you should put the code in your .h file. For example, accessors and mutators should certainly be inside a class ...

    Selenium.Testing.Tools.Cookbook.2nd.Edition.178439251

    This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java to test web-based ...

    Thinking in Java 4th Edition

    Object creation & lifetime ... 30 Exception handling: dealing with errors ............... 31 Concurrent programming ... 32 Java and the Internet .......... 33 What is the Web? ...........................

    Mastering.OpenCV.Android.Application.Programming.1783988207

    If you are a Java and Android developer looking to enhance your skills by learning the latest features of OpenCV Android application programming, then this book is for you. What You Will Learn ...

    Python: The Ultimate Python Quickstart Guide - From Beginner To Expert [2016]

    Knowing the importance of Python in today’s corporate world and job market, and knows exactly how and where you will be able to use your newly found skills to shine in your life! Don’t think about ...

    Beginning Python (2005).pdf

    Formal Testing in the Software Life Cycle 207 Summary 208 Chapter 13: Writing a GUI with Python 209 GUI Programming Toolkits for Python 209 PyGTK Introduction 210 pyGTK Resources 211 Creating ...

Global site tag (gtag.js) - Google Analytics