typing

Is it possible to type style sheets in Firebug fast and convenient ? (as in Aptana)

For example, when I type the first of the parenthesis in Aptana, the second appears immediately, then I need only to press enter, it makes some white space, and I can type further. A small feature that saves a lot of time! But in Firebug it is not. So, is it possible to use that feature in Firebug? Is there any Firebug's plugin that all...

Dynamic typed ViewPage

Is this possible? Here's what I'm trying: public ActionResult Index() { dynamic p = new { Name = "Test", Phone = "111-2222" }; return View(p); } And then my view inherits from System.Web.Mvc.ViewPage<dynamic> and tries to print out Model.Name. I'm getting an error: '<>f__AnonymousType1.Name' is inaccessib...

Is Dvorak typing appropriate for programming?

I'm always looking for ways to be more productive, and I've been reading a lot about typing using a Dvorak keyboard. It looks like this would be much more productive for writing normal prose, but what about for programming? I'm skeptical that it would be effective, since the use of semicolons, colons, brackets, and ampersands are much ...

Is two-finger non-homerow touch-typing for programming acceptable?

I'm currently typing about 90 wpm (from http://speedtest.10-fast-fingers.com/ 90 correct 0 missed) using two fingers and the occasional ring or index. This probably grew from learning to type at an early age, before home-row was presented to me. Is this acceptable? Do people religiously endorse home-row even with low-mistake poking wi...

Visual Basic Typing and Casting Question

I am new to developing with Visual Basic, but have lots of experience in C#/C/C++/JAVA/Haskell and a few others. Is there some reason I am maintaining code and finding code examples where the type declaration just seems lazy? I have seen countless Strings, that are only ever used as the String type, declared as an object. Before the o...

ASP.NET StrongTyped Controller-Action View<TView,TModel>(TModel Data)

I'm using Asp.net MVC 1 and I would really like my controller actions to use StronglyTyped View(data) calls that enforce type checking at compile time and still let me use aspx pages under the default view engine. The ViewPages I call are strongly typed, but errors in the action's call to View(data) can't be caught at compile time becau...

How do you correct repetitive typing mistakes?

I find myself making repetitive mistakes typing keywords and sentences in my code comments. I notice its getting worse since my fingers just keep "practicing" incorrect words. Is there any solution to this? Like a typing tutor designed to help correct repetitive mistakes? ...

Why Is Dynamic Typing So Often Associated with Interpreted Languages?

Simple question folks: I do a lot of programming (professionally and personally) in compiled languages like C++/Java and in interpreted languages like Python/Javascript. I personally find that my code is almost always more robust when I program in statically typed languages. However, almost every interpreted language I encounter uses dyn...

Relationship between type system and scope?

As the title suggests I am wondering what the relationship between these two programming concepts are. Does a certain type system (static / dynamic) lend itself to a certain type of scoping (lexical / dynamic), or are these independent language choices? ...

epoll_data_t question (specifically about C data types)

The union epoll_data_t looks like: typedef union epoll_data { void *ptr; int fd; __uint32_t u32; __uint64_t u64; } epoll_data_t; This is more of a general C question, but why are the leading double underscores __uint{32,64} types used instead of just uint{32,64} without the underscores? I don't really underst...

type vs. interface: why typing then ?

By broadening my horizons with javascript together with my python experience I put some thought. What's the purpose of type if the vision of an entity to an external client is via its interface ? In static typed languages, the type has a very strong, central importance. Type and interface are strictly associated. For example, in java w...

How to get typing status of the other side with javascript?

I've seens this in various places, during chat,I can see whether the other party is typing or not . How do implement this most easily? ...

haskell vs python typing

I am looking for example where things in python would be easier to program just because it is dynamically typed? I want to compare it with Haskell type system because its static typing doesn't get in the way like c# or java. Can I program in Haskell as I can in python without static typing being a hindrance? PS: I am a python user an...

How can I remain productive with one hand completely immobilized?

I broke my left collarbone and my left hand completely immobilized so I can type only with my right hand (thank God I'm right-handed). As you can imagine my typing speed is greatly reduced. Can anyone suggest a way to overcome this impediment, maybe some emacs mode or Visual Studio plug-in which is specially designed for people who can ...

Postgres hashing user defined types

Note: m4 is being used so "_" prefixed strings are expanded (m4 is a macro pre-processor similar to the c preprocessor). My Type: CREATE TYPE UrlPair AS ( HostName varchar( _LIMIT_HOSTNAME ), ScriptName varchar( _LIMIT_SCRIPTNAME ) ...

C++: type Length from float

This is kinda like my earlier question: http://stackoverflow.com/questions/2451175/c-vector3-type-wall Except, now, I want to do this to a builtin rather then a user created type. So I want a type "Length" that behaves just like float -- except I'm going to make it's constructor explicit, so I have to explicitly construct Length object...

Symbols instead of numbers on first row of keaboard?

I program a lot and it bothers me that numbers are default, not the symbols on the front row. I would like to try the other way (And, no, I don't want to switch to Dvorak). How to configure Emacs (or whole Ubuntu) to do just that? Please note that I don't want to mess existing shortcuts I use like CTRL+1 etc. ...

Is there a compiled* programming language with dynamic, maybe even weak typing?

I wondered if there is a programming language which compiles to machine code/binary (not bytecode then executed by a VM, that's something completely different when considering typing) that features dynamic and/or weak typing, e.g: Think of a compiled language where: Variables don't need to be declared Variables can be created doing ru...

Eye-tracking for code editing

Is there a decent eye tracking package to replace the mouse for code editing? I want to free up the mouse, but keep using my keyboard for editing code. Having done some research on it, I concluded that proper eye tracking hardware is expensive. Using a webcam or high resolution video camera seems to be the most viable option. Unfortun...

How do you simulate typing using jQuery?

Like how the click() can be used to trigger a click event on an element, is there any way to simulate the typing of a string? ...