|
Do "type-safe" and "strongly typed" mean the same thing?
Started by Wondering on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
In other words, there's no compile-time type information determining what you can and can't do with a....
For instance, dynamic programming languages are often type safe, but not strongly typed.
Clear and widely accepted definitions.
|
|
I will be using LLBLGen to generate a model, however I don't want to solve my design issues by just using whatever built-in inheritance tools it has. I want the model to make sense regardless of the OR/M tool.
So, I have several different kinds of entities...
Started by JustAProgrammer on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
And yes, you do have a type.
A common Party supertype, which is somewhat similar to where you're going .
|
|
Are all WCF endpoint types capable of the same things? IS the only difference the transmission type and security?
Started by Matt on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Can perform, the binding influence the transmission type and some of it's features (which I think you.
|
Ask your Facebook Friends
|
I use Dropbox for relatively simple tasks, such as sharing mp3 files between my home PC and work laptop. What types of clever things can I use this software for? I imagine it could be quite powerful as a collaboration tool.
Started by Andrew on
, 28 posts
by 23 people.
Answer Snippets (Read the full thread at superuser):
Then use the dropbox ....
Edit : just put an HTML file in the Public folder which exists in your dropbox folder .
Hosting web pages in your public folder.
You can share browser favorite (well in Firefox I do it) between 2 desktops (example Work and Home) .
|
|
While analyzing some ASP.NET MVC projects I got to see anonymous types scattered all over.
HTML helpers have them:
<%=Html.TextBox("view.Address", "address", new { Class = "text_field" })%>
A lot of the return types for actions have them:
JsonNetResult...
Started by Cherian on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
That is, it's not possible to expilictly specify the type of an anonymous type as an expression(new { .Class = "foo....
What's the alternative? Passing an IDictionary<String,Object>? I think the anonymous type their type.
|
|
Hi guys I have a dependency that I need to inject into one of my classes. This dependency will be lifestyle of Transient. It inturn has a dependency of type Type. This type should be the type of the original class. I was just wondering if anyone has any...
Started by vdhant on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Your code so you're doing:
public interface IRegister{ RegisterResult MyMethod(object thing); }
So you pass the instance into the register, that way you don't need to pass the type into the constructor I am trying to achieve, the Register....
|
|
I am making a chat with php ajax i want to show a message if the user has not typed any thing more than 1-2 minutes or event not navigating from one page to another if so than shows a message in the chat box [ last message recieved 2-3 mintus ago ] like...
Answer Snippets (Read the full thread at stackoverflow):
You would probably use setTimeout....
If it hasn't changed, you can use an XHR to tell the server .
Use setInterval to periodically run a function that checks the value of the input, and compare it to the previous time you checked (which you would need to store) .
|
|
Hi,
I'd like to be able to describe different types of a model using RoR associations. An example:
Models:
Post
ImagePost
post_id:integer
url:string
MessagePost
post_id:integer
message:string
ImagePost and MessagePost are a type of Post. I'd like @posts...
Started by Ben on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Post table which will have a Type column, so a given ImagePost will still just be a row in the Post_id:integer, # topic_id:integer, type:string class Post < ActiveRecord::Base # common methods to define the sub and detail class for each....
|
|
It seems like people who would never dare cut and paste code have no problem specifying the type of something over and over and over. Why isn't it emphasized as a good practice that type information should be declared once and only once so as to cause...
Started by dsimcha on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
(See The Little MLer, I still strongly agree with you on... .
Such as the ML family) take type inference much further, and create a whole style of programming where the type is enormously important, much more so than in the C-like languages.
|
|
I'm trying to create a jQuery spinner type thing earlier today somebody gave me this code which increases the text field value up/down on button clicks. Fantastic. But what do you do to disable the .desc button if the value is 0 - zero. In PHP very easy...
Started by russell on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The easiest thing to do would.
An image instead of a button or input element, you can't truly disable it .
|