Comments on: Flex: getType() schmettype http://www.dandev.com/2009/03/flex-gettype-schmettype/ Tidbits about software development Wed, 03 Aug 2011 06:05:40 +0000 hourly 1 By: Hasin http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-434 Wed, 03 Aug 2011 06:05:40 +0000 http://www.dandev.com/?p=112#comment-434 Oops..!

]]>
By: admin http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-224 Tue, 14 Dec 2010 19:18:21 +0000 http://www.dandev.com/?p=112#comment-224 In reply to Aphtk.

It’s not that I hate type checking, I just expected there to be an easier way to get just the type ala PHP’s gettype().

]]>
By: Aphtk http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-223 Tue, 14 Dec 2010 19:14:56 +0000 http://www.dandev.com/?p=112#comment-223 Why not just set your compiler to standard mode if you hate type checking so much?

To me type checking:
1. Moves many runtime errors to compile time
2. Opens doors to polymorphism

]]>
By: admin http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-218 Sat, 11 Sep 2010 14:58:18 +0000 http://www.dandev.com/?p=112#comment-218 In reply to Lawrie.

Lawrie, thanks for bringing that up! getQualifiedClassName() does seem to be the same as the “name” node in describeType()’s return value.

]]>
By: Lawrie http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-217 Sat, 11 Sep 2010 14:33:04 +0000 http://www.dandev.com/?p=112#comment-217 What about getQualifiedClassName(value); ?

]]>
By: Elio http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-216 Thu, 02 Sep 2010 09:33:19 +0000 http://www.dandev.com/?p=112#comment-216 Thanks man!

]]>
By: admin http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-92 Fri, 10 Jul 2009 16:17:28 +0000 http://www.dandev.com/?p=112#comment-92 Glad it was helpful!

]]>
By: mustang http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-91 Fri, 10 Jul 2009 11:45:05 +0000 http://www.dandev.com/?p=112#comment-91 Thanks!

]]>
By: chihiro http://www.dandev.com/2009/03/flex-gettype-schmettype/#comment-40 Fri, 17 Apr 2009 18:06:17 +0000 http://www.dandev.com/?p=112#comment-40 Awesome, thanks!

]]>