Showing posts with label S/W Development. Show all posts
Showing posts with label S/W Development. Show all posts

23 December 2007

볼랜드 포럼 - 델파이 강좌/문서

http://delphi.borlandforum.com/impboard/impboard.dll?action=list&db=del_tutorial

Delphi (델파이)에 관련한 다양한 문서와 동영상 강좌 등이 있습니다.

10 September 2007

졸업프로젝트

졸업 후 바로 취업을 할 학생임에도 불구하고 인호 교수님께서 지도해 주시겠다고 해주셔서 이번 학기 소프트웨어 공학을 재밌게 공부할 수 있게 되었습니다 ^~^*
함께 토픽을 생각해보자며 재미있는 프로젝트가 될 것 같다며 웃어주시는 교수님의 미소가 샤방샤방하니~ 저 역시 열심히 해서 재미있는 프로젝트가 될 수 있도록 노력해야겠다고 다짐했습니다.
교수님 방을 나오는 발걸음은 나빌레라~ >ㅂ<♡

http://embedded.korea.ac.kr/files/research_re.html

---
Google 인턴 서울 T.O가 없었군요 >_<;;;

20 August 2007

201가지 소프트웨어 개발원칙

[일반원칙]

1. 품질이 제일이다.
2. 품질의 정의는 보는 사람에 따라 다르다,
3. 생산성과 품질은 불가분의 관계이다.
4. 고품질의 소프트웨어를 개발할 수 있다.
5. 사후에 품질을 만들어 넣으려 하지 말라.
6. 성능보다 신뢰성이 더 중요하다.
7. 시제품을 고객에게 빨리 보여준다.
8. 고객이나 사용자와 충분히 협의한다.
9. 개발자와 고객에게 적합한 보상기준을 마련한다.
10. 처음 시도하는 것은 폐기할 작정으로 개발한다.
11. 적절한 유형의 시제품을 개발한다.
12. 적절한 기능을 시제품화 한다.
13. 일회용 시제품은 빨리 개발한다.
14. 시스템을 점증적으로 개발한다.
15. 보면 볼수록 더 많은 것을 원한다.
16. 개발중의 변경은 피할 수 없다.
17. 가능하면 개발하기 보다는 구매한다.
18. 사용자 매뉴얼이 간단하게 되도록 소프트웨어를 개발한다.
19. 아무리 복잡한 문제라도 해결책은 있다.
20. 가정한 것이 있으면 이를 기록한다.
21. 다른 단계에는 다른 언어를 사용한다.
22. 도구를 사용하기 전에 기법을 배운다.
23. 도구는 현실적으로 사용한다.
24. 소프트웨어 도구는 우수한 개발자에게만 제공한다.
25. CASE도구는 고가이다.
26. "Know-How"만큼 "Know-When"도 중요하다.
27. 목적을 달성하면 중단한다.
28. 정형적 방법을 알아야 한다.
29. 조직의 평판을 중시한다.
30. 대세를 따를 때는 주의해야 한다.
31. 기술을 무시하면 안된다.
32. 문서 표준을 사용한다.
33. 모든 문서에는 용어정의를 한다.
34. 모든 문서에는 색인을 부여한다.
35. 같은 개념에는 같은 명칭을 사용한다.
36. 연구결과의 기술이전은 즉시 되지 않는다.
37. 책임을 질 줄 알아야 한다.

[요구공학 원칙]
38. 요구사항이 불명확할수록 비용예측은 어렵다.
39. 요구사항을 기록하기 전에 문제를 확실하게 결정한다.
40. 지금 요구사항을 결정한다.
41. 요구명세상의 오류는 즉시 수정해야 한다.
42. 시제품으로 사용자 인터페이스 선정의 위험을 줄인다.
43. 요구사항 항목의 선정근거를 기록한다.
44. 최소 요구사항을 식별한다.
45. 요구사항을 검토한다.
46. 요구분석단계에서 설계하지 않는다.
47. 올바른 기법을 사용한다.
48. 여러 관점으로 요구사항을 분석한다.
49. 요구사항을 현명하게 조직화한다.
50. 요구사항의 우선순위를 정한다.
51. 간결하게 기록한다.
52. 모든 요구사항에 유일한 식별번호를 부여한다.
53. 요구사항의 모호성을 줄인다.
54. 자연어는 정형모델로 보완만 하고 대체하지는 말라.
55. 먼저 자연어로 기록하고 정형모델을 작성하라.
56. 요구명세서는 읽기 쉬워야 한다.
57. 신뢰성에 대하여 구체적으로 명시한다.
58. "수용 불가능한" 환경조건을 명시한다.
59. 미결정항목은 각주와 함께 작성한다.
60. 요구명세서를 데이터베이스에 저장한다.

