strong-typing Questions

1

Solved

I have been writing a growing code base in Haskell. My problem is that I have added type signatures to functions based on what GHCI tells me they should be. The problem is now that I have a growin...
Stigmasterol asked 10/2, 2012 at 6:10

4

What is meant by strongly typed datasets in .Net? Can anybody explain with a clear and brief example? And also, what is the difference between strongly typed and weakly typed datasets?

3

Solved

What's the reason for typedefs not being strongly typed? Is there any benefit I can't see or is it due to backward compatibility? See this example: typedef int Velocity; void foo(Velocity v) { //...
Scarabaeus asked 18/11, 2011 at 13:9

3

Solved

Possible Duplicate: Varying behavior for possible loss of precision I found an inconsistence in Java strong typing check at compile time. Please look at the following code: int sum =...
Persephone asked 21/10, 2011 at 8:42

1

Solved

I try to build extension method for IQuerable like this: public static IQueryable<T> FilterByString<T>(this IQueryable<T> query, Expression<Func<T, string>> propert...
Lieabed asked 13/10, 2011 at 12:21

3

Solved

Preamble: I'm working with an XNA Content project to hold all of the various textures (and possibly other resources) that I'm using as part of developing a game. The default method of loading imag...
Rawhide asked 14/8, 2011 at 18:13

5

I would be interested to learn a language that handles objects internally as hashtables (like JavaScript) but could wrap them with strong types to offer the benefits of code completion/intellisense...
Pages asked 28/6, 2009 at 13:29

6

In order to protect ourself from failure because of any renaming of properties (Let's say you regenerate your poco classes because you have changed some column names in the relevant Db table) is it...
Iceboat asked 14/7, 2011 at 6:12

3

Solved

I'm actively developing desktop applications, local and network services, some classic ASP.NET, etc., so I'm used to static compilation and static code analysis. Now that I'm (finally) learning ASP...

5

Solved

I have a plain old CLR object which is essentially a wrapper for two entity framework objects, I'm doing this so I can pass this wrapper object to a strongly typed view in the MVC framework. My foo...
Shoveler asked 17/9, 2009 at 17:42

2

Solved

Does ActionScript have any way of handling a strongly typed list with multiple base types? I am actually looking for something such as a Vector<T,T> ? Is it possible? Or is the only way of...
Snocat asked 23/3, 2011 at 9:23

5

Solved

i'm trying to create a strongly-typed view using Visual Studio 2008. I can right-click a controller action and choose: Add view... In the next dialog window there is an option 'Create a strongly-ty...
Gentoo asked 12/5, 2009 at 12:58

4

Solved

I have a partial view that renders a list of objects into a table format and allows editing of the values... <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IList<whooz...
Winder asked 14/9, 2010 at 16:36

1

Solved

I have a data table in my database where I store various settings. Since they are of any type (even complex object graphs) I decided to store their values as serialized JSON strings. Let's say tha...

2

Solved

I'm implementing a simple session cart for unauthenticated users in ASP.NET MVC and I want to do it right. In the past I have always stored the cart ID in the persistent Session["CartID"] store an...
Inessa asked 22/11, 2010 at 18:31

1

How much time is spent compiling a view in ASP.NET? Of course I don't expect anyone to give me a number, but I think it's interesting to have an idea of how much time this takes because it could i...
Rosellaroselle asked 1/10, 2010 at 23:1

1

Solved

I'm interested to know the complete set of alternatives to subtype polymorphism in scala.
Polyphone asked 29/8, 2010 at 19:52

10

Solved

I have heard a lot about "type system", "strongly typed language" and so on. Currently I am working on some .NET COM interop problem, which addressed "marshaling" a lot. And AFAIK, marshaling is qu...
Fortunate asked 10/8, 2010 at 13:46

4

Solved

I frequently link objects to their parents using: Video parent; Sometimes I have objects that can be children of different object types, so do I: int parentType; Video parentVideo; // if par...
Aorist asked 21/7, 2010 at 23:11

8

Are there any strongly-typed programming languages for the Web? I program in PHP now, but often I wish it yelled at me when I tried to compare a number to a string. Functions in the standard librar...
Leighleigha asked 7/12, 2009 at 17:33

1

Solved

So given a static type in your code you can do var defaultMyTypeVal = default(MyType); How would you do the same thing given a variable of Type so you can use it during runtime? In other ...
Trentontrepan asked 9/6, 2010 at 20:0

6

Solved

I'm working on a framework that I'm trying to type as strongly as I possibly can. (I'm working within PHP and taking some of the ideas that I like from C# and trying to utilize them within this fra...
Clearwing asked 9/6, 2010 at 1:38

7

PowerShell is definitely in the category of dynamic languages, but would it be considered strongly typed?
Toughie asked 22/9, 2008 at 15:43

1

Solved

I have a mvc view made up of a matrix of radio buttons. Each row of radio buttons is in a group and represents a typed object from the model. Using the guidance of various blogs and postings I have...
Lysine asked 9/12, 2009 at 15:56

6

Solved

Why Java, C and C++ (maybe other languages also) do not allow more than one type on for-loop variables? For example: for (int i = 0; i < 15; i++) in this case we have a loop variable i, which...
Tribesman asked 26/8, 2009 at 21:2

© 2022 - 2024 — McMap. All rights reserved.