Arc Forumnew | comments | leaders | submitlogin
Study of 49 programmers: static type system had no effect on development time [scribd] (washington.edu)
1 point by akkartik 4849 days ago | 7 comments


1 point by jsgrahamus 4848 days ago | link

That's good to know. For 23+ years I've used MUMPS, which has no defined types for variables. Of course, that may be offset by the fact that MUMPS only has 1 type -- string -- with the caveat that when the strings represent numbers (or not) numeric operations can be run on them.

Steve

-----

1 point by jsgrahamus 4848 days ago | link

Guess I should have said that it has only 1 type, not no types at all.

-----

1 point by akkartik 4848 days ago | link

That sounds a lot like Tcl. Or even shell:

  $ A="345"
  $ echo $(($A+1))
  346

-----

2 points by jsgrahamus 4848 days ago | link

  Mumps Interpreter V11.0 Fri Jun 08 11:19:45 2012

  > s a="345"
  > w a+1,!
  346
  > s a=" 123" ; With a space at the front, it does not qualify
  > w a+1,!    ; as a number and defaults to 0
  124
  >

-----

1 point by akkartik 4848 days ago | link

Wait, if the second a defaults to 0, shouldn't the final result be 1?

-----

2 points by jsgrahamus 4848 days ago | link

Should have looked before I typed.

Actually it should have been 1. That version of MUMPS acts different than the other 2 systems I have on my PC.

-----

1 point by jsgrahamus 4848 days ago | link

Thanks for the article, akkartik.

Steve

-----