テクノロジー部門でRuby インタプリタの開発をしている笹田です。RubyKaigi 2024 楽しみですね。 さて、Ruby のメソッドを定義するとき、仮引数がある場合、カッコを省略することができます。 def foo(x, y) end def bar x, y end bar の定義の方法ですね。私は好んでこの書き方をしてたんですが、同僚の遠藤さんに「そんな書き方をしているのは今時笹田だけだ」と言われてショックを受けたので、ちょっと調べてみました。 ちなみに、カッコがないと使えないメソッド定義の方法があるので、その時には涙を呑んでカッコをつけます。 def foo(kw:) # 必須キーワード引数 end def bar(&) # 無名ブロック引数 end 補足1:Ruby では「メソッド呼び出し時にカッコをつけるかどうか」にいろいろな論争がありますが、ここでは「メソッドを定義する

このブログエントリでは、テスト駆動開発(TDD: Test-Driven Development)の考案者Kent BeckがTDDの定義を改めて明確化した文章を、許可を得たうえで翻訳し、訳者の考察を沿えています。 きっかけ2023年の年末、テスト駆動開発(TDD: Test-Driven Development)の考案者Kent Beckは、substackにTDDに関するポストを連投して論戦を繰り広げていました。TDDはその誕生から20年以上が経ち、その間に「意味の希薄化」が発生して議論が噛み合わなくなっていました。意味の希薄化(Semantic Diffusion)とは、新しく作り出された用語が広まる際に本来の意味や定義が弱まって伝わる現象です。 私(和田)はTDDと関わりの深いキャリアを歩んできました。Kent Beckの著書『テスト駆動開発』の翻訳者であることもあり、TDDの正


In May2023 over 90,000 developers responded to our annual survey about how they learn and level up, which tools they're using, and which ones they want. Read the overview → Methodology → Welcome to the2023 Developer Survey! For 13 years, we've delivered industry-leading insights regarding the developer community. This is the voice of the developer. Analysts,IT leaders,reporters, and other deve
-h, --help show this help message and exit --version show program's version number and exit -l LANGUAGES, --languages LANGUAGES List theprogramming languages you want to analyze. if leftempty,it'll search for all languagesit knows. `lizard -l cpp -ljava`searches forC++ andJava code. The available languages are: cpp,java, csharp,javascript,python, objectivec, ttcn,ruby,php,swift,scala
In May 2021 over 80,000 developers told us how they learn and level up, which tools they’re using, and what they want. Read the overview → Methodology → The questions we ask in our annual survey will help us improve the Stack Overflow community and the platform that serves them. This year, for example, weobserved a significant evolution in the way developers educate themselves. For the rising coh
Share company information Stack Overflow for Teams is a space to ask questions and find answers. This year, we focused on seeking diverse representation while asking for information ranging fromtechnologies and behavior to questions that will help us improve the Stack Overflow community for everybody who codes. For almost a decade, Stack Overflow’s annual Developer Survey held the honor of being
Anonymous Coward曰く、Chromiumプロジェクトは今週、重大度の高いセキュリティバグの約70%は、メモリの安全性に関する問題(ポインタの誤り)に由来すると発表した。これはGoogleのエンジニアが2015年以降の912の重大度の高い、もしくは重大なセキュリティバグを分析した結果から導き出させたものだという。これはユーザーのセキュリティを危険にさらすだけでなく、Chromeの修正と出荷においてコストを増大させているとしている。 同様の問題はMicrosoftも指摘している。2019年2月のセキュリティ会議で講演したMicrosoftのエンジニアは過去12年間、Microsoft製品のすべてのセキュリティアップデートの約70%がメモリの安全性が原因だったと指摘している。端的に言えば、コードベースで2つの主要なプログラミング言語であるCとC++は「安全でない」言語であるという
Overview Key Results Developer Profile I. Geography II. Developer Roles III. Experience IV. Education V. Demographics VI. Evaluating Competence VII. Life Outside WorkTechnology I. Most PopularTechnologies II. Most Loved, Dreaded, and Wanted III. Development Environments and Tools IV.Blockchain in the Real World V.Top PayingTechnologies VI. CorrelatedTechnologies Work I.Employment II. Compan

