Bonfire Frontend #4 http://yj-meetup.connpass.com/event/136480/
Skip to the content. clean-code-typescript TypeScriptã®çºã®ã¯ãªã¼ã³ã³ã¼ã clean-code-javascriptãè¦ã¦éãã¾ããã Table of Contents Introduction Variables Functions Objects and Data Structures Classes SOLID Testing Concurrency Error Handling Formatting Comments Translations Introduction Robert C. Martinã®æ¸ç± Clean CodeãTypeScriptã«å¯¾å¿ãããã½ããã¦ã§ã¢å·¥å¦ã®ååã§ãã 翻訳æ¸ç±(amazonã¸ã®ãªã³ã¯) ããã¯ã¹ã¿ã¤ã«ã¬ã¤ãã§ã¯ããã¾ããã TypeScriptã§å¯èªæ§ãé«ããåå©ç¨å¯è½ã§ããããªãã¡ã¯ã¿
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? åç½®ã æä¸å ´Webç³»ã®ä¼æ¥ã§ä¸é社å¡ã®ãµã¼ãã¼ãµã¤ãã¨ã³ã¸ãã¢ã®æ¸é¡é¸èãæ¡ç¨é¢æ¥å®ãªã©ããã¦ãã¾ããéä¸ã«è»¢è·ããã¾ãããé¢æ¥ãªã©ã®æ¡ç¨ã«é¢ããå§ãã¦ããï¼å¹´çµã¡ã¾ããã 以åã«é¢æ¥ã«ã¤ãã¦ã¯ãã¡ãã®è¨äºãæ¸ãã¾ããã ã¨ã³ã¸ãã¢ãé¢æ¥ããã¨ãã«é¢æ¥å®ãæ¬å½ã«ç¥ãããã㨠æ¸é¡é¸èããã¦ãã¦ã欲ããæ å ±ã足ããªããæ¬å½ã®å®åã¯ãã£ã¨ããã®ã§ã¯ï¼ã¨æããã¨ããããä»åã¯æ¡ç¨å´ã®ç«å ´ããããã£ã¨è¦ããè·åçµæ´æ¸ã®æ¸ãæ¹ã«ã¤ãã¦æ¸ããã¨æãã¾ãã å ¨ã¦ã®ãã¿ã¼ã³ã«å½ã¦ã¯ã¾ããã¨ã¯ãªãã主ã«Webç³»ã®ä¸ã§ããããªãã«å¤§ããªä¼ç¤¾ã®ä¸ã§è¦ã¦ãã
package main import "fmt" func main() { fmt.Printf("hello, world\n") } èªåã§ã³ã¼ããåãããã¨ã§ãéææãå¾ããã¨ã大åã§ãã å¦ã³å§ãã¯ããããªããã¨ãå¤ããã¦æ«æãããã«ãªãã¾ããããããé²ãããã«ã¾ãã¯ãããã£ãå°ããªæåä½é¨ãç©ã¿éãã¦ããã¾ãããã 3. ãã¼ããåããªããè¨èªã®ä»æ§ãå¦ã¶ "Hello World" ãåºãããã次ã¯è¨èªã®ä»æ§ã«ã¤ãã¦å¦ãã§ããã®ãè¯ãã¨æãã®ã§ãããããã§ã¯ãã¼ããåããªããå¦ã¶ã®ãããããã§ãã ããã¥ã¡ã³ããèªãã ãã§ã¯ããã«å¿ãã¦ãã¾ãã¾ããè¨æ¶ãå®çãããããã«ãèªåã®è¨èãèªåã®ã³ã¼ãã§è¨é²ããªããå¦ã¶ã®ã¯ã¨ã¦ã大äºã§ãã èªãã§ãã¦å¤§äºã ã¨æã£ããã¨ã¯ãå¾ããè¦è¿ããããã«ãã¼ãã«ã¾ã¨ãã¦ããã¾ãããã ãã¼ããåãããããã®æ¹æ³ã¯ãèªåå°ç¨ã®Slackã§è¨èªå¥
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? #Naming -ååä»ã- ããã°ã©ãã³ã°ã§æãéè¦ãªæè¡ã®ä¸ã¤ããååä»ãã§ãã ä¸ã¤ãã»ã³ã¹ãåããããã®ãªã®ã§ãä¸éã¯é£ãããã®ã§ãããã¾ãã ãã®è¨äºã§ã¯ãæ§ã ãªæç®ããæ½åºããååä»ãã«é¢ããæ å ±ãéå¤ã«ã¾ã¨ãã¾ããã -ååéè¦- ã½ããã¦ã§ã¢ã®è¨è¨ã®ã¢ããã¼ãã¨ãã¦ããã¾ãååããå ¥ããã¨ããã®ã¯ããã¾ãèªããã¦ããªãç§è¨£ã¨ãã¦ãã£ã¨åºãç¥ããã¦ãè¯ãããã«æãã¾ãã ã¾ã¤ãã¨ããã²ã ãããã°ã©ããç¥ãã¹ãï¼ï¼ã®ãã¨ã #ã³ãã¥ãã±ã¼ã·ã§ã³ã®åºç¤ ååã¯ãã³ãã¥ãã±ã¼ã·ã§ã³ã®åºç¤ã¨ãªããã®ã§ãã ç§ã«ãããªãã«ãååã
#include <stdio.h> int main(){ char mode; mode=getchar(); char customerName[100]; //ã¢ã¼ãaãé¸æå¾ã客ã®ååãå ¥å if(mode=='a'){ printf("Input your name!: \n"); scanf("%s",&customerName); //ã礼ã®ã¡ãã»ã¼ã¸ã表示ãã¦çµäº printf("Thank you!%s\n",customerName); }else{ //ã¢ã¼ãa以å¤ã ã¨aã¨ããå ¥åãä¿ã ungetc(mode,stdin); printf("input_a!!"); } return 0; } ##第ä¸ç« ãã¦ã©ã¡ããè¯ãã³ã¼ãã ããï¼èªã¿ãããã ããï¼ æåã®æ¹ã¨ãã£ã人ã¯ãã£ã½ã©è¨èªç解åããªãã®ã ããã ã¨ããã®ã¯ãã¦ç½®ã説æã¨ãã¦ã¯ ã¾ãå¤æ°åã§ãããå¦æ ¡
Node.jså¾¹åºæ»ç¥Â â ã¤ãã¼ã®ãã¦ãã¦ã«å¦ã¶ãããã©ã¼ãã³ã¹å£åãã³ã¼ã«ããã¯å°çã¨ã®æ¦ãæ¹ Node.jsããã¾ãæ´»ç¨ã§ãã¦ããä¼æ¥ã¯ãã©ã®ãããªæ¹æ³ã§ãã¹ããã©ã¯ãã£ã¹ãç¿å¾ãã¦ããã®ã§ãããããã¤ãã¼æ ªå¼ä¼ç¤¾ã§Node.jsã®ç¤¾å æ®åã«åãã¦ããè¨èªãµãã¼ããã¼ã ã«ãå社ã®å®æ½ãç´¹ä»ãã¦ãããã¾ããã Node.jsã¯ãã¤ãã³ãã«ã¼ãã¢ãã«ã§ããã³ããããã³ã°I/Oã使ç¨ãã¦ããããåé¡çºçæã«HTTP/TCPãPOSIX APIãªã©ä½ã¬ã¤ã¤ã¼ã®ç¥èãæ±ãããããã¨ãã£ãç¹å¾´ãæã¤è¨èªã§ããéçºè ãç¿å¾ãã¹ãæè¡é åãåºããããNode.jsãããæ¸ãæ¹ã®å¦ç¿é£æ度ã¯é«ãã¨è¨ãã¾ãã ããã§ã¯ãNode.jsããã¾ãæ´»ç¨ã§ãã¦ããä¼æ¥ã¯ãã©ã®ãããªæ¹æ³ã§Node.jsã®ãã¹ããã©ã¯ãã£ã¹ãç¿å¾ãã¦ããã®ã§ãããããã¤ãã¼æ ªå¼ä¼ç¤¾ã§Node.jsã®ç¤¾å æ®åã«åãã¦ããè¨èªãµãã¼ã
æè¿ãç§ã®å¨ãã§ãAdobe XDã使ç¨ãã人ãå¢ãã¦ãã¾ãããç¹ã«æ¥æ¬ã§ã¯ãSketchã¦ã¼ã¶ã¼ããAdobe XDã¦ã¼ã¶ã¼ã®æ¹ãå¢ããããããã«æãã¾ãã Sketchã¨Adobe XDãé·ãã«æ¸¡ã使ç¨ãããã®çµæAdobe XDã使ç¨ãããã¨ã«ããUIãã¶ã¤ãã¼ã®æ¯è¼è¨äºãç´¹ä»ãã¾ããæµ·å¤ã ã¨Sketchã®æ¹ãå¤ãæãã¦ã¾ããããããããæµããªã®ã§ããããã Why Adobe XD is better than Sketch. by Simon Fairhurst ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« Sketchã®ç¹å¾´ Adobe XDã®ç¹å¾´ ã¯ããã« ç§ã®ååã®è¨äºã§ã¯25,000ãè¶ ããé²è¦§ã¨å ±æããããSketchã¨Adobe XDã®2ã¤ã®ãã¼ã«ã®æ¯è¼ã«ã¤ãã¦è£è¶³ãããã¨æãã¾ããã ååã®è¨
åã¯2019å¹´4æããæè¡ããã°ãå§ãã¦ãããã2ã¶æç®ããããããã¯ã¦ãªããã¯ãã¼ã¯ã§ãããã³ããªãåãããã®æ å ±åéããå¿ãããããã«ãªã£ãããã®å½±é¿ããã£ã¦ä½è¨äºãã¯ã¦ãªããã¯ãã¼ã¯ã§ãããã³ããªå ¥ããããã¨ãã§ããã®ã§ãããããæè¡ããã°ãªã©ã§ã¢ã¦ãããããå§ãã人ã®å½¹ã«ç«ã¦ã°ãããªãã¨æã£ã¦ããã°ã§ã¾ã¨ãããã¨ã«ãããæè¡ããã°ãæ¸ã人ã§ãªãã¦ãæ å ±åéå ã¨ãã¦åèã«ãªãé¨åã¯ããã¨æãã ã¯ããã« GitHub Trending ããã°ã©ãã³ã°è¨èªã¯Pythonã¨JavaScriptã¨TypeScriptãéç¹çã«è¦ã ããã°ã©ãã³ã°è¨èªä»¥å¤ã«ãUnknown languagesããã§ãã¯ãã Advanced searchã§ç´è¿ã®æ¥ä»ã«çµãè¾¼ã GitHub Trendingãåèã«ããããã°è¨äº Product Hunt Product Huntãåèã«ããããã°è¨äº Re
ããã¸ã¡ã³ã æ°ãããã¼ã ã®ããæ¹ãæ¢æ± 就活 就活çå¿ è¦ï¼ãµã¤ãã¦ãºã®çå ãã£ã¼ã«çµç¹ ä¼ç¤¾ã®ããããã¾ãããå¤ãã å¤æ§æ§ 100人100éãã®åæ§ ã¯ã¼ã¯ã¹ã¿ã¤ã« åãæ¹ãçãæ¹ããã£ã¨èªç±ã« ééæ ¶ä¹ ãµã¤ãã¦ãºç¤¾é·ã®æ³ãã¨è¦æ ãã£ãªã¢ 人çã®ãç©ã¿ä¸ãæ¹ããè¦ç´ã è¤æ¥ è¤æ°ã®ãæ¬æ¥ãããã¤åãæ¹ äººäºå¶åº¦ å¤æ§ãªåãæ¹ãæ¯ããä»çµã¿ ãã³ã¬ ãµã¯ãã¨æ軽ã«èªããï¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}