[설계 원칙]
61. 요구사항에서 설계로의 전환은 어렵다.
62. 설계산출물에서 요구사항을 추적한다.
63. 대안을 평가한다.
64. 문서가 없는 설계는 설계가 아니다.
65. 캡슐화 한다.
66. 가능하면 재사용한다.
67. 단순하게 개발한다.
68. 특수한 경우를 많이 만들지 않는다.
69. 지적인 거리를 최소화 한다.
70. 설계를 지적 통제하에 둔다.
71. 개념적 무결성을 유지한다.
72. 개념적 오류는 문법적 오류보다 심각하다.
73. 결합도는 낮추고 응집도는 높인다.
74. 변경이 쉽게 설계한다.
75. 유지보수를 고려하여 설계한다.
76. 오류수정이 쉽게 설계한다.
77. 일반성을 띄게 소프트웨어를 개발한다.
78. 유연성 있게 소프트웨어를 개발한다.
79. 효율적인 알고리즘을 사용한다.
80. 사용자가 필요로 하는 모든 정보는 모듈명세서에 있다.
81. 설계는 다차원적이다.
82. 뛰어난 설계는 뛰어난 설계자가 한다.
83. 어플리케이션에 대해서 숙지한다.
84. 큰 투자 없이도 재사용할 수 있다.
85. 무효한 값을 입력하면 적절한 오류 메세지를 출력하도록 한다.
86. 소프트웨어 신뢰성은 중복성을 통해 얻을 수 있다.

[코딩원칙]
87. 트릭을 사용하지 않는다.
88. 광역변수를 사용하지 않는다.
89. 하향식으로 읽을 수 있도록 작성한다.
90. 부작용을 제거한다.
91. 의미 있는 명칭을 사용한다.
92. 사람을 위한 프로그램을 작성한다.
93. 최적의 자료구조를 사용한다.
94. 빨리 하기 보다는 올바르게 한다.
95. 코드를 완성하기 전에 주석을 작성한다.
96. 코딩을 시작하기 전에 문서화한다.
97. 모든 구성요소를 책상 위에서 실행시켜 본다.
98. 코드 검사를 실시한다.
99. 비구조적 언어도 사용할 수 있다.
100. 구조화된 코드가 반드시 좋은 코드는 아니다.
101. 너무 깊이 중첩 시키지 않는다.
102. 적절한 언어를 사용한다.
103. 프로그래밍 언어를 핑계 삼아서는 안된다.
104. 언어에 대한 지식은 중요하지 않다.
105. 프로그램의 체계를 정비한다.
106. 코딩을 너무 빨리 시작하지 말아라.

[시험원칙]
107. 시험에서 요구사항을 추적한다.
108. 시험하기 훨씬 이전에 시험을 계획한다.
109. 자신이 개발한 소프트웨어를 자신이 시험하지 않는다.
110. 자신이 개발한 소프트웨어의 시험계획은 남이 세운다.
111. 시험은 결함을 드러나게 할 뿐이다.
112. 오류의 많고 적음과 소프트웨어의 가치는 무관하다.
113. 오류를 찾아야 성공적인 시험이다.
114. 15% 모듈에서 50%의 오류가 발견된다.
115. 블랙박스시험과 화이트박스시험을 실시한다.
116. 시험사례에는 예상결과를 포함시킨다.
117. 무효한 값으로 시험한다.
118. 항상 스트레스 시험을 한다.
119. 빅뱅설을 적용하면 안된다.
120. McCabe의 복잡도 척도를 사용한다.
121. 효과적인 시험종료 척도를 사용한다.
122. 시험 적용범위를 효과적으로 활용한다.
123. 단위시험이 끝나기 전에 통합하지 않는다.
124. 소프트웨어에 특정한 시험용 코드를 내장시킨다.
125. 오류의 원인을 분석한다.
126. 오류를 개인적인 차원으로 생각하지 않는다.

