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

翻訳しようぜ

 翻訳しようぜ

Programming Crystalの概要

A6618ec50149a809bcef17a5512b4448?s=128

Masayuki Uchida

November 05, 2018
Tweet

Transcript

  1. ຋༁͠Α͏ͥ Crystal.tokyo #8 2018.11.2 Masayuki Uchida a.k.a msky

  2. None
  3. None
  4. https://qiita.com/advent-calendar/2018/crystal

  5. ͱ͜ΖͰւ֎Ͱ͸

  6. https://pragprog.com/book/crystal/programming-crystal

  7. Զ͕ ຋༁ʢ΍ʣΒͶ͹ ͳΒ͵

  8. ओͳ಺༰ • Diving Into Crystal • Crystal Foundations • Typing

    Variables and Controlling the Flow • Organizing Code In Methods and Procs • Using Classes and Structs • Working With Modules • Managing Projects • Advanced Features • Web Frameworks and the Shard Ecosystem
  9. Diving Into Crystal • Rubyͱ͜Μͳʹࣅ͍ͯΔɺ͚Ͳͪΐͬͱҧ͏ • ੩తܕ෇͚ͷϏϧυ͢ΔݴޠͳͲ • ύϑΥʔϚϯεͷҧ͍ͱ͔ •

  10. Diving Into Crystalଓ͖ • Sinatra΍KemalͱͷύϑΥʔϚϯεͷൺֱ • ͜Μͳͱ͜ΖͰ࢖͏ͱ͍͍ײ͡ͷྫ • Fast web

    apps that look and feel like Ruby • Fast Ruby extensions • Backend processing • Web services and microservices • Command-line applications • Data science applications • Games and graphic renderers • Small utility programs • IoT applications
  11. Crystal Foundations • νϡʔτϦΞϧͷষ • جຊతͳܕͷઆ໌΍ߏจ

  12. Typing Variables and Controlling the Flow • Crystalݻ༗ͷܕม׵ͳͲ • ഑ྻͳͲͱܕ͕ؔ܎͢Δ৔߹

    • ܕਪ࿦ • ྫ֎ॲཧͷઆ໌ • Nilableʹ͍ͭͯͷઆ໌
  13. Organizing Code In Methods and Procs • ϝιουͱProcͷ࢖͍ํʢͦͷ·· • ܕࢦఆͷ࢓ํͱ͔ɺΦʔόʔϩʔυͷઆ໌

  14. Using Classes and Structs • ClassͱStructsʹ͍ͭͯ • ͜ΕΒͷಈ͖ͷҧ͍ͱ༻్ʹ͍ͭͯ

  15. ॴײ • ΍΍ݹΊ • ผهͰݱࡏͱͷόʔδϣϯͷҧ͍ʹ͍ͭͯͷ஫ऍ͕͍Δ͔΋ • ͨͩ΍͸Γઆ໌͸ஸೡͳͷͰ຋༁ʢ΍ʣΔՁ஋͸͋Δͱࢥ ΘΕΔ • ࢀՃ͍ͨ͠ਓ͸

    • github/msky026