[Cuis-dev] Poll: ? instead of is: ?

Hernan Wilkinson hernan.wilkinson at 10pines.com
Tue Aug 6 06:02:50 PDT 2019


Hi,
 initially I think that in is this case it is not a good idea.
 For me, ? is not expressive enough to deduce the same meaning of #is:

 I would not adopt it for this, sorry :-).

 Hernan.

On Tue, Aug 6, 2019 at 8:54 AM Juan Vuletich via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi Folks,
>
> One thing I don't like about the #is: message is that being a keyword,
> it usually requires parenthesis. Today I realized we can use #? instead.
> So, we could write:
>
> aForm ? #GrayForm ifTrue: [ self doSomething ].
>
> instead of
>
> (aForm is: #GrayForm) ifTrue: [ self doSomething ].
>
> Do you like it? What do you prefer, #is: or #? ? Reasons for adopting or
> not adopting it?
>
> Thanks,
>
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190806/e18fd8a1/attachment.htm>


More information about the Cuis-dev mailing list