[관리원칙]
127. 뛰어난 관리는 뛰어난 기술보다 중요하다.
128. 적절한 해결책을 이용한다.
129. 읽은 것을 모두 믿지 않는다.
130. 고객의 우선순위를 알아야 한다.
131. 사람이 성공의 열쇠이다.
132. 많은 사람보다는 소수정예요원이 더 낫다.
133. 부하 직원의 말을 경청한다.
134. 부하 직원을 신뢰해야 한다.
135. 항상 기대치를 높이 가진다.
136. 능숙한 의사소통 기술은 필수적이다.
137. 진심으로 부하직원을 위해준다.
138. 사람은 의외의 것으로 동기부여 받는다.
139. 사무실 분위기를 조용히 유지한다.
140. 인력과 시간은 대체할 수 없다.
141. 소프트웨어 개발자의 능력차이는 크다.
142. 원하는 목표로 최적화 할 수 있다.
143. 자료수집을 강요하면 안된다.
144. 코드 1줄 당 비용은 무시한다.
145. 완벽한 생산성 측정방법은 없다.
146. 비용산정 모델을 조정한다.
147. 일정은 현실적으로 계획한다.
148. 불가능한 것은 피한다.
149. 측정하기 전에 무엇을 측정할 지 알아야 한다.
150. 생산성 자료를 수집한다.
151. 팀의 생산성을 잊지 않는다.
152. 인월 당 행수(LOC/PM)은 언어와 관계없다.
153. 일정을 믿는다.
154. 정확하게 산정한 비용견적이라도 완전히 맞지는 않는다.
155. 일정을 정기적으로 재조정한다.
156. 약간 적은 견적을 항상 나쁘다고 할 수는 없다.
157. 자원을 적절히 할당한다.
158. 프로젝트를 치밀하게 계획한다.
159. 계획을 최신 버전으로 유지한다.
160. 잦은 계획변경의 파급효과에 주의한다.
161. 최상위 10개의 위험항목을 알아야 한다.
162. 직면한 위험을 이해한다.
163. 적절한 프로세스 모델을 사용한다.
164. 방법론이 당신을 구해주지는 못한다.
165. 기적적인 생산성 향상 비법은 없다.
166. 진척도의 의미를 정확히 알아야 한다.
167. 계획과의 차이만 관리한다.
168. 하드웨어에 과중한 부하를 주지 않는다.
169. 하드웨어의 발전에는 낙천적으로 대응한다.
170. 소프트웨어의 발전에는 비관적으로 대응한다.
171. 예상치 못한 사고로 인해 대혼란이 자주 초래된다.
172. 프로젝트의 사후 검토회를 실시한다.

[제품보증 원칙]
173. 제품보증 수준은 프로젝트에 맞게 조정한다.
174. 형상관리 절차를 조기에 확립한다.
175. 소프트웨어 프로세스에 SCM을 적용한다.
176. SCM은 프로젝트 관리에 독립적으로 조직화한다.
177. 개발과 제품보증업무 사이를 순환보직화 한다.
178. 모든 중간산출물에 명칭과 버전 번호를 부여한다.
179. 기준선을 통제한다.
180. 모든 것을 보존한다.
181. 모든 변경을 계속 추적한다.
182. 변경관리를 해야 한다.
183. 변경요청에 우선순위를 부여하고 일정계획을 세운다.
184. 대규모 개발에는 검증과 확인(V&V)을 적용한다.

