Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7437

Re: java

From Joshua Cranmer <Pidgeot18@verizon.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: java
Date 2011-08-28 12:49 -0500
Organization A noiseless patient Spider
Message-ID <j3dv3m$crl$1@dont-email.me> (permalink)
References <1de867e5-8511-4c7f-8a68-46a68c79cbe1@k12g2000prl.googlegroups.com> <j383u2$bd0$1@speranza.aioe.org> <K0V5q.7032$GG2.6893@newsfe01.iad> <4e589fed$0$945$e4fe514c@dreader28.news.xs4all.nl>

Show all headers | View raw


On 8/27/2011 2:42 AM, jaap wrote:
> Java has the nasty habit that he wants variables to be declared before
> you can use them. Visual Basic is much smarter, she creates them on the
> fly. Java programmers are afraid to make mistakes, that's why Java is
> created this way. Visual Basic programmers are real hero's: they don't
> make mistakes.

So explicit scoping is a "nasty habit"? Implicit scoping of variables 
unarguably makes closures in Python a lot harder to use, and experience 
from other dynamic programming languages is that implicit scoping often 
causes as many problems as it solves. In addition, static typing also 
allows the compiler to report more errors at compile-time, which greatly 
reduces costs as opposed to suddenly discovering them at runtime. It's 
not that VB programmers don't make mistakes, it's that they're unaware 
of their mistakes. 	

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

java ajit kumar <raj.ajit19@gmail.com> - 2011-08-24 07:57 -0700
  Re: java Jeff Higgins <jeff@invalid.invalid> - 2011-08-24 11:28 -0400
    Re: java markspace <-@.> - 2011-08-24 19:47 -0700
      Re: java Lew <lewbloch@gmail.com> - 2011-08-24 21:08 -0700
  Re: java Lew <lewbloch@gmail.com> - 2011-08-24 13:48 -0700
  Re: java Arne Vajhøj <arne@vajhoej.dk> - 2011-08-24 19:06 -0400
    Re: java bugbear <bugbear@trim_papermule.co.uk_trim> - 2011-08-25 09:19 +0100
  Re: java Roedy Green <see_website@mindprod.com.invalid> - 2011-08-25 12:56 -0700
    Re: java Lew <lewbloch@gmail.com> - 2011-08-25 13:42 -0700
      Re: java Arne Vajhøj <arne@vajhoej.dk> - 2011-08-26 21:22 -0400
  Re: java Rajiv Gupta <rajiv@invalid.com> - 2011-08-26 22:35 +1000
    Re: java Jeff Higgins <jeff@invalid.invalid> - 2011-08-26 09:24 -0400
    Re: java Jeff Higgins <jeff@invalid.invalid> - 2011-08-26 09:48 -0400
    Re: java Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-26 19:22 -0300
      Re: java jaap <niemand@meel.homelinux.net> - 2011-08-27 09:42 +0200
        Re: java RedGrittyBrick <RedGrittyBrick@SpamWeary.invalid> - 2011-08-28 00:43 +0100
        Re: java Paul Cager <paul.cager@googlemail.com> - 2011-08-28 05:37 -0700
          Re: java Stanimir Stamenkov <s7an10@netscape.net> - 2011-08-28 23:01 +0300
        Re: java Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-08-28 12:49 -0500
    Re: java Lew <lewbloch@gmail.com> - 2011-08-27 01:33 -0700
  Re: java Rajiv Gupta <rajiv@invalid.com> - 2011-08-26 22:36 +1000

csiph-web