ãæ¸è©ãç¾å ´ã§å½¹ç«ã¤ã·ã¹ãã è¨è¨ã®åå
èªã¿ã¾ãããæççã«åéãã¦ããå¢ç°äº¨ããï¼@masuda220ï¼ã®ç¥èãç解ããã®ã«è¯ãæ¬ã ã¨æãã¾ããããDDDã«ã¤ãã¦èª¿ã¹ã¦ãã¦å¢ç°ããã®ã¹ã©ã¤ããªã©ãè¦ã¦ãããå°ã詳ããç¥ããããããã¨æã£ã人ã¯èªããã¨ããå§ããã¾ãã
è¯ãã£ã
ãã¸ãã¯ãenumã使ã£ã¦è¡¨ç¾ãã
P60ï¼
Enumã§Strategy
ã管çããã¨ããè¨ãæ¹ã«ãªãã®ããªï¼ç¢ºãã«ããããã®ã¯åé¡ã¨å®è£
ãæå³ããå¡ã«æ´çåºæ¥ãã®ã§è¯ãããã§ãã
調ã¹ãããããããã®ãããã¾ããã
【enum】メソッドの定義(3)−strategyパターンを使う方法 - THE HIRO Says
ã¡ã½ããã¯å¿ ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã使ã
P81ï¼
ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã使ããªãçç±ãããã¨ããããããã«ã¯æ´ãªãã¯ã©ã¹è¨è¨ãåºæ¥ããããããªãã¨æã£ã¦çã£ã¦ã¿ãã
確ãã«å¼æ°ã ãã使ã£ã¦ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã使ããªãã¡ã½ãããä½ãå§ããã¨ç¥Utilã¿ãããªã®ãä½ããããã§ããã¾ãæ´çã®ããæ¹ã¨ãã¦ã¯ï¼ã¤ã«ã¾ã¨ããã¹ããããããªããã©ãå¾ã ã«ãã¦ãããããããããã®æ¦å¿µã«ã¾ã¨ãã¦ãããæ¹ãè¯ããããã¨ãªã£ã¦è¨è¨ã®ç²åº¦ãå±äººåãããã¨ãããã¾ããã¯ã©ã¹ã¯æ½è±¡çãªæ¦å¿µã§ ã¾ã¨ãããããé¢é£ãããã¼ã¿ï¼ããããã£ï¼ãä¸å¿ã«è¨è¨ããã¨ããæéã«ãã¦ããã°ãæ°ãã¤ããã巨大ã«ãªã£ã¦ããããè¨è¨è ã«ãã£ã¦ã¯ã©ã¹ã®ç²åº¦ã大ããç°ãªã£ã¦ãããã¨ããã®ã¯æ¯æ£ãããããããã¾ããã
P83ï¼ã¡ã½ãããå
¨ã¦ã®ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã使ãããã«ãªã
使ãããã«ããããã§ãè¯ããããããªãã§ããç°å¢å¤æ°ã®åå¾ãªã©ãããã®ã§ã絶対ãã§ã¯ãªãã§ããã使ã£ã¦ããªãçç±ãæ´çãã¦ããã¨çµæã¨ãã¦ãããã¯å¥ã¯ã©ã¹ã«ãã¦ããããã¨ãããã¨ã«ãªãããã«æãã¾ãã
ã¹ã³ã¼ãã¯å¯è½ãªéãããã±ã¼ã¸ã¹ã³ã¼ãã«
P85ï¼
IDEã®è£å®ã«ããã¦ãä½åãªåè£ãåºãªããªãã®ã§å
¬éçªå£ã¨ãªãã¯ã©ã¹ãã¡ã½ãã以å¤ã¯ããã±ã¼ã¸ã¹ã³ã¼ãã«ãã¦ãããã¨ã«ã¤ãã¦ã¯è³æã§ãããã ããã¡ã¤ã³ãªãã¸ã§ã¯ãã¯ãã©ããã«ã©ã®ã¬ã¤ã¤ã¼ããã§ãåç
§ãããã¨ãåæã«ä½ãã¨èããã¨ããããªãã¯ãåºæ¬ã«ãªããããªæ°ããã¾ããã
ãã¡ã¤ã³ã¢ãã«ã¨ãã¼ã¿ã¢ãã«ã¯ä½ãéãã®ã
P100ï¼
ã«ããã¨åãã£ãã¨ããæãã§ã¯ãªãããã©ãä½ã¨ãªãè¨ããã¨ãããã¨ãã¦ãããã¨ã¯åãã£ãã¨ããæãã§ããï¼ã¤è¨ãããã¨ã¯æ¬æ¸ãèªãã¾ã§ã®èªå㯠ã©ã¡ããã¨ããã¨ãã¼ã¿ã¢ãã«ãããã®çºæ³ã ã£ãã®ã§ãä½ã¨ãªãã§ãæèã§ããããã«ãªã£ãã®ã¯è¯ããã¨ã ã¨æãã¾ãã
ãµã¼ãã¹ã¯ã©ã¹ãåãã
P160ï¼
åç
§ç³»ã¨ç»é²ç³»ã«åããã¨ããçºæ³ã¯æã£ã¦ãã¾ããã§ãããå¯ä½ç¨ã®ãããµã¼ãã¹ã¨ãå¯ä½ç¨ã®ãªããµã¼ãã¹ã¯WebAPIã®ã¨ããã§ã触ãããã¦ããããã«ãã¡ããã¨åãã¦ããã¨å½±é¿ç¯å²èª¿æ»ãªã©ããã¨ããªã©æ¥½ã«ãªãã®ã§ãä»å¾ã®å®è£
ã§åãå
¥ãã¦ããããã¨æãã¾ããã
è¨é²ã®å¤æ´ãç¦æ¢ãã
P184:
以åãPostgreSqlã®å
é¨ã®ä»çµã¿ã®èª¬æãèããè¨æ¶ã§ã¯ãDBãã°ã¨ãã¦ã¯å
¨ã¦è¿½è¨ãã¦ãã ããããµããªã¼ãããã¨ãããããªè©±ã ã£ãã®ã§ æ°ãä»ãã¦ããªãã ãã§ä½ã¬ãã«å®è£
ã¨ãã¦ã¯æ´æ°ã§ã¯ç¡ãã¦è¿½å ããã¦ãã¾ããã¾ãé害æããã°ï¼å±¥æ´ï¼ï¼ãªã«ããªã¼ãã¤ã³ããã復å
ãã¾ããDBèªä½ãããããã¢ã¼ããã¯ãã§ãããã¨ããéã¿ã¦ãå¤æ´ã¨ãããããã³ãå±¥æ´ã®èµ¤é»è¿½è¨ã§ããããµããªã¼ããã¨ããã®ã«ã¯è³æã§ãã
ãã å±¥æ´ã®ã·ã¼ã±ã³ã¹ã®ç®¡çã«ã¤ãã¦ã¯å¥éèå¯ãå¿
è¦ã«ãªãå¯è½æ§ã¯æ®ãããã«æãã¾ããä¾ãã°ãµã¼ãã¼ãè·¨ã£ããã¤ã¯ããµã¼ãã¹ãªã©ã®å ´åãé åºæ§ã®ä¿è¨¼ãããããã«ã¯ä½ãããã®ä»çµã¿ãå¿
è¦ã§ããã®æãåºãæ§è½ãããã¯ã«ãªããã¨ã¯èµ·ãããã¾ããå°ãªãã¨ãå
¨ã¦ã®æãåºããï¼ã¤ã®ãã¼ãã«ã§ãããã¨ããã大éã®ãªã¯ã¨ã¹ãã§ãã³ã¯ãã¾ããæ¥ç¶ã¦ã¼ã¶ã¼ã°ã«ã¼ãæ¯ã«ãã¼ãã£ã·ã§ã³ãä½ãã¨ã ããããä»çµã¿ã®æ¤è¨ãå¿
è¦ã«ãªãå¯è½æ§ããããããã¨ãã話ã§ããã¾ãããã¾ã§éæ©è½è¦ä»¶ãå³ããå ´åãæ´æ°ã§ãã£ã¦ãå¥ã®æ¤è¨ãå¿
è¦ã«ã¯ãªã£ã¦ããã¨æãã¾ããã
ãè¨é²ã®å¤æ´ãç¦æ¢ãããã®ä¸çªã®æµæå¢åã¯çµé¨è±ããªï¼ï¼ï¼DBAããããã¾ãããããã¹ã¿ã¯é »ç¹ã«æ´æ°ãããªãããæã§ç´ãã ãã§å¯¾å¿ã§ãããã ããç°¡åã§ããï¼å¤§ä¸å¤«å¤§ä¸å¤«ãæ´æ°æ¥ä»ã®ã«ã©ã ãæ¸ãæããã¹ãã£ã¦ããã«ã¼ã«ããããããã¡ãã£ã¨ããä¿®æ£ãªã®ã«ã¬ã³ã¼ã追å ã¨ãã·ã¼ã±ã³ã¹ä»çªã¨ãä½æ¥ãå¢ããã ãã§äºæ ã®å ã ããã¨ãå½ç¶ãããã人ã¯åé¤ãã©ã°ï¼ãããã¯åé¤æ¥ï¼ã大好ãã§ãã
ãã¼ãã«è¨è¨ãåªå ãã¦â¦
P192ï¼
ãã¼ãã«è¨è¨ãåªå
ãã¦ãªãã¸ã§ã¯ããããã«åãããã¢ããã¼ãã¯ãã¸ãã¯ã®æ´çã«å¤±æãããã¨ããã¯ããã£ã¨ã¢ã¤ã¢ã¤ãã¦ããã¨ããã ã£ãã®ã§ã¹ãããªãã¾ããã
å
·ä½çã«ã¯ ãããã³ã°ï¼å½¢ã ãã®DTOï¼ããã¾ãè¯ããªããã¨ã§ã¯ï¼ã¨ããã®ã¨ããã¼ãã«ã®é¢å¿äºã¨ãã¡ã¤ã³ã®é¢å¿äºã¯éãããä¼¼ã¦éãªããã®ã ããæ°ã«ããããªãã¦ããã®ã§ã¯ï¼ã¨ããã«ã¼ãã§ããèå¯ã®åæ¬ ã¯ãã¼ãã«å®ç¾©ãããã¡ã¤ã³ã¢ãã«ãèªåçæããã¨è¯ãã®ã§ã¯ï¼ã¨ãã³ã¤ãªèãã¦ããã¨ããããããã èªåçæããã¦ãè¯ãããã©ãéã«ãã®çæç©ãããããã«ãã¡ã¤ã³ã®æ¤è¨ã®éªéã«ãªãã®ã§ã¯ï¼ã¨ãèãå§ãã¦â¦ï¼ã«ã¼ãï¼ã
ç§ã¨ãã¦ã¯ãéããã®ã¨ã¨ãããã¹ãã ã¨ãããã¨ã«æ´çãåºæ¥ãã®ã§æºè¶³ã§ã*1ã
å人çãªå¥½ã¿
æ¸ç±ã¨ç§ã®å¥½ã¿ã®éãã®æ´çã
ç¶æ é·ç§»ã¯Stateãã¿ã¼ã³
P63ï¼ç¶æ ã®é·ç§»ã®ã«ã¼ã«ãenumã§ç®¡ç
State
ãã¿ã¼ã³ã®æ¹ãå人çã«ã¯å¥½ã¿ã§ãã
Enumã ã¨ç¶æ é·ç§»ãå ¨ä½ã¨ãã¦ä¿¯ç°ãã¦è¡¨ç¾ã§ããã¨ããèããããã¨æããã©å®éã«è¦ã¦ã¿ã¦ç§ã«ã¯åããã«ãããã®ã§ãããç¶æ é·ç§»ã¯ç¶æ é·ç§»å³ã¨ã¹ãã¼ããã·ã³å³ã使ã£ã¦æ¤è¨ã»è¨è¨ããã¦ãã¹ãã§ä¿è¨¼ããã¨ããã®ã好ã¿ã§ããå°ãªãã¨ãããã®Enumã¯ã©ã¹ã§ã¦ã¼ã¶ã¼ã¨ä»æ§ãå ±æããã®ã¯ãã©ã¤ã§ã *2ã ãã®ãããã¯ãç¶æ ã管çããã¯ã©ã¹ããé¸æããã®ããèªåã®æ¬¡ã®ç¶æ ã¯èªåã§ç®¡çãããã®ããã©ã¡ãã好ã¾ããã¨æãã®ããã¨ããéãããããã¾ãããåè ã¯å ¨ä½ã®ä¿¯ç°ãã§ããã¡ãªããããããå¾è ã¯ã¯ã©ã¹ã®è²¬åãåéãã¦ãããã©å ¨ä½ã®ä¿¯ç°ã¯è£å©è³æãå¿ è¦ã§ãã
å½¢å¼çãªè³æã¯ããã£ã¦å±éº
P140ï¼ï¼P248ã«ã¦è£è¶³ããï¼
å½¢å¼çãªããã¥ã¡ã³ãã«ãè°äºé²ããå
¥ã£ã¦ããã®ã¯çåã§ããææ決å®ãåæå½¢æã®ã¢ã¦ããããã¨ãã¦è°äºé²ã¯ç°¡æçã§ã¯ãããã¨ããã³ã¹ã«ãªããããã®ã¨èãã¦ããããã§ãããã¡ããå½¢å¼çãªããã¥ã¡ã³ãã®ä½æã¯ç§èªèº«ãå¿
è¦æä½éã«ãããã¨æã£ã¦ããããåå¼ãã¦ã»ããã¨ããæã£ã¦ãã¾ãããã ãè°äºé²ã»èª²é¡ç®¡çã»QA表ãªã©çµç·¯ãææ¡ã§ããããã¥ã¡ã³ãã¯å¾ããåç»ããã¡ã³ãã¼ã«ä»æ§ç¢ºå®ã®çµç·¯ãæ·±ãã¦ãããããã«ä¾¿å©ãªã®ã§ææãã¯ããªãæ¹ãè¯ãã§ããã¨ãã«ã¦ã¼ã¶ã¼ã¨ã®åæã¯ç¹å¥æ±ããã¦ããããã§ãããã¯ã¤ããã¼ããããã«ãããã¨ããã®ã§ããã°è°äºé²ç¸å½ã®åæäºé
ãç®æ¡æ¸ããªãã«ãã¦æçµåæäºé
ã¨ãã¦ã¹ããããåã£ã¦ãããªãã¨ãæåãéåå è
ãè¦ãå ´åãéè¦ãªãã¤ã³ããä¸æçã«ãªãå¯è½æ§ãããã¾ãã
å°ãªãã¨ã è°äºé²ã®ä½è£ã«ãã ããå¿
è¦ã¯ç¡ãã¨ã¯æãããã©ããã¯ã¤ããã¼ãã«æ¸ãããæ¤è¨ã¡ã¢ãæ§æå³ããã£ã¦åæå½¢æã®ç¢ºå®ã¨ããã®ã§ããã°ã第ä¸è
ãè¦ã¦ã誤èªããªããããªã¬ãã«ã®ãã¾ã¨ããã¯ãã¦ãããæ¹ãè¯ãã§ãããã
*3
æ¸ç±ã®æå³ãããã¯ã¤ããã¼ããããããè°äºé²ä¸è¦ã§ã¯ãªãã¨ã¯æã£ã¦ãã¾ãããã ããè°äºé²ä½ãã®ç¡é§ãã¨æ´çããã¨äºæ ãèµ·ããæã«ã·ã³ãã¤ã§ãããã¨ãããã¨ãç§ã¯è¨ãããã£ãã ãã§ããã¡ãªã¿ã«ç§ã¯éçºã¡ã³ãã¼ã¨ã®ææçéãããã¨ãã«ã¯ãA3ã®ç´ãããã¯ã¤ããã¼ãã«æ¸ããªãã話ãã¦ãæåããçµãã£ããå°å·ãã¦å ±æãã¨ããã®ãè¯ããã£ã¦ãã¾ããã®ã§ããã®ä¾¿å©ãã¯è¯ãç¥ã£ã¦ããã¤ããã§ãããã ããã®è¨è¼ã責任ã®æå¨ãå ¨ã¦ããªã¼ãã¼ã§ããç§ã®ã¿ãã¨ããåæã§ãããæ¤è¨è³æã®ã¤ã³ããã¯ã¹ã¯ãã¯ã¤ããã¼ãè³æã®ãã¡ã¤ã«åããç§ã®è¨æ¶ã§ãã¤ãããã«ããã®è©±ãããã辿ã£ã¦æ¢ããã§ãããéçºãã¼ã å ã§ããã° ããã§ãè¯ãã§ãããã¦ã¼ã¶ã¼ã¨ã®åæäºé ã ããã¨åçã«æããã®ã¯å人çã«ã¯æµæãããã¾ã*4ã
å¥ç´ã«ããè¨è¨
P165ï¼
é²å¾¡çããã°ã©ãã³ã°ã§ã®ããéãæ¸å¿µã¯åãããªãã¯ãªãããã©ãããã§ã¯ãªãå¥ç´ã«ããè¨è¨ãã¤ã³ã¼ã«ã§ã·ã³ãã«ã«ãªãã¨ããã®ã¯çåã§ããã¦ã¼ã¹ã±ã¼ã¹è¨è¿°ãä¾ã«ãã¦ããèªåã®ã¦ã¼ã¹ã±ã¼ã¹ãå®è¡ããäºåæ¡ä»¶ã®å®ç¾©ã¯ãèªåã§ä¸ç¾©çã«ããã®ãçãè¯ãã¨æãã¾ãããä»æ§ãæ¼ãåºã¦ãããªãã¨æãã¾ããå¼åºå´ã¨ãã¦ããä½ãè¿ã£ã¦ãããããããªãã¨ããåæã§ããæ§ã
ãªæ¤è¨¼ã³ã¼ããæ¸ãã¾ããã¨ããããã©ãããã¯å¼åºå´ã¨ãã¦å¾ç¶å¦çãè¡ãã«ããã£ã¦å¿
è¦ãªãäºåæ¡ä»¶ãã®æ¤è¨¼ãããªãã¨ãããªãã ãã§ã¯ï¼ã¨æãã¾ãã
Nullã®æ±ãã«ã¤ãã¦ã¯ã確ãã«èª²é¡ã§ãããããã¯ããã¸ã§ã¯ãå
¨ä½ã§çµ±ä¸ãããã¨ã§ãã£ã¦ããããã¤ã³ã¼ã«ã§é²å¾¡ãããå¥ç´ã«ãã¨ã¯ã¤ãã¤ãã¤ãªãããªãæ°ããã*5ãå人çã«ã¯ãµã¼ãã¹ã®æ»ãå¤ã®åï¼ã¤ã¾ããã¡ã¤ã³ãªãã¸ã§ã¯ãï¼ï¼ä¾å¤ï¼JavaDocã¨ããã¤ã³ã¿ã¼ãã§ã¼ã¹ãæã£ã¦ãåºæ¬çãªç´æäºã¯æºããããããã«ãªãã¨æã£ã¦ãã¾ãã
ã²ãã£ã¨ãããç§ã®ç解ã誤ã£ã¦ããå¯è½æ§ãããã¾ãã ãããªé¢¨ã«æãã¾ããã
ãã¨ãä¾å¤ã使ãã®ã¯ãé常ã®ä½¿ãæ¹ã§ã¯ãã¾ãèµ·ããªãå ´åã«éãã¾ãããåæ§ã«çåã§ããä¾å¤ã¯é常äºã ã§ã¯ãªããäºåæ¡ä»¶ä¸æ£ãï¼äºåæ¡ä»¶ã ãã§ã¯ãªãã§ããï¼ã¨ãããããªä¸»ããé¢å¿äºãæºãããªãå ´åã®ã«ã¼ãã ã¨æã£ã¦ãã¾ãããããããªãã¨å¤å¼ãããããªã¿ã¼ã³ã³ã¼ãã§å¯¾å¿ããã®ããªï¼ã¨ããå°è±¡ãããªãã§ã*6ãBeanValidationï¼å ¥åå¤æ¤è¨¼ï¼ãäºåæ¡ä»¶ã ã¨èãã¾ããæ¤è¨¼ä¸æ£æã¯éãã§ãã¯ä¾å¤ã§è¡¨ç¾ãã¾ããããããé常ã®ä½¿ãæ¹ã§ã¯ãã¾ãèµ·ããªãå ´åãã¨ããã®ã¯éãã®ã§ã¯ãªãã§ããããï¼
æ¸ç±ã®ä¾ã¨ãã¦ãã¼ãé¤ç®ããæãã¦ãã¾ããããã¼ããæ ¼ç´ããå¤æ°ï¼ã¯ã©ã¹ï¼ãé¤ç®ã«ä½¿ç¨ããããã©ãããå¼åºå ã¯ç¥ãã¾ãããç¥ã£ã¦ããï¼ä»æ§ãæ¼ãåºãã¦ãããã¨ã«ãªãã®ã§ã¯ãªãã§ããããï¼ ãã å¼åºå ã¨ãã¦ã¼ãããã渡ãããã¨ãã« ã©ããããè¯ããåããããå¼åºå ã«å¯¾å¿ãå¼·å¶ããã¨ããã®ã§ããã°ãã§ãã¯ä¾å¤ã§å¼åºå ã«å¯¾å¦ãæ確ã«ä¿ãã¹ãã§ã¯ãªãã§ãããã*7ããããã¯éãã§ãã¯ä¾å¤ï¼JavaDocã§è¡¨ç¾ããã¨ããããæ¹ãããã¾ãã*8
2017/8/19 追è¨
å¢ç°ããã®è¶£æ¨ããã㯠ãã®ä¸ç«¯ã以ä¸ã®twitterã§è¨ã£ã¦ãããã¨ã ã¨ããããç§ã®ãå¥ç´ã«ããè¨è¨ãã®æ¸è©ã¯ãºã¬ã¦ããããã«æãã¾ãããããã«ãã¦ãããã®ãããã¯å ·ä½çãªå®è£ ããã³å®ç¾æè¡ãè¸ã¾ããªãã¨ã¤ã¡ã¼ã¸ãé£ããæ°ããã¾ãããã³ã¤ãªããããããã¨ããªï¼ãã¨ããã®ã¯ããã®ã§ãããç§ã¯è¨èªåã§ãã¦ããªãã§ãã
å¦çã®é çªã§ã¯ãªãããã£ã¨å®£è¨çã«æ¸ããããã ããªãããã¨ãã°ãã¬ã¼ãç¯ã¯ãã¡ã½ããã®å¤å´ã§ã¢ããã¼ã·ã§ã³ã§å®£è¨ããã¨ããã¡ã¤ã³ã®è¨è¿°ã®å¾ã«ãå¶ç´ã¨ãã¦è¿½è¨ããã¨ãã
— å¢ç° äº¨ï¼ (@masuda220) 2017å¹´8æ17æ¥
2017/8/28 追è¨
å ¥åå¤æ¤è¨¼ã¯BeanValidationã«ãã¦ãã¡ã¤ã³ãã¸ãã¯ã«æ··å ¥ããªããã¨ã«ããã£ã¦ãã¨ããªï¼
åæè ãå®è£ ã¾ã§è¡ã
P285ï¼å質ä¿è¨¼
ãåæã¨è¨è¨ãä¸ä½ã¨ãªã£ãéçºãã«ã¤ãã¦ã®ã¢ã³ãµã¼ã¨ãã¦ï¼ããªã端æã£ã¦ãã¾ããï¼åæè
ãå®è£
ã¾ã§è¡ãã¨ããã®ã¯åæã§ã*9ã
ããã¨ã¯å¥ã¢ããã¼ãã¨ãã¦ãå®é¨çã«ããããã®ãããã®ã§ã¯ï¼ã¨æããã¨ã追è¨ãã¦ãããã¨æãã¾ããä¾ãã°ãã¢ããï¼ã©ã¡ããå®è£
ãã§ãã人ï¼ã©ã¡ãããä»æ§ã¸ã®ç解ãæããï¼ã¨ãã¢ãããï¼è¦ä»¶ã¯åãããå®è£
ã¯åºæ¥ãªã人ãåå ãããã¨ãæ³å®ãã¦ããã®ã§å³å¯ãªã¢ãããã¨ã¯éãããã©ï¼ã¨ããã¦ã¼ã¶ã¼èªèº«ãå«ããåæè
ã¨ãã¡ã¤ã³ã®ç解ãæµ
ããã©æã¯åãããå®è£
è
ãä¸ä½ã«ãªã£ã¦éçºããã¨ãããããªãä»çµã¿ã®æ§ç¯ããä¸æ¡ã¨ãã¦ããããªã¨æãã¾ããã
ä¾ãã°ãã¢ããããéãã¦ãªãã¡ã¯ã¿ãªã³ã°ãããªãã¨ãéçºã¹ãã¼ãã ã ãã ãã¨é
ããªãã¨ããä½é¨ã®å
±æã大åããããã¾ããã
だんだん開発スピードが遅くなっていくのをどうやってとめたら良かったんだろう? - Mitsuyuki.Shiiba
ã¨ã¯ãããç§ãè¨ã£ã¦ããæ¡ã®æ¹ãSIerã®ç¾å ´ã ã¨éç¾å®çãªæ°ããã¦ãã¾ããï¼ãã¢ããã¯åºæ¥ãããªï¼ï¼ã
ã¡ãã£ã¨æ®å¿µï¼
åæã«ç§ãæå¾ ãã¦ãã¦ç©è¶³ããªãã£ãã¨ããã
ç»é¢ã¨ãã¡ã¤ã³
P211ï¼
ãè¤æ°ã®é¢å¿äºãæ··å¨ãã¦ãããä½ã§ãç»é¢ããæä¾ããå ´åã¯ããã¥ã¼å°ç¨ã®ãªãã¸ã§ã¯ããâ¦ãã«ã¤ãã¦ç»é¢ã¨ãã¡ã¤ã³ã®é£æºã§æ¸ããã¦ããã¨æã£ã¦ãã¾ãããã¿ã¹ã¯ãã¼ã¹ç»é¢ã¯ã¦ã£ã¶ã¼ãæä½çã§ããæ¥åç¿ç度ãä¸ãã£ãæ
å½è
ã«ã¨ã£ã¦ã¯ ã¾ã©ãã£ãããå
¥åã«ãªãã¾ããã¾ãé«ãç¿ç度ã¯ãé¢å¿äºãã¨ãã¦æããããç¯å²ãåºããã®ã§ãä½ã§ãç»é¢ãã¨ä¸æ¬ãã«ãã§ããªãã¨æãã¾ããã¨ã¯ããå
¨é¨ã®ãã¶ã¤ã³ã«ã¤ãã¦ï¼åã®æ¸ç±ã§ç¶²ç¾
ãããã¨ãæ±ããã®ãéãæ°ãããã®ã§ãããã¾ã§ãå人çã«ç©è¶³ããªãã£ããã¨ããææ³ã§ãã
éç®±ã®é
æ¬è³ªã«é¢ä¿ã®ãªãã¨ããã§ãã
ã³ã¼ãã£ã³ã°ä½æ³
Javaã£ã½ããªãããã¨æã£ããããã¨ããããã®è¾ºã®ä½æ³ã¯å¥½ã¿ãããã¾ãã
ifæã®æ¸ãæ¹
ã¡ã½ããã®è¡æ°ãæ¸ããããã«ã{}ãã使ã£ã¦ããªããããªå°è±¡ãåãã¾ãããã¹ã³ã¼ãã®ç¯å²ãæ確ã«ããæ¹ããã°ãçã¾ãã«ããã®ã§å人çã«ã¯å¥½ãã§ã¯ãªãæ¸ãæ¹ã§ããå®éäºæ ãèµ·ãã¦ãã¾ããè¡æ°ãå°ãªããããã¨ã¯æ段ã§ãã£ã¦ç®çã§ã¯ãªãã¨æãã¾ãã
AppleがiOS7.0.6で修正したSSLバグの簡単な解説 - Qiita
3è¡ã¯ã{}ãã®ããifåå²ããå®è£ ã§ãã¾ãããã¾ããï¼è¡ã§æ¸ãã¦ã¿ã¾ããï¼ãã¨éå°ã«è¡ã ãã¯å°ãªãããã©ãã¡ã½ããã®ä»äºã¨ãã¦ã¯æ²¢å±±ã®äºããã¦ããå®è£ ãããã¦ãå°ãã¾ã*10
ç§ã¨ãã¦ã¯10è¡ä»¥å ãç®æ¨ã«20è¡ããããå¤ãã¦ã50è¡ã¨ããã®ãç¾å®çãªããã«æãã¾ãã
åèï¼
Javaã«ã¼ã«ãã㯠èªã¿ãããå¹ççãªã³ã¼ãã®åå [ 大谷æå¹³ ]
- ã¸ã£ã³ã«: æ¬ã»éèªã»ã³ãã㯠> PCã»ã·ã¹ãã éçº > ãã®ä»
- ã·ã§ãã: 楽天ããã¯ã¹
- ä¾¡æ ¼: 2,786å
ãã¡ããè¡æ°ãå¢ãããã¨ããã§ãä¸è¿°ã®æ¸å¿µã¯æ®ãã¾ããç§ã¯éä¸ã§ããæé帯ã¨ããã®ããæ¯ãæ¢ãã¦ããããæéãã¨èãã¦ãã¾ãããªã®ã§å¾è¼©ãã¡ã«ã¡ã½ããå®è£ ããã¦ãããã¨ãã®åºæºã¨ãã¦ãä¸è¿°ã®è¡æ°ã¨ãããã¦ãã¡ã½ããã¯è»½ãæ¯ãæ¢ãã¦å®è£ ã®æå³ããããªãåãããããã®è¦æ¨¡ã§ãã¨ããããã«ãã¦ãã¾ãããã³ã¼ããè¤éã§ãçããã°è¨±å®¹ã§ããããé·ãã¦ãåç´ãªãã¤ã©ã¼ã ã£ããç¡çã«åå²ããªãã¦ãè¯ãããªãã¨ãå½ç¶ãå人差ã¯ããã¾ãããã³ã¼ãã¯èªã¿ç©ãã¨ããæèã¯æã£ã¦ããããããªã¨æã£ã¦ãã¾ãã
2017/8/19 追è¨
å¢ç°ããã®ããã°å¼ç¨
ifæã®ãããã¯ã¯å¿ ãã¡ã½ããã«æ½åºãã¦ï¼çç¥ï¼
elseå¥ã¯åå使ããªãããã«ãã¦ããã®ã§ãã»ã¨ãã©ã®ifæã¯ããã®ãããªä¸è¡å½¢å¼ã§è¨è¿°ã§ãï¼çç¥ï¼
æããããæãã¦ããæ¸ãæ¹ã§ããæ¡ä»¶ãã¸ãã¯ã¯åå²ãããã¨ã§è¤é度ãæ¸ããã¦ããï¼ï¼è¡ããããã¨ãããã§ç§ãäºä¾ã«æãããããªãã°ã¯æ··å ¥ãè¾ãã¨ãããã¨ã«ãªãã§ãããããç§ã¨ãã¦ã¯æ¬ä»¶ã¯ãéç®±ã®é ãããããå人çãªå¥½ã¿ãã«åé¡ããæ¹ãè¯ãã¨ããã ã£ãããªãã¨èªã¿è¿ãã¦æãã¾ããã
ãããã¯ã®æ¸ãæ¹
P58ï¼
ã¯ã©ã¹ã®ãããã¯ã¯Java風ã ãã©ãstaticåæåãããã¯ã.Net
風ã¨ããããåæåãããã¯é¢¨ãstatic
åæåãããã¯ã¨åæåãããã¯ã§ã¯åæåã®é çªãéãã®ã§ç´ããããã³ã¼ãã£ã³ã°ã¯ããªãæ¹ãè¯ãã¨æãã¾ãã*11
åèï¼ 【Java】初期化ブロックについて - TASK NOTES
Enumã®åæåãå°æå
P60ï¼
Enumã®åæåãå°æåå§ãã«ãªã£ã¦ãã¦public
ããããã£ãç´æ¥åç
§ãã¦ããå°è±¡ãåãã¾ããåæåã¯å®æ°çãªæ±ããªã®ã§å
¨ã¦å¤§æåã®æ¹ã好ã¿ã§ãã
åèï¼ Java列挙型メモ(Hishidama's Java enum Memo)
誤è¨ï¼
P111
å¤æï¼å å·¥ï¼å¦çP144
å¤æï¼å å·¥ï¼è¨ç®å¦ç
ãããããå¤æï¼å å·¥ï¼è¨ç®ãã®èª¤è¨ã ã¨æãã¾ãã
ãã¡ã¤ã³ãåç §ããã¬ã¤ã¤ã¼å³
P150ï¼ ãã¡ã¤ã³ãã¸ãã¯ã¯ã¢ããªã±ã¼ã·ã§ã³å±¤ã ããã使ããã¨ããæ´çã ã£ãããªï¼ å°ãªãã¨ãå¢ç°ããã®ä»¥åã®ã¹ã©ã¤ãã§ã¯ããããªã£ã¦ããªãã£ãããã«æãã¾ãã
www.slideshare.net
2017/8/19 追è¨
å¢ç°ããã®ããã°å¼ç¨
å¦çã®æµãã®ã¤ã¡ã¼ã¸ã¨ãã¦ãã£ã¡ã®ã»ããããããããã¨æã£ã¦ããã¡ã¤ã³ã¢ãã«ã¸ã®ç¢å°ããã¢ããªã±ã¼ã·ã§ã³å±¤ã ãã«çµã£ã¦ã¿ã¾ãããå人çã«ã¯ï¼å±¤ãã使ç¨ã§ããã¨ãããã¨ããã¡ã¤ã³ã¢ãã«ã®ãã¤ã³ãã ã¨æã£ã¦ããã®ã¨ãå¢ç°ããã®ï¼å±¤ããã®ç¢å°ã¹ã©ã¤ããè¦ã¦ããã¡ã¤ã³ã£ã¦ãããããã¨ãªã®ãï½ãã¨ç解ãæ·±ã¾ã£ãã¨ãããã¨ããã£ã¦å¦ã«æã£ã¦ãã¾ãã¾ããã
ãããã«
æ¹å¤çãªãã¨ãæ¸ãã¾ãããç·ãã¦è¯ãæ¬ã ã¨æãã¾ããOJTã®åã®ãã¨ã«å¸«äºãã人ï¼ã¡ã³ã¿ã¼ï¼ãç¾å ´ã®äººã ãã ã£ãã¨ãã人㯠ä¸åº¦ ç®ãéãã¦ããã¨è¯ãã¨æãã¾ããã¾ãããªãã¨ãªãã§ãã ï¼å¹´ãããçµé¨ãç©ãã 人ãèªãã¨è¯ãã¨æãã¾ãã
å¢ç°ããèªèº«ã«ããæ¸è©ã®ã¾ã¨ã
たくさんの書評、ありがとうございます | システム設計日記
*1:ã¨ãããã¨ã§èªåçæãã¼ã«ã®ä½æã¯å½é¢ããªã
*2:ã¨ã¯ããæ¬æ¸ç±ã¯Emunã®ä½¿ãæ¹éã§ã¯ãªããããããæ´çããã¾ããããã¨ããæ¬ã ã¨æãã®ã§ ãã¾ãçªã£è¾¼ãã®ãéæ®ãªæ°ãããã
*3:å°ãªãã¨ããç§ã®çµé¨ã§ã¯ æçµã¢ã¦ããããã§åæãåã£ã¦ããããOKã§ãããã¨ããããã¸ã§ã¯ãã¯çµç·¯ãèå¯ã¸ã®é æ ®ãä¸è¶³ãã¦ãã¦ãçµæã¨ãã¦çä¸ããã¸ã§ã¯ãã«ãªã£ã¦ãã¾ãããã¾ããè°äºé²ã»ã¡ã¼ã«ãªã©ã®ã¨ããã³ã¹ã«ããç¸ææ¹ã®æ¿èªå±¥æ´ããã£ããã¨ã§è³éååãåºæ¥ãã¨ããå人çãªçµé¨ã«ããã¨ããã大ããã§ãã
*4:å¥ã«ã客æ§ã¯ç¥æ§ã§ã ãªã©ã¨æãã¾ããã
*5:lombokã¢ããã¼ã·ã§ã³ãããã
*6:ã§ãã£ãã¨ãã¦ããæ¬è³ªçã«æºãããã¨ãã¦ããäºåæ¡ä»¶ä¸æ£ãå¼åºå ã«éç¥ããã¨ããç®çã¯åãã§ã
*7:ãã§ãã¯ä¾å¤ã®è¯ãæªãã¯æ¨ªã«ç½®ãã¦ããã¾ã
*8:ç§ã¯éãã§ãã¯ä¾å¤æ´¾ãªã®ã§å¾è ãé¸ã³ã¾ãã
*9:ã¨ããããè¨è¨ããå®è£ ã¾ã§åºæ¥ãã¡ã³ãã¼ãéã¾ã£ã¦ããã®ã§ããã°ãªãã¸ã§ã¯ãæåäºã ã«é¢ä¿ãªãããããªãã«é«ãå質ãæ ä¿ã§ããã¨ã¯æãã¾ããå®éãåè¦ã¡ã³ãã¼ã§å社ããéã¾ã£ã¦ããã£ããã¼ã ï¼èªç¤¾ã§éçºæè¡ãããè¦å¡ã¯å®è³ªç§ã ãï¼ã§ã®éçºããã¾ããããè¨è¨åã¨å®è£ åãä¸çªãã人ããããéçºã«ãå®è£ åã¯ããããã©çµé¨å¹´æ°ãè¥ã人ãã³ã¢ãã¡ã¤ã³ã®è¨è¨è ã«ãããã¦ç§ã¯æ¹å¼æ¤è¨ã¨ä»æ§èª²é¡ã¨å®è£ 課é¡ã®æ¤è¨ã«ã®ã¿æ³¨åãããã¨ã§ãè¶ çæéã®éçºã§ãã£ãããã©ã ã©ãã«ãä¹ãåããã¨ãåºæ¥ãçµé¨ã¯ããã¾ãã
*10:MSXã®ï¼ç»é¢ããã°ã©ã ã¿ãããªãåãã¨ã¯æããã©åçµãã¦ã²ã¼ã ã¯ãããã©ãã¡ã£ã¨ãæå³ã¯åãããªãã£ããCã®ãã¤ã³ã¿ä½¿ããåæ§ãè¤éãªæ£è¦è¡¨ç¾ãåããããã æ£è¦è¡¨ç¾ã«ã¤ãã¦ã¯ãèªåããã£ã¨åå¼·ãããªãã¨ãããªãã¨æãã¾ãã
*11:å®éã¯æ´å½¢ã«ã¤ãã¦ã¯IDEä»»ããªã®ã§åé¡ã¯ãªãããã©