[진화원칙]
185. 소프트웨어는 계속 변화한다.
186. 소프트웨어의 엔트로피는 증가한다.
187. 고장나지 않았으면 고치지 않는다.
188. 증상이 아닌 근본적인 문제를 수정한다.
189. 요구사항을 먼저 변경한다.
190. 릴리즈 전의 오류는 릴리즈 후의 오류의 원인이 된다.
191. 프로그램은 오래되면 될수록 유지보수하기 어려워진다.
192. 언어는 유지보수성에 영향을 미친다.
193. 때로는 처음부터 수정하는 방법이 좋다.
194. 최악의 구성요소는 처음부터 다시 개발한다.
195. 유지보수는 개발보다 많은 오류를 발생시킨다.
196. 변경한 후에는 반드시 회기 시험을 실시한다.
197. 변경사항이 간단하다고 방심하면 잘못 변경하게 된다.
198. 비구조적인 코드는 구조화해도 개선되지 않는다.
199. 최적화하기 전에 프로파일러를 사용한다.
200. 시스템에 친밀감을 갖는다.
201. 시스템은 환경변화에 따라 계속 변화한다.

출처 : '201가지 소프트웨어 개발원칙' 목차

8 July 2007

Ten Usability Heuristics

by Jakob Nielsen
These are ten general principles for user interface design. They are called "heuristics" because they are more in the nature of rules of thumb than specific usability guidelines.

  1. Visibility of system status
    The system should always keep users informed about what is going on, through appropriate feedback within reasonable time.
  2. Match between system and the real world
    The system should speak the users' language, with words, phrases and concepts familiar to the user, rather than system-oriented terms. Follow real-world conventions, making information appear in a natural and logical order.
  3. User control and freedom
    Users often choose system functions by mistake and will need a clearly marked "emergency exit" to leave the unwanted state without having to go through an extended dialogue. Support undo and redo.
  4. Consistency and standards
    Users should not have to wonder whether different words, situations, or actions mean the same thing. Follow platform conventions.
  5. Error prevention
    Even better than good error messages is a careful design which prevents a problem from occurring in the first place. Either eliminate error-prone conditions or check for them and present users with a confirmation option before they commit to the action.
  6. Recognition rather than recall
    Minimize the user's memory load by making objects, actions, and options visible. The user should not have to remember information from one part of the dialogue to another. Instructions for use of the system should be visible or easily retrievable whenever appropriate.
  7. Flexibility and efficiency of use
    Accelerators -- unseen by the novice user -- may often speed up the interaction for the expert user such that the system can cater to both inexperienced and experienced users. Allow users to tailor frequent actions.
  8. Aesthetic and minimalist design
    Dialogues should not contain information which is irrelevant or rarely needed. Every extra unit of information in a dialogue competes with the relevant units of information and diminishes their relative visibility.
  9. Help users recognize, diagnose, and recover from errors
    Error messages should be expressed in plain language (no codes), precisely indicate the problem, and constructively suggest a solution.
  10. Help and documentation
    Even though it is better if the system can be used without documentation, it may be necessary to provide help and documentation. Any such information should be easy to search, focused on the user's task, list concrete steps to be carried out, and not be too large.

http://www.useit.com/papers/heuristic/heuristic_list.html


HCI 수업 때 알게 된 내용입니다. HCI의 관점에서 소프트웨어를 평가할 때 위의 열 가지 내용을 토대로 소프트웨어의 Usability를 평가합니다. 위의 내용을 고려하여 사용자에게 친숙하고 사용이 용이한 프로그램을 개발할 수 있습니다.

Knowledge Management System (KM System)

KM System은 직원이 기업의 문서, 정보 소스, 그리고 솔루션 등을 엑세스 할 수 있도록 해주는 시스템입니다. 이 시스템으로 인해 직원들이 업무 중에 자주 직면하는 문제에 대한 지식을 효과적으로 공유할 수 있습니다. 또한 지식(문서)를 등록, 수정, 삭제 등을 할 수 있으므로 Web 2.0의 공유와 참여의 정신을 반영합니다.

POSDATA에서 KM System 개발을 시작하였습니다.

언어: JSP
DBMS: Oracle
서버: HP서버
개발Tool: JDeveloper
개발자: 박현정, 박진우

