Wiki

Changes between Version 4 and Version 5 of ExpressionTour

Show
Ignore:
Timestamp:
06/20/10 04:25:09 (15 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExpressionTour

    v4 v5  
    4646}}} 
    4747 
     48== Bitwise == 
     49 
     50to-do (& | ^ << >> ~) 
     51 
    4852== Boolean == 
    4953 
     
    5458if obj.isActive, .doSomething 
    5559}}} 
     60 
     61to-do (all, any, don't say ==true or ==false) 
    5662 
    5763== Strings == 
     
    6975== Comparing Values == 
    7076 
    71 to-do (<>, is & is not vs. == & <>, overriding .equals (and .getHashCode) and .compareTo) 
     77to-do (<>, is & is not vs. == & <>, 0<= i < 10, overriding .equals (and .getHashCode) and .compareTo) 
    7278 
    7379== Collections == 
    7480 
    75 to-do (list, array, set, dict, explicit creation, indexing, membership(in and not in for lists, arrays, sets, dict.keys, dict.values) ) 
     81to-do (list, array, set, dict, explicit creation, indexing, .get, membership(in and not in for lists, arrays, sets, dict.keys, dict.values) ) 
    7682 
    7783== Slicing == 
     
    8288 
    8389to-do (inherits, implements, if-inherits, alternative is virtual method) 
     90 
     91== Casting == 
     92 
     93to-do (to, to?) 
    8494 
    8595== If Expression == 
     
    95105to-do (nil, to ?, to !, coalesce ? and ?=, ! and !=) 
    96106 
     107== Method References == 
     108 
     109to-do (ref obj.method) 
     110 
     111== Expressions in Contracts == 
     112 
     113to-do (old expr, a implies b, breakout to a method)