Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

UFO演算子について

 UFO演算子について

RubyKaigi 2016 After Party (2016-09-10)

Hirofumi Wakasugi

September 11, 2016
Tweet

More Decks by Hirofumi Wakasugi

Other Decks in Programming

Transcript

  1. 4QBDFTIJQ0QFSBUPS  DMBTT4J[F.BUUFST JODMVEF$PNQBSBCMF EFGJOJUJBMJ[F TUS  !TUSTUS FOE 

    EFG PUIFS  TUSTJ[FPUIFSTUSTJ[F FOE FOE w #BTJDPQFSBUPSGPSDPNQBSJOHUIFSFDFJWFSBHBJOTUBOPUIFSPCKFDU w "MTPLOPXOBTl6'0PQFSBUPSz MFBTUJO+BQBO  w $MBTTFTNJYJOT$PNQBSBCMFNVTUJNQMFNFOU
  2. w :PVDBOXSJUFMJLFUIJTVTJOHJUTJNQMFNFOUBUJPO w -PPLTQSFUUZDPOWFOJFOU EPFTO`UJU "UJQGPSVTJOH DBTF GPPCBS  XIFO

    QVUTGPPJTFRVBMUPCBS XIFO QVUTGPPJTHSFBUFSUIBOCBS FMTF QVUTGPPJTMFTTUIBOCBS FOE
  3. w :PVDBOXSJUFMJLFUIJTVTJOHJUTJNQMFNFOUBUJPO w -PPLTQSFUUZDPOWFOJFOU EPFTO`UJU "UJQGPSVTJOH DBTF GPPCBS  XIFO

    QVUTGPPJTFRVBMUPCBS XIFO QVUTGPPJTHSFBUFSUIBOCBS FMTF QVUTGPPJTMFTTUIBOCBS FOE ʁʁ
 (SFBUFSJGQPTJUJWF  0SMFTTJGQPTUJWF  0SQPTJUJWFJGQPTJUJWF  85'
  4. 4P*BMXBZTEPUIFGPMMPXJOHTUFQTXIFO* XBOUUPVTFDPNQBSJTPOPQFSBUPSTXJUINZ DMBTTFT  *ODMVEFUIFNPEVMFJOBDMBTT  4UBSUXSJUJOHAEFG PUIFS FOEA 

    CFBOHVJTIFEUSZJOHUPSFNJOENFUPJGHSFBUFSMFTT NVTUSFUVSOQPTJUJWFOFHBUJWFOVNCFS  (PPHMJOHGPSB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