Java Beans를 이용할 계획입니다.

주말에 현재 HCI 시간에 배운 내용을 바탕으로, Paper Prototype를 만들어 보았습니다.
회사에 얼른 가서 파트너인 박진우씨와 그룹원들의 feedback을 받고 싶군요 ^^*
회사다니는 것은 참 재밌네요.
인턴이라서 그런지 모르겠지만, 프로젝트에 대한 제한은 크게 없으며 다만 회사에서 이미 사용하고 있는 플랫폼들을 고려하는 것 정도입니다. 저희의 창의력을 마음껏 발휘해보라고 하셨습니다.
게다가 더 중요한 것은 저희 멘토님은 물론, 팀장님, 과장님, 대리님들의 사회 생활을 위한 조언 들을 받을 수 있다는 것입니다. =)
정말 좋은 분들입니다. 회사 동료들이 좋으니 일 하는 것도 즐겁네요. >ㅂ<

3 July 2007

기회는 준비된 만큼 잡을 수 있어.

그러니까 자기 개발(계발)을 위해 노력 해야지.

웹 프로그램, HP서버, DB를 다루는 비지니스 솔루션을 만들어 보고 싶었는데
이번 하계 인턴 기회를 잘 활용하면 맞춤형 인턴 교육으로 만들 수 있을 것 같아요 ^^
SQL을 이용해서 ORACLE을 활용하고, JSP을 이용하여 WAS를 만들어 보는 것이 어떨지 고려중이예요.

물 반, 고기 반 이라도 맨손으로 잡는데는 한계가 있죠.
양서와 구글링으로 튼튼하고 큰 그물을 짜야겠어요.
정말이지 좋은 기회예요. 멘토분들도 길잡이를 잘 해주시고, 많이 도와주시려고 하고요.
즐겁습니다. =) 퇴근길이 아쉬워서 회사 근처에 고시원이라도 잡고 싶은 마음이 들었어요.

명품 S/W를 만들겠어요 ;)
자~ 도전!!

25 June 2007

책 주문

읽고 싶은 책을 주문했다. 이얏~~ >ㅂ<)// 여러 종류의 책을 맘껏 읽을 수 있어서 방학이 좋아요. =) 인턴하면 돈 주시겠지? 책 값으로 20여 만원 정도 쓰는 것은 나쁘지 않아. 아이 좋아라 ㅋㄷ 두 달 동안 다 읽어야지 ^~^*

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Amazon.com 에서

MCAD/MCSD Self-Paced Training Kit: Microsoft .NET Core Requirements, Exams 70-305, 70-315, 70-306, 70-316, 70-310, 70-320, and 70-300 box vol. set - Microsoft Corporation
$107.09

Code Complete, Second Edition - Steve McConnell
$32.99

Subtotal of Items: $140.08
Shipping & Handling: $16.97
------
Total for this Order: $157.05

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
교보문고에서
  • 눈치코치 직장매너10,800원
  • 최상의 자신을 만들어라 10,800원
  • 미래교양사전 11,520원
  • 경청(마음을 얻는 지혜) 9,000원
  • 생각정리의 기술(마인드맵) 10,800원

3,000원 할인쿠폰 사용 후, 실결제금액 49,920 원

23 May 2007

성공한 개발자와 행복한 개발자

김창준김창준 juneaftn@hanmail.net

