Python 3.4 added the ability to define function overloading with static methods. This is essentially the example from the documentation: from functools import singledispatch class TestClass(object): @singledispatch def test_method(arg, verbose=False): if verbose: print("Let me just say,", end=" ") print(arg) @test_method.register(int) def _(arg): print("Strength in numbers, eh?", end=" ") print(ar
ãã¼ããstructural subtypingã¨ããã¯ã¿ã¤ãã³ã°ã¯åããã®ãªãã ããããâ Yukihiro Matsumoto (@yukihiro_matz) 2016å¹´9æ8æ¥ https://t.co/5Rv86piThC wikipediaã«ããã¨ä¼¼ã¦éãªãç©ã®ããã§ããã https://t.co/VwIg39h5M0â INADA Naoki (@methane) 2016å¹´9æ8æ¥ ãã®è©±é¡ã«ã¤ãã¦è£è¶³ãã¦ããã¾ãããªããåã¯TAPLè±è½çµãªã®ã§ãã¾ãæ£ç¢ºæ§ã¯æå¾ ããªãã§ãã ããã èæ¯ Ruby Kaigi 㧠Matz ã Ruby3 ã«åãã¦èãä¸ã®éçåã«ã¤ãã¦è©±ãããããã§ãã å°ãåããã Python ã§ã Guido ã Dropbox ã§ã®å¤§éã®ã³ã¼ããã¼ã¹ãæ¹åãã¦ããããã« type hinting ãã»ããã¨ãããã¨ã§ PEP 484 ãå§ãã¾ãã
JSONã®ã·ã³ã¿ãã¯ã¹ãã§ãã¯ãã³ãã³ãããè¡ãããã¨æãã¾ãã ããã¤ãã®é¸æè¢ããã node.js ã®JSON.parseã使ã jq ã³ãã³ãã使ã json_pp ã³ãã³ãã使ã nodeã® JSON.parseé¢æ°ãã³ãã³ãã§å®è¡ãã nodeAPIé¢æ°ç¾¤ãshell ããå¼ã³åºãã node2bash ã使ãã git clone https://gist.github.com/f5a6fb560dc357835122.git chmod +x node2bash.js ln -s node2bash.js ./JSON.parse echo '{"a": 1}' > manifest.json ./JSON.parse manifest.json ã¨ã©ã¼ã®æ ã¡ããã¨ã¨ã©âã表示ããã¦å¬ããã $ echo "{'a': 1}" > manifest.json $ ./JS
ããã«ã¡ã¯ï¼ããã«ã¡ã¯ï¼SPEEDAéçºãã¼ã (é称PDT)ã«æå±ãã¦ããããã´ã¼ã§ãã å¼ãã¼ã ã§ã¯æ°ããã¢ããéçºããã¨ãã«ãããClojureã¨ããè¨èªãæ¡ç¨ããã¦ãã¾ããã ãããè¨èªå¥ã§ã·ã§ã¢2ä½ã¨ãã£ãã¨ããã§ããããã1ä½ã¯ã¿ããªå¤§å¥½ã(?)Kotlinã§ããã¡ãã¯ãµã¼ãã¼ãµã¤ãã§ã®å©ç¨ã主ã«ãªã£ã¦ãã¦ã次ã«E2Eã®ãã¹ãã³ã¼ããæ¸ãã¨ãã«è¯ãå©ç¨ããã¦ãã¾ãã ä»æ¥ã¯ãããªå¼ãã¼ã ã§ãã使ããã¦ããClojureã«ã¤ãã¦ãClojure 1.10.xæ代ã®æ°ãããããã°ãã¼ã«ããä¼ãã§ããã°è¯ããªã¨æãããã®è¨äºãæ¸ããã¨æã£ã次第ã§ãã 大ããªãã¼ã¿æ§é ãç°¡åã«ææ¡ããã Cognitect's REBLã使ã REBLã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« ããã¸ã§ã¯ãã®æºå REBLãå©ç¨ã§ããããã«ãã REBLã«ãã¼ã¿ãéä¿¡ãã ã¾ã¨ã ä½è« 大ããªãã¼ã¿æ§é ãç°¡åã«ææ¡ãã
主ã«lspé¢é£ Emacsã§Goè¨èªãã ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ã ã¾ããGNU Emacsã«ã¯ããã©ã«ãã§Goè¨èªã®ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãããªãï¼Goè¨èªç¨ã®major-modeããªãï¼ãpackage.elãªã©ã使ã£ã¦ãdominikh/go-mode.elããgo-modeããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã READMEãèªãã°ãããããgo-modeããã±ã¼ã¸ã¯M-x gofmtãªã©ã®ä¾¿å©ãªã³ãã³ããæä¾ãã¦ããã ã³ã¼ãè£å® å¿ é ã§ã¯ãªããã欲ããæ©è½ã§ãããLSPã使ãã GOPATH/binãããã¯`go env GOPATH`/binãPATHã«è¿½å ãã¦ããã 端æ«ã§ä»¥ä¸ãè¡ãããã·ã³ã«gopls(language server) ãã¤ã³ã¹ãã¼ã«ããã go get golang.org/x/tools/gopls@latest Emacsã«lsp-modeãcompany-ls
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}