Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RubyとRailsの何が強いのか

 RubyとRailsの何が強いのか

Presented in Qiita Night Lightning Talks on 2022-12-02
https://increments.connpass.com/event/265957/

Akinori MUSHA

December 02, 2022
Tweet

More Decks by Akinori MUSHA

Other Decks in Programming

Transcript

  1. Software Engineer, Senior Expert at WED Inc. ✓Ruby Committer /

    ex. FreeBSD Committer ✓Huginn (⭐37k) Co-maintainer ✓Hammerspoon (⭐9.8k) Contributor Writes Production Code In Ruby / TypeScript / Go / Lua ෢ऀ থل (Akinori Musha) @knu on GitHub and Twitter
  2. Rails͸ࠓ΋ੜ࢈ੑͷ࠷దղͷͻͱͭ • ϏϡʔΛ࣋ͨͳ͍APIαʔόͰ͋ͬͯ΋ڧΈ͕ͨ͘͞Μ͋Δ • Ή͠ΖϑϩϯτΤϯυ͸JS/TSʹ೚͍ͤͨ • RubyͱRails͸ϏδωεϩδοΫΛॻ͘ͷʹదͨ͠ݴޠͱϑϨʔϜϫʔΫ • جຊޠኮ͕๛෋ͰɺυϝΠϯʹదͨ͠৽͍͠ޠኮΛ૿΍͢ͷ΋ಘҙ •

    ΍ΓͱΓ͢ΔΦϒδΣΫτ͕΄΅ActiveRecord ModelΠϯελϯε΍RelationΦϒδΣΫτʹدΔͷ Ͱɺ΄΅self-documented, ݟΔ࣮૷͕ܾ·͍ͬͯΔͷͰಈతܕ෇͚ͷऑΈ͕໨ཱͪͮΒ͍ • ActiveRecordͷྫ֎ͱrescue_fromʹΑΔิ଍ػߏ͕RESTͱ͔ͬͪΓϋϚ͍ͬͯΔ
  3. ॳΊͯ͞ΘΔਓʹ΋΍͘͞͠… • ϕʮRubyͰ͸͜Μͳ෩ʹॻ͚ΔΑʯ • ॳʮ͍͢͝ɺ؆ܿͰ͔͍͍ͬ͜Ͱ͢Ͷʂʯ • ॳʮʢͰ΋ଞͷݴޠʹԠ༻ޮ͔ͳ͍஌ࣝͩ…ʣʯ • ॳʮͥΜͥΜิ׬ީิ͕ग़ͯ͜ͳ͍Μ͚ͩͲΈͳ͞ΜͲ͏΍ͬͯઃఆͯ͠ΔΜͰ͔͢ʁʯ •

    ϕʮ͍͢͝ϓϥάΠϯઃఆͱ͔ಛʹͳͯ͘ɺΈΜͳۭͰॻ͍ͯ·͢… 
 ͦΕ͔RubyMine࢖ͬͯΈΔʁʯ • ॳʮʢࢧԉͳ͠Ͱॻ͘ͷ·͔͡…ʣʯ TypeScript/Go/Kotlin͸ݴΘͣ΋͕ͳɺ΋͸΍Python΋PHP΋ܕΞ ϊςʔγϣϯΛॻ͘͠ఆٛδϟϯϓΛ͹Μ͹Μ࢖͏ͷ͕;ͭ͏😇