현재 애자일컨설팅 대표로 있으며 주로 소프트웨어 개발 조직의 생산성과 인간성 모두를 증진하기 위해 컨설팅, 코칭, 교육 등을 하고 있다. 애자일이야기(http://agile.egloos.com)라는 블로그를 운영중이다.


2007년 4월 24일

[본문읽기]

행복해야 성공한다

한 마디로 요약하자면 이 말이다.

그렇다면 이제 나는 직장에서 성공할 자신이 있다.
욕심내자면, 내가 하루의 1/3 을 보낼 직장 동료들 역시 긍적적인 사람들이면 좋겠다 ^~^*


가정에의 성공은...


9 May 2007

Setting my laptop

I installed

  • Windows XP ntfs 20GB
  • Ubuntu 7.04 - the Feisty Fawn - released in April 2007
    • / ext3 8.0GB (after installing: 5.0GB)
          • for root (which is for programs and libraries)
    • /home ext3 9.5GB (after installing: 7.4GB)
          • for user(myself) (which is for my documents and data)
    • swap (swap) 1.5GB
          • which is like virtual memory
  • Java 1.5.0_11-b03
  • Robocode 1.2.6A
  • Eclipse 3.2.2
Ubuntu's Desktop effects are so cool.
I couldn't sleep because there are a lot of things that looks funny :)

---

5 May 2007

Northwestern Technology Conference for Undergraduates

Simon Fraser University, Burnaby, Canada

I've participated in NTCU from 2nd to 4th of May
Its contents were very interesting, food was not bad, and talking with David was great :)
We talk about open source programs, his work at Apple with Steve Jobs, his Seoul visiting, and so on.
And fortunately, I ranked 3rd place at a program competition and won a Future Shop Gift Card ($50.00). Great!! =p
I completely solved 2 problems. For the second problem, I made a Map for country/area codes and phone numbers. At the first trial, I saved a phone number as an Integer. However, the number is bigger than Integer can store. So I had to change the type of Value to String (for phone numbers). It took some time. Although I solved the same number of problems as a winner did, I took more time for changing my code. It is worth though. Because of this experience, I will carefully decide appropriate types of variables for my next programs. =)




  • Keynote
    • The Future is Never What You Thought It Would Be
    • by David Schlesinger: Director of Open Source Technologies at ACCESS Systems Americas, Inc
    • Therefore, you should do what you love to do =)
  • Seminar #1
    • Does my computer really understand me?
    • by Fred Popwich: Professor, SFU Computing Science
  • Seminar #2
    • Software and its Place in the Industry
    • by Dale Lutz: co-CEO of Safe Software
  • Seminar #3
    • Introduction to Software Development for BI World
    • Lawell Kiing: Senior Director, Engineering at Business Objects
  • Seminar #4
    • Starting an Information-based Technology Company
    • by Peter Tingling: Professor, SFU Business and CEO of Octothrope Software
    • “Imagination is more important than knowledge. For knowledge is limited to all we now know and understand, while imagination embraces the entire world, and all there ever will be to know and understand.” - Albert Einstein
  • Seminar #5
    • The Connected Multimedia Experience: Sharing Discoveries
    • Glenn Roy: Engineering Line Manager, Nokia
  • Keynote
    • Trends in We2.0 and Enterprise Architecture
  • Tech Expo
  • Competitions
    • Programming competition (mini-ACM)
  • Think Tank
    • discussion about
      • Personal Information with web2.0
      • Patent

20 April 2007

What you should avoid for creativity are

  • Confirmation biases
    • A confirmation bias is the tendency to search for evidence that confirms our beliefs rather than to search for evidence that falsifies those beliefs.
  • Surveillance
    • Being watchedExpected evaluation
    • Especially when this leads to over focusing on how work is going to be evaluated
  • Extrinsic motivators
    • ..and lack of intrinsic motivation
  • Competition with peers
  • Constrained choice
    • Too many limits on how to do the work.


People tend to verify what they believe.
You should avoid confirmation biases for creativity.
And also, you should test your programs, avoiding confirmation biases.


from an Organizational Behaviour lecture..

18 April 2007

Project Life Cycle


This one's been around a while and just feels so true...
http://www.sellsbrothers.com/fun/#Project_Life_Cycle


Wow~ the communication is the most important thing ever.
I have to be sure that I really understand what you want before starting a project.
Otherwise, that leads to misunderstand and be dissatisfied.

9 April 2007

Vista slower than XP at start-up, shutdown, gripe users

Au contraire, says Microsoft; Vista should be faster for most [read more...]

Said Jon: "XP is undoubtedly quicker than Vista. I don't think there will be a way around that. You'll never get extra functionality, without some performance cost, assuming the same hardware."

