Skip to main content

Questions tagged [dynamic-typing]

Dynamic Typing is a property of a programming language where type checks are performed mostly at run time.

0 votes
3 answers
331 views

Question Body I'm currently developing a Python coding standard for use in enterprise-level internal systems. Our typical use cases include: API input/output validation Reading from databases, ...
agolta's user avatar
  • 77
10 votes
7 answers
3k views

In the Python code base we inherited there are several functions that check parameter types and try to "accommodate" different types. Example: def process_data(arg): json_ = {} if ...
oliver's user avatar
  • 229
12 votes
9 answers
7k views

In my understanding, the strengths of not using type are flexible and newbie-friendly, and the strengths of using type are easier to debug and reading code. However now you can use types on ...
Ooker's user avatar
  • 335
0 votes
1 answer
113 views

I create Hexagonal Architecture based software with TypeScript or C#. The heart of Hexagonal Architecture is the Domain Model. For example, for a user of application y, the domain model might look ...
Vinn's user avatar
  • 103
0 votes
1 answer
368 views

Lately I've been surveying the programming language landscape and one of the languages I looked at was Pharo, a modern Smalltalk. Programming using a living system that runs in a virtual machine seems ...
Daniel Arant's user avatar
1 vote
3 answers
361 views

Suppose you are given a python API: def onArgumentReceived(x): doWhatever(x) # expects a unicode string I am not a security expert by any stretch of the imagination, however on the face of this, ...
Anon's user avatar
  • 3,649
4 votes
5 answers
588 views

See: Type inference with duck typing - does this work? Why is it not used? And: General approach for proving decidability/undecidability Hello, I wanted to ask a theoretical question about type system ...
SeriousBusiness100's user avatar
2 votes
3 answers
291 views

I am brain storming on how to create a type system for a programming language, and what the compiler will do with the typing information. Here is what I have found, followed by the main question, ...
Lance Pollard's user avatar
0 votes
0 answers
111 views

I have 2 classes that share some properties public class SportsUser { public string errorCode { get; set; } //the sportsuser and SportsAdminUser is from a different database hence the long and ...
pinman's user avatar
  • 11
4 votes
2 answers
2k views

As I understand, every programming language is either statically type checked or dynamically type checked (and there are cases where these two approaches are mixed, but for simplicity I won't mention ...
RussoTuristo's user avatar
0 votes
0 answers
350 views

Problem to solve I have a method parse_doc that should dynamically determine a parsing function to parse document_id based on the value of the document_id string: # list of files that may have ...
anon01's user avatar
  • 117
1 vote
1 answer
1k views

I'm not sure if static vs. dynamic mock is the terminology used to describe this comparison, but I got this terminology from types of mocking static vs dynamic and Hand-rolled mocks made easy. To ...
Mario Ishac's user avatar
4 votes
4 answers
2k views

It is my understanding that: It's particularly difficult to compile ahead of time, to efficient native machine code, a dynamically typed language like Python. Largely as a result of the above, the ...
Amelio Vazquez-Reina's user avatar
0 votes
1 answer
388 views

Disclaimer: I previously posted this on Stack Overflow, but it seems that perhaps that was not the correct site for the question. If this is still not the correct site, please let me know. I'm ...
asdf's user avatar
  • 11
7 votes
3 answers
485 views

In statically typed languages or dynamically typed languages that use a type checking system you can guarantee that the input type is the type that you specified in the contract. However, in ...
Adam Thompson's user avatar

15 30 50 per page
1
2 3 4 5
7