“is is a book about
good programming. ”
2009 10 31
- Jack W.Reeves
2009 10 31
✓
✓
2009 10 31
2009 10 31
2009 10 31
2009 10 31
2009 10 31
photo by sunflowerdave
2009 10 31
2009 10 31
We who cut mere stones
must always be envisioning
cathedrals.
e Pragmatic Programmer
2009 10 31
2009 10 31
2009 10 31
Programmers are
Responsible Professionals.
- Martin Fowler
2009 10 31
Photo by chrishedgate
2009 10 31
✓
✓
✓
✓
2009 10 31
photo by foliosus
2009 10 31
photo by foliosus
2009 10 31
int d; //
int elapsedTimeDays;
int daysSinceCreation;
int daysSinceModification;
int fileAgeInDays;
photo by foliosus
2009 10 31
public List<int[]> getThem() {
List<int[]> list1 = new ArrayList<int[]>();
for (int[] x : the List)
if (x[0] == 4)
list1.add(x);
return list1;
}
photo by foliosus
2009 10 31
public List<Cell> getFlaggedCells() {
List<Cell> flaggedCells = new ArrayList<Cell>();
for (Cell cell : gameBoard)
if (cell.isFlagged())
flaggedCells.add(cell);
return flaggedCells;
}
photo by foliosus
2009 10 31
class DtaRcrd102 {
private Date genymdhms;
private Date modymdhms;
private final String pszqint = ...;
class Customer {
private Date generationTimestamp;
private Date modyficationTimestamp;
private final String recordid = ...;
photo by foliosus
2009 10 31
for (int j = 0; j < 34; j++) {
s += (t[j]*4/5);
}
int realDaysPerIdealDay = 4;
const int WORK_DAYS_PER_WEEK = 5;
int sum = 0;
for (int j=0; j < NUMBER_OF_TASKS; j++) {
int realTaskDays = taskEstimate[j] * realDaysPerIdealDay;
int realTaskWeeks = (realdays / WORK_DAYS_PER_WEEK);
sum += realTaskWeeks;
}
photo by foliosus
2009 10 31
if ((employee.flags & HOURLY_FLAG) &&
(employee.age > 65))
...
end
if employee.eligible_for_full_benefits?
...
end
photo by foliosus
2009 10 31
0 comments
Post a comment