Well, that's right. But what we have to do is trying to give more functionality with same cost, isn't it?
I laughed twice while reading this article
at here.
"I'm currently writing this on my other PC, because nothing has happened on my Vista machine for about 15 minutes."
...
and here.
Microsoft has positioned Vista's new sleep mode -- a hybrid state that combines Windows XP's separate hibernation and standby modes -- as the default setting, essentially conditioning users to not power-off their PCs. Some have reasoned that the move was made to mask Vista's long boot and shutdown times.
Lol. So, is that reason why the next client version of Windows after Vista (Windows Seven) is upcoming?
Although Vista is cool, it should be better to meet customers' needs.

7 April 2007

Robocode




It looks interesting.
After the last final exam, I'm going to build three robots by July 15

I think the key point of this competition is a strategy like algorithm.


SourceForege.net

Secrets from the Robocode masters by dW

RobocodeFrom Wikipedia

RoboWiki

Korean blog

5 April 2007

I’m done.

with Introduction to Software Development Term Project (Winter 2006, term 2)
  • A program in Java that performs file compression and decompression using the LZW compression algorithm

Wow, so beautiful!!

Because TA who gives me marks considers my coding style, I became more focusing on good style of programming. In other words, I'm trying to make more maintainable and readable programs with good coding style.
When my TA deducted my marks just because of no appropriate helper method, no module, or using 'this.' when it is not necessary, I felt bad at that time.
But I really appreciate because I know I can lean from those in the long run. =)
Plus, I became a student who loves to make good programs after taking computer science courses at UBC. And now I know I enjoy solving problems that gives me a sense of achievement.
So, computer science is fun ;) You should try IT.

Coding With Style
It is important to follow the coding conventions that your team sets. That said it can be an enormous pain to break personal coding habits. Coding styles can be widely varied and you may even have the "pleasure" of working on separate projects at once that each have their own coding conventions. [read more...]

3 April 2007

Hyun Jung's Life: Imagine Cup 2007, Toronto Regional Final

Hyun Jung's Life: Imagine Cup 2007, Toronto Regional Final


I have been in Toronto last weekends for Regional Final.
It was awesome!!
All Canadian students who I met there were not only intelligent, but also nice and funny. =)
Although I couldn't get a chance to go to the
Final, it was good trip by itself.
Thanks, MS =)


-
---------------[ Toronto Regional Final ]------------------------------------------------
  • Hyun Jung University of British Columbia
    • Ranked #38 among all Canadian competitors
    • Ranked #8 among all UBC students
------------------------------------------------------------------------------------------------------
  • University of British Columbia British Columbia
    • Ranked #1 among all Universities in Canada. (Two guys are finalists.)
We ALL are winners!!! d(^~^)b
------------------------------------------------------------------------------------------------------

I used...
Language: C#
IDE: Microsoft Visual C# 2005 Express Edition
OS: Windows XP

