2021/11/10 TECH STAND #6 TypeScriptã«ã¦çºè¡¨ããè³æã§ãã
2021/11/10 TECH STAND #6 TypeScriptã«ã¦çºè¡¨ããè³æã§ãã
TypeScriptã§ææããã¦anyã使ã£ã¦ããç®æã£ã¦ãèªåã®æ¸ããã³ã¼ãã ãã©åããã¡ãã¨æ¸ãã®ãé¢åã ããanyã«ãã¦ããã£ã¦å ´åã¨ããµã¼ããã¼ãã£ã®ã©ã¤ãã©ãªãããã£ã¦ããå¤ã§ãåããªããªã®ã調ã¹ãã®ãé¢åã ããanyã«ãã¦ãããã£ã¦ã±ã¼ã¹ãããã
Pythonã«åãã³ããå ¥ã£ã¦ãããã°ããçµã¡ã¾ããåãã³ãã®ç«ã¡ä½ç½®ãããªãã§ãã§ããã¢ããã¼ã·ã§ã³ã¨ãã¦å°å ¥ããã¾ããããåãã³ã以å¤ã®ç¨éã¯ãã¾ãè²ãããåãã³ããä¸å¿ã«ãªããPEPãä»æ§ãããã«åããã¦å¤åããããããæ¸ããããããã«æ©è½ã追å ããã¦ãã¾ããã æ¬ã¨ã³ããªã¼ã§ã¯ãPython 3.9æç¹ã§ã®ææ°æ å ±ãå ã«ãç¾å¨ãµãã¼ãä¸ã®Pythonãã¼ã¸ã§ã³ï¼3.6以ä¸ï¼ã¨ã®äºææ§ã®æ å ±ãç¹ã交ããªãããææ°ã®åãã³ãã®æ¸ãæ¹ãç´¹ä»ãã¾ãã æ¬ã¨ã³ããªã¼ã®å·çã«ã¯ãPythonã®åã®æèè ã®@moriyoshiã@aodagã@tk0miya ã«ã¢ããã¤ã¹ããããã¾ããããããã¨ããããã¾ãã ç°å¢æ§ç¯Visual Studio CodeVisual Studio Codeã®å ´åã¯ãäºåã«ã©ã®ã¤ã³ã¿ããªã¿ãå©ç¨ããããè¨å®ãã¦ããã¾ãããã®ç°å¢ã«ã¤ã³ã¹ãã¼ã«ãã¾ããvenvã使ã
TypeScriptã¯JavaScriptã«éçåãå°å ¥ããããã°ã©ãã³ã°è¨èªã§ãç»å ´ããç¾å¨ã¾ã§ãã®äººæ°ãå¢ãç¶ãã¦ãã¾ãã åçåä»ãè¨èªã§ããJavaScriptã«éçåã®å®å ¨æ§ï¼ã³ã³ãã¤ã«æã«ãã°ã»ééããçºè¦ãããã¨ãã§ããè½åï¼ãä¸ãããã¨ã§ãTypeScriptã¯JavaScriptã«ããéçºã®å¹çãä¸ãã¦ããã¾ãã è£ã«JavaScriptãããã¨ããç¹æ§ããããTypeScriptã¯ãé¨åçã«éçåãã§ãã¯ããããã¨ãããããªæåããµãã¼ããã¦ãã¾ã1ã詳ããã¯å¾è¿°ãã¾ãããããã«ããJavaScriptããTypeScriptã¸ã®ç§»è¡ãå¯è½ã¨ãªã£ã¦ãã¾ããTypeScriptã¯@ts-checkï¼ãããã¯@ts-ignoreï¼ãªã©ãéãã¦ãã®ãããªã¦ã¼ã¹ã±ã¼ã¹ãæåããµãã¼ããã¦ãã¾ãã ãã®ãã¨ã®è£è¿ãã¨ãã¦ãTypeScriptãå©ç¨ããã¨ãã¯æ³¨æãã¹ãç¹ãããã¾ã
2. èªå·±ç´¹ä» â æ£®æ¬ å²ä¹ â twitter: @t2y â ç½ã¤ã®ã³ã¼ãã¬ã¼ã·ã§ã³æå± â ã«ã¡ãªãªAPIéçº ( èå³ãããæ¹ã¯ãã¼ã¹ã¸ ) â ã¨ãã¹ãã¼ã Python ããã°ã©ãã³ã°å ±è¨³ â ããã°ã©ãã³ã°è¨èªæ´ â Python (3 å¹´ ) â â Java (3 å¹´ ) â â Go ( åå¹´ ) 4. Pythonã®ãã©ããã¯ã¹ â 2004 å¹´ 8 æ Paul Graham â Python ãå¦ã¼ãã¨ããããã°ã©ãã¼ã¯è³¢ã â Python 2.3.4 (2004-05-27): 2.3 ã®æ代 â æ°ããè¨èªãå¦ã¶äººãã¡ã¯ããã°ã©ãã³ã°ã好ã ã§ãããä»äºã«å½¹ç«ã¤ããå¦ã¶ããã§ã¯ãªã â æ²è§£ : ãåªç§ãª Java ããã°ã©ãã¼ãæ¡ç¨ããã㣠ãã Python ããã°ã©ãã¼ãéãã°è¯ãã â ãã¾ã¯æãç«ããªã 5. Python3 ã®ãã©ããã¯ã¹ â
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}