dynamic-typing
How to deal with Python ~ static typing? [closed]
开发者_JAVA技巧 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so[详细]
2023-01-14 06:01 分类:问答Can I specify a specific superclass requirement for a class type variable?
I\'m making a class that initializes instances of certain classes.This class will be used to initialize a few different types of classes all subclassed from a common super class.Currently I am using a[详细]
2023-01-12 10:24 分类:问答What's the difference between Object, *, and no type at all?
Is there any difference between those three declarations? var x; var y:Object; var z:*; Is there anything in AS that开发者_如何转开发\'s not an Object?var x; and var x:*; mean precisely the same th[详细]
2023-01-10 02:25 分类:问答Dynamic Typing without duck typing?
I\'m used to dynamic typing meaning checking for type info of object/non o开发者_如何学编程bject oriented structure at runtime and throwing some sort of type error, ie if it quacks like a duck its a d[详细]
2023-01-09 14:22 分类:问答Where do you benefit from dynamic typing?
How often do you take advantage of dynamic typing in a way that really wouldn\'t be feasible in a statically typed languag开发者_如何学JAVAe?[详细]
2023-01-08 09:26 分类:问答Deserve dynamic typed languages all the criticism? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-01-08 04:08 分类:问答How can I create a sequence of numbered variables at run time?
Friends, I must create a series of ArrayLists, each containing objects of unknown origin, with each instance assigned to a separate local variable.[详细]
2023-01-05 03:44 分类:问答Is the a pattern for iterating over lists held by a class (dynamicly typed OO languages)
If I have a class that holds one or several lists, is it better to allow other classes to fetch those list开发者_运维问答s (with a getter)? Or to implement a doXyzList/eachXyzList type method for that[详细]
2023-01-02 22:14 分类:问答.NET generic class instance - passing a variable data type
As the title suggests, I\'m tyring to pass a variable data type to a template class. Something like this:[详细]
2023-01-02 11:37 分类:问答Java Best Practice for type resolution at runtime
I\'m trying to define a class (or set of classes which implement the same interface) that will behave as a loosely typed object (like JavaScript). They can hold any sort of data and operations on them[详细]
2022-12-29 05:42 分类:问答