To Make Better Programs


  1. Fully Understand Customer's Needs
    • 고객, 즉 사용자가 무엇을 원하는지 파악하는 것이 중요하다. 아무리 좋은 기능이라고 해도 당신의 고객이 원하지 않는다면 가치가 없다.
  2. Scheduling: According to The Mythical Man-Month, you may spend time for
    Design (1/3), Coding (1/6), Component testing (1/4), and System testing (1/4). That means Design (4) : Coding (2) : Component testing (3) : System testing (3)
    • Brooks law에 따르면 늦어진 프로젝트에 사람을 충원하는 것은 프로젝트를 더욱 느리게 만들 뿐이다. 대게 실제 코딩을 하는 데 대부분의 시간을 쓴다고 생각하지만 실제 코딩은 1/6의 시간을 차지하는 것이 적당하다. 그리고 테스트에 전체의 1/2의 기간이 소요된다.
  3. Communication Between Team Members
    • Class들의 Cohesion(응집성)만 중요한 것이 아니다. 조직행동론에 따르면 높은 Cohesion을 보이는 팀은 높은 성과를 내거나 낮은 성과를 낸다. (반면, 응집력이 작은 팀은 약간 좋은 성과를 내거나, 약간 낮은 성과를 낸다.) 성패를 좌우하는 것은 탁 팀원들의 공통 목표를 제대로 인식하고 goal을 향해 나아가는 가이다.
  4. Exactly Understand What Problem Is
    • 해결해야 하는 문제가 무엇인지 올바로 파악해야, 문제를 풀 수 있다.
  5. Appropriate Software Design (using Design Patterns)
    • 문제에 적절한 디자인 패턴을 이용한다. 자신이 알고 있는 디자인을 Golden hammer로 모든 곳에 적용하려 해서는 안 된다. (Golden hammer와 Anti-pattern을 참고.)
  6. Spiral Design Process: Waterfalls model은 지양해야 한다.
    Star lifecycle model, simple interaction design model, simple interaction design model, usability engineering lifecycle 등 Evaluation을 강조한 다양한 Design process가 있다.

    • Spiral model (Waterfalls model을 사용하지 말라.)
    • Interface Design and Usability Engineering
  7. Make a couple of scenarios
    • 예상되는 사용 시나리오를 몇 개 작성해 본다. 프로그램이 어떻게 사용 될지, 어떻게 사용자, H/W, 시스템이 서로 영향을 미칠지 구체적으로 기술한다.
  8. Understand What I have to do for a project, by attending meetings.
    • 특히 팀으로 진행 되는 경우, 각자의 역할이 무엇인지 명확하게 설정 되어 있어야 서로 overlap되지 않아 효율을 높일 수 있다.
  9. Cohesion and Decoupling (especially for OOP)
    • OOP의 기본 개념이다. 보다 maintainable한 프로그램을 위한 조건이다. 프로그램을 디자인할 때 염두해야 한다.
  10. Documentation (Comments, API, Javadoc, helper methods, etc.)
    • 이 역시 maintainable한 프로그램을 위한 조건이다. 덧붙여 프로젝트가 진행 됨에 따라 개발자가 교체되거나 개발팀 외부의 사람과 대화 할 때 유용하다.

Figure. Spiral model: www.swc.scipy.org/lec/dev01.html
Figure. Interface Design and Usability Engineering: http://grouplab.cpsc.ucalgary.ca/saul/481/

4 February 2007

UBC/SFU SUMMER PROGRAMMING CONTEST 2006

I participated in the 3rd Programming Contest for three hours on Saturday.
This contest was for UBC and SFU students.
I solved one out of six programming challenges, and got a scheduler as a prize.
It was worth and I enjoyed that.
Moreover, now I do know what does tab mean. =p
In other wards, I had to modify again and again because what I assumed was not what tab really is.

Language: C, C++, Java
OS: Unix (vi, emacs, eclipse, etc), Windows (dev-c++, eclipse, notepad, etc)

11 January 2007

To Make Better Programs

  1. Fully Understand customer's Needs
  2. Scheduling: According to The Mythical Man-Month, you may spend time for
    Design (1/3), Coding (1/6), Component testing (1/4), and System testing (1/4). That means Design (4) : Coding (2) : Component testing (3) : System testing (3)
  3. Communication between team members
  4. Exactly Understand What Problem is
  5. Appropriate Software Design (using Design Patterns)
  6. Spiral Development
  7. Make a couple of scenarios
  8. Understand What I have to do for a project, by attending meetings
  9. Cohesion and Decoupling (especially for OOP)
  10. Documentation (Comments, API, Javadoc, helper methods, etc.)

15 December 2006

Golden hammer

Golden hammer


From Wikipedia, the free encyclopedia

A golden hammer is any tool, technology, paradigm, snake oil, buzzword or similar whose proponents enthusiastically sing its praises. They predict that it will solve multiple problems, including some for which it is obviously not suitable. Likewise, a literal golden hammer looks highly impressive but is practically useless, as gold is a relatively soft and heavy metal.

The phrase "When the only tool you have is a hammer, everything looks like a nail" (Abraham Maslow) is similar to the concept of a golden hammer; once you have a tool that works for one task, you want to use it for everything just because it's available, and because you have already developed the skills to use it.

The antonym term for golden hammer is "using the right tool for the job."