こんにちは、サーバーサイドのお仕事してます金城(@o0h_)です。 7月は「波よ聞いてくれ」と「ベアゲルター」が共に出るという、嬉しい事態でした。沙村作品は魅力的なキャラクターがいつも多いですが、その中でも女性キャラの強さ・芯の太さに圧倒されます。 [まとめ買い] ベアゲルター さて、今回はタイトルの通り「(静的)解析どうするの」という問題について少し考えている事をまとめてみます。 「Phan」か「PHPStan」か、どっちが良いでしょうか? 現在コネヒトではPhanを導入してコードをチェックしています。 「道具で安心感を得られる」のは最高なので、Phanもまた最高なのです。しかしながら、実際に日常的に回していく中で、いくつか気になっていることもあります。 実行に時間がかかる (プロダクトでは利用しない)php-astエクステンションが必要になる エラーが発生した時の原因箇所の特定が大変

Overview This year, over 100,000 developers told us how they learn,build their careers, which tools they’re using, and what they want in a job. Each year, we ask the developer community about everything from their favoritetechnologies to their job preferences. This year marks the eighth year we’ve published our Annual Developer Survey results—with the largest number of respondents yet. Over 100,
Overview This year, over 64,000 developers told us how they learn and level up, which tools they’re using, and what they want. Each year since 2011, Stack Overflow has asked developers about their favoritetechnologies, coding habits, and work preferences, as well as how they learn, share, and level up. This year represents the largest group of respondents in our history: 64,000 developers took ou
世界に一大ムーブメントを巻き起こしたスマートフォン向けアプリ「ポケモンGO」。この配信を誰よりも楽しみにしていたであろう人が、任天堂の前社長、岩田聡さんです。プログラマーとして数々のゲームをヒットさせた岩田さん。42歳の若さで任天堂の社長に就任してからは、誰もが楽しめるゲームづくりを目指して「ニンテンドーDS」や「Wii」などのゲーム機を開発し、直感的な操作や家族みんなで楽しめる体感型のゲームといった新たな楽しみ方を世の中に提示しました。 世界に惜しまれつつ、去年7月、55歳の若さで亡くなった岩田さん。1周忌にあたり、母校、札幌市の札幌南高校の同級生たちが、高校時代の岩田さんの思い出を電子書籍にまとめました。同級生たちがこぞって“カリスマの原点だった”と語る高校時代の岩田さんの素顔とはーーー。(飯嶋千尋 記者) 岩田さんの性格がうかがえる1冊のノートが残っています。札幌南高校時代の化学の

The PYPL PopularitY ofProgramming Language Index iscreated by analyzing how often language tutorials are searched onGoogle. The more a language tutorial is searched, the more popular the language is assumed to be.It is a leading indicator. Theraw data comes fromGoogleTrends. If you believe in collective wisdom, the PYPL Popularity ofProgramming Language index can help you decide which lang
Enter thego get path to the project below: GenerateReport SponsoredReport Cardsgithub.com/mergestat/mergestatgithub.com/photoprism/photoprism [Your Repo Here!] Recently Generatedgithub.com/oakroots/personagithub.com/pozitronik/steelclock-gogithub.com/otfot/docxrgithub.com/ismailarabaci/go-challenge-permissiongithub.com/lesomnus/jz
It has been more than seven years now since I started making Landscape: Author: carlio <git@carlcrowder.com> Date: Wed Jan 30 08:42:29 2013 +0100 Initial commit What started asscratching my ownitch - I wanted something like SonarQube but forPython. I really worked hard to make … more ... Now that 2016 has shuffled off this mortal coil and we can all take a breather and see what 2017 brings us,
Overview Developer Profile I. Geography II. Developer Occupations III. Programmers, Engineers, and Developers IV. Age V. Experience VI. Gender VII. Diversity VIII. EducationTechnology I. Most PopularTechnologies II. Most Loved, Dreaded, and Wanted III.TopTech on Stack Overflow IV.TrendingTech on Stack Overflow V.Top PayingTech VI. CorrelatedTechnologies VII. Development Environments VIII.


リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く