Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:Java dynamically typed languages (Score 1) 648

by sanosuke001 (#48865489) Attached to: Justified: Visual Basic Over Python For an Intro To Programming
I completely disagree. Dynamic typing makes keeping track of what you're doing more difficult; at least for a beginner. If they don't understand the difference between a string, an "object", and a numerical value (which is confusing itself) then they cannot be an effective programmer. Also, writing more code and being demanding aren't what I would define as being a additional bonus you get for using a dynamically typed language. You write more code because it doesn't work well and you need to fight with the language more than use it. Also, the dynamically typed aspect makes it more demanding the same way driving with your eyes closed makes driving more demanding; it is not helping you in any way shape or form.

Java's "syntactic clutter" I call "helpful verbosity" and most scripting-turned-application languages are sorely lacking in readability; something Java has been getting better at in recent years. Java forces readability and corectness more than most scripting languages I've ever used, at least. Structure is more beneficial to a beginner than freedom.

Comment: Java dynamically typed languages (Score 1) 648

by sanosuke001 (#48856427) Attached to: Justified: Visual Basic Over Python For an Intro To Programming
Stop using dynamically typed languages altogether. Java is much more C-like than python or VB and can be used to teach most of what C can do in a relatively painless fashion. Kids aren't stupid; stop trying to dumb things down for them. Java handles memory allocation and other object-creation issues that might hamper someone learning a programming language while still containing classes, abstraction, inheritance, and a typed object/primitive hierarchy that will do a lot more to teach students about programming than confusing them with "hey this can be a number or a string or a pig object." Java also has many IDE's (Eclipse and NetBeans mainly) that help with the memorization issue in most API's and are very useful when learning. Compiling is much easier than in C as well but still retains the items necessary for understanding how compiling should work.

Comment: Re:Why..... (Score 1) 259

by sanosuke001 (#48158367) Attached to: "Double Irish" Tax Loophole Used By US Companies To Be Closed
I completely agree. I wasn't trying to say how it should be, just how law defined how they decided what you owed. If you have no profits locally you owe nothing. The "see-no-profits" game is a completely different bullshit loophole. They should get rid of income tax and increase sales/property tax to compensate or use something like the APT tax.

Comment: Dislike != Distrust (Score 2) 238

I would say that they distrust it, not dislike. It is also expensive to implement over something that has been used for decades and since they see things more short term than long term, the savings aren't seen so upgrading is deemed not worth the cost and training.
Science

Cosmologists Show Negative Mass Could Exist In Our Universe 214

Posted by Unknown Lamer
from the beam-me-up dept.
KentuckyFC (1144503) writes The idea of negative mass has fascinated scientists since it was first used in the 16th century to explain why metals gain weight when they are oxidized. Since then, theoretical physicists have shown how it could be used to create exotic objects such as wormholes and the Alcubierre warp drive. But cosmologists' attempts to include negative matter in any reasonable model of the cosmos have always run into trouble because negative mass violates the energy conditions required to make realistic universes with Einstein's theory of general relativity. Now a pair of cosmologists have found a way around this. By treating negative mass as a perfect fluid rather than a solid point-like object, they've shown that negative mass does not violate the energy conditions as had been thought, and so it must be allowed in our universe. That has important consequences. If positive and negative mass particles were created in the early universe, they would form a kind of plasma that absorbs gravitational waves. Having built a number of gravitational wave observatories that have to see a single gravitational wave, astronomers might soon need to explain the absence of observations. Negative mass would then come in extremely handy.

Optimization hinders evolution.

Working...