ééããé¿ããæ¹æ³
ChatGPT ãåºã¦ãã¦ãå¹³åå¤ãªãã®ã«ä¾¡å¤ããªããªã£ã¦ãå¤ãå¤ã«ä¾¡å¤ããããã人ã®å½¹å²ã¯ãã¤ãºãä¸ããã ã¨ãè¨ããã¦ããã®ãèããããããªãã¨ã¯ãªãã¨æã£ã¦ãããééãæ¹ã¯ç¡æ°ã«ããããæ£ããã®ããæ¹ã¯ã»ãã®å°ããããªãããªã«ããããã¨ãã«ã¯ãç¡æ°ã®é¸æè¢ã®ä¸ãããæ£ãããã®ãé¸ã³åã£ã¦ãããªãã¨ãã´ã¼ã«ã«ãã©ãçããªããChatGPT ã ã£ã¦ããã³ããã¨ãã¦ä¸ãããããã®ã¯ç¡æ°ã«ããããæ±ããçããå¾ãããããã³ããã¯ãããã ãæ£ããçããç´ æ©ãå¾ãè½åã®ä¾¡å¤ã¯ ChatGPT ããã£ã¦ãå¤ãããªãã
ãã¡ãã人éãªã®ã§ããã¾ã«éããé¸ããã ãããå¤ä¹±ããããã§ãããã®å ´åãé½åº¦é½åº¦ä¿®æ£ãã¦ããã°ãç®çå°ã«ãã©ãçããã ChatGPT ã®ç»æçãªã¨ããã¯å³åº§ã«ãã£ã¼ãããã¯ãä¸ãã¦ä¿®æ£ãã§ãããã¨ã ã
ã ããä¿®æ£ããªãã«ä¸çºã§æ±ºããæ¹ããä½åº¦ããã£ã¼ãããã¯ãç¹°ãè¿ããããéããä»äºãéã人ã¯ãèªåè»ã¬ã¼ãµã¼ã®ã©ã¤ã³åãã寸åéããã«æ£ç¢ºã ã£ãããå°æ£æããæåæãééããªãæãç¶ããããã«ãæ£ãã解ã誤ããã¨ãªãé¸ã³åã£ã¦ããããã«è¦ãã¾ãã
ãã£ã¼ãããã¯ãå¹ã以ä¸ã«éããé¸ãããããªå ´åã¯ãç³»ã¨ãã¦ã¯ä¸å®å®ã«ãªãã®ã§ãç®çå°ã«ã¯ãã©ãçããªãããã®å ´åã¯ãä»äºãéãé ãã¨ã¯å¥æ¬¡å ã®è©±ãªã®ã§ãã©ããããããªãã¨ããã®ã¯ååã«èãããã¨ã ã£ãã
ç®çå°ã«ãã©ãçãã人ãã誤ã£ãæ¹ã«ãããªãããã«ãã¦ãããã¨ã¯ãããæãééãã®ãããæ¹ã«è©³ããåéãªã®ã§ãããã°ã©ãã³ã°ãä¾ã«æãã¦ã¿ã¾ããã¾ã ãæãã¤ããã®ã並ã¹ã¦ããã ãã«ãããªãã®ã§æ§é åãç¶²ç¾ ãããã¦ãã¾ããã
ééãããã£ã¦ã¯ãªãã¬ã¨æãã
ç²¾ç¥è«ã ãã©æãéè¦ã ã¨æããã¬ãã¥ã¼ã§è¦ã¤ãã¦ããããããã¹ãã§è¦ã¤ããããªã©ã¨æãããééããªãããã«ç´°å¿ã®æ³¨æãæã£ã¦ä¸ã¤ä¸ã¤ã®ä½æ¥ãããããã¡ããã¬ãã¥ã¼ããã¹ããããã®ã ãããã®å·¥ç¨ã§ã§ãããã¨ã¯ããããããã¨ã¿ã§ããã¨ããã®èªå·¥ç¨å®çµã§ããæ¬å½ã¯ãã¤ã³ãã»ããã«é ¼ããã«ã¡ã«ããºã ã«ãããããã¡ã«ããºã ãå¹ããã«ããã¤ã³ããå¿ è¦ã ã
ä¸å®ãä¿¡ããã
ãã£ã¨åã£ã¦ããã¨æã£ã¦ããã¨ããã§ãã誤ãã¯ãããããããåã£ã¦ãããæªããã¨æããã¨ããã«ã¯å¿ ãééãããããä¸å®ã¯å½ãã£ã¦ããã
æ ¹æ ã®ãªãæè«ã§ãããè«ççæèè½åãªãããããéè«ççãªæåæ§ã®æ¹ãéããã®ãé£ãããè¨èªåã§ããªãä¸å®ãå¯ç¥ãã¦ãè¨èªåãããè¡åããè½åã¯éããæ¹ãããã¨æãã
åã£ã¦ãããã©ãã確信ãæã¦ã¦ããªããã®ã¯ã¬ãã¥ã¼ã«åºããªããä»®ã«åºãã¨ãã¦ãããã®ç¹ã«ã¯ä¸å®ãããã¾ãã¨ãã£ã¦ã»ãããã®ã§ãã
èªå·±ã¬ãã¥ã¼
èªå·±ã¬ãã¥ã¼ã¯è¦ç¹ãå¤ãã¦ããã®ãæå¹ã§ããä¾ãã°ãé³èªãã¦ã¿ãããæéã許ãã°ä¸æ©å¯ããããããã¼ã«ã«ã®éçºç°å¢ã§ã¯ãªã㦠GitHub ã«ä¸ãããã¨ã«è¦ããã
é¡ä¼¼ç¢ºèª
ééããå°ãªãããã¨ã¯ãå¹ççã«ééããæ¢ãã¨åãã§ããã¿ã¤ãã«ãããåéãã«ãããåãééãã¯ããããã®ã§ãå¿ ãé¡ä¼¼ç¢ºèªã¯ãããã¿ã¤ãããã£ãããã¾ãã¯ééããåèªãæ¤ç´¢ãã¦åãå½¢ã®ééããæ¢ãã
ãã¿ã¼ã³èªèãæ´»ããã
å¤ããã間違ったコードは間違って見えるようにする - The Joel on Software Translation Projectãã¨ãã話ãA ã§ããã¹ãã¨ããã B ã«ãªã£ã¦ããã®ãè¦ã¤ããã®ã¯ãè¦ãã°åããå ´åãå¤ãããã¿ã¼ã³èªèè½åãéãã¦ãã¾ãã¯è¦ã¦åãã£ã¦ã»ãããé«ãã¬ãã«ã«ãªã£ãããè¦ãã°åããããã«ä½ãã
åã§å®ãã
ä¸æ©é²ãã§ãééã£ãã³ã¼ããç®è¦ã§è¦ã¤ããããããã«ããã®ã§ã¯ãªãã¦ã誤ã£ã¦ãããã³ã³ãã¤ã«ãéããªãããã«ããã
å®å ¨ãªè¨èªã使ãã
ç¿çãã人ãéã¾ããªããªã©ã®åé¡ãç¡è¦ããã°ãå®å ¨æ§ãé«ããæ©è½ã®ä»ããæ°ããããã°ã©ãã³ã°è¨èªã使ã£ã¦è§£æ±ºããåé¡ã¯å¤ãã
ãã® null ãã§ãã¯ã¯ããã¾ããã¨ãããã㧠NPE ã§è½ã¡ãå±éºæ§ãããã¾ããªãã¦ãææããããã¯ãªãã
éç解æãã¼ã«ã使ãã
ããã°ã©ãã³ã°è¨èªãå¤ããã®ã¯å¤§å¤ã ããéç解æãã¼ã«ã®å°å ¥ã¯ç°¡åã ããã¼ã ã¨ãã¦ããã»ã¹ã«çµã¿è¾¼ãã®ã容æã ãããã¼ã«ã«ã§åæã«å®è¡ããã®ã¯ããã£ã¨å®¹æã ã
äºææ§ãä¿ã¤ããã«ããã¼ã¸ã§ã³ãæ°ãããªã£ã¦ãè¨èªä»æ§ãã©ã¤ãã©ãªã®ä»æ§ã¯ç¶æããããééããçã¿ãããä»æ§ã¯æ®ããããéç解æãã¼ã«ã§ãä¸è¬çã«é¥ããããééããæé¤ã§ããã
æ§é å
A ã§ããã¹ãã¨ããã B ã«ãªã£ã¦ããããããããã¹ãã¨ããã« A ããªãã®ãè¦ã¤ããã®ã¯é£ãããæ§é åããã¦ããã°ãããã¹ãã¨ããã«ããã¹ããã®ããªãã¨ãåããããããªãã
ããã¥ã¡ã³ãã«ã¯ãä»æ§ãæ§é åãã¦æ¸ããã¦ãããã®ã ãããããã¥ã¡ã³ãã«ãããã¦ããéãã«æ¸ãã°ããã
ééããããæ¸ãæ¹ãããªãã
éè¤ãã¦ããã®ã ããééãã«ããã³ã¼ãã®æ¸ãæ¹ã®å¯¾ã¨ãã¦ãééãããããã³ã¼ãã®æ¸ãæ¹ããããããã¦ééããç¯ããããæ¹ã«é²ã¿ãããªãå¼åãã©ããã«ããã®ã§ãããã
å¤æ°ã®å¤ããªãã¸ã§ã¯ãã®ç¶æ ãæ¡ä»¶ã«å¿ãã¦å¤æ´ãã¦ã®ã¯ãããè¦ããæåã«è¿ãå¤ã宣è¨ãã¦ãä½ãåæå¤ãå ¥ãã¦ãæ¡ä»¶ã«å¿ãã¦å¤æ°ãæ´æ°ãã¦ãã£ã¦ãæå¾ã«è¿ãã¿ãããªãå¤æ°ã®ã¹ã³ã¼ãã大ãããªã£ã¦ããããããããééã£ã¦ããã
ééããããæ¸ãæ¹ããã¦ããæ£ããä½ãããããã¨ãããã¨ã¯æãã¾ãããééããããæ¸ãæ¹ãããããé¸ã°ãã¦ããå ´åã¯ãä½ãããã¦ããªããã¨ãå¤ãã
ããããæ¸ããªãã
ä½ããã¨èªä½ãééããªã®ããããã話ã§ããä¾ãã°ãHTTP ã¯ã©ã¤ã¢ã³ãã®ã©ã¤ãã©ãªã使ããã«ãSocket ããã¹ããªã¼ã ãèªãã§ãã¼ã¹ãã¦ãªãã¦ãã¦ã¯ãããªãããã®é¸æããã¦ãã¾ã人ã«ããããªãã®ãæ£ããä½ããã¯ãããªãã