Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Yes but (Score 1) 437

Objective-C usage is based on Vendor lock-in

You can write Objective-C on Linux and Windows, it's fully supported by GCC. You meant to say Cocoa. There is no reason why you can't write a QT GUI, or WinAPI application using Objective-C.

Windows is not tied to a language

But the .NET managed code environment, which is essentially MSIL (a language), certainly is tied to Windows. Most new Windows applications are written in .NET, which creates the same vendor lock-in problem you are trying to bash objective-c for. Mono is too incomplete to count, I'd imagine it lacks support for WPF, WCF, and other emerging .NET technologies.

Comment Re:New features (Score 2) 437

It's still too verbose

Fixed that for you. For the uninitiated, trimming a string is as simple as

NSString *s = [stringToTrim stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceCharacterSet]];

The way the language functions is beautiful, but they seriously need to get rid of stuff like this.

Comment Re:A cheer goes up (Score 1) 335

With CSS, I have to constantly have a seperate page open containing the CSS, and its not inherently clear in the HTML how things are being laid out on the page.

Yes that is the point, to separate layout (styling) from semantics. Use a <style> tag if it bothers you that much.

I think CSS makes sense as a concept, but learning it is really quite annoying for the most part.

FTFY. I work with developers who share your sentiments. I also feel like bashing my head into my desk when I work on the mangled, crufty, mess of nested tables that has been globbered together over 7 years. I will definitely agree with you that CSS is a pain in the ass to wrap your head around, but it really doesn't take much more than a basic understanding of margin/float/display/padding to do about 90% of layout work.

I prefer tables as development time for a page was easily 20x faster for me

It cuts the amount of code required by at least a two-thirds. <table><tr><td>Foo</td></tr></table> is more typing than <div>Foo<div>

Comment Re:Who says there is a loss? (Score 5, Insightful) 768

Interest is not purely profit. Interest is designed to offset inflation and the other ways you can spend your money. If I owed you $81,000 would you prefer that paid as a lump sum today or paid as a 0% interest loan over 25 years ($3,2400 /yr)?

So in order to make $100,000 today equal to $100,000 in 25 years, we need interest (at least to cover inflation). So for the purposes of this loan $100,000 (at time 0) == $181,000 (at time 25). In addition to the interest, you pay portions of the $100,000 you borrowed. Each payment of $687 is an uneven mix of Interest payments and Principal payments, the ratio changes as the loan approaches time 25.

So if you stop paying halfway through the loan, you may have paid in total $100,000 (combination of interest and principal). But $100,000 (at time 0) is less than $100,000 (at time 25), the lender loses money.

Comment Re:Australia does a simple job here (Score 1) 768

Yea that's the way it works in the United States also... Student debts are not dischargeable through bankruptcy. Defaulting on student loans will make you ineligible for government employment, along with garnishments on wages, tax returns, and social security benefits.

I would be very interested to see what percentage of these debts are owed to for-profit institutions (e.g. University of Phoenix). Some of these colleges are owned by publicly traded companies, which provided ample incentive for unethical profiteering. There are colleges in my city that sell absolutely worthless degrees in media related fields, cosmetics, business, and healthcare that cost $60,000+.

If you can't make money, you can't repay debts (blood from a stone). It was a simple idea to follow in the U.S. until some schmuck decided to open for-profit colleges and game the system.

Comment Re:Static Strong (Score 2) 482

How about a Javascript that's more Java-like?

Real private and public modifiers would be nice, but I wish people would take the time to understand why the LISP-like qualities of JavaScript make it awesome. I often find myself wishing that .NET and Java were more like JavaScript. To be an exceptional .NET or Java programmer, you need to know tons and tons of specifics about the language. To be a good JavaScript programmer, all you really have to understand are the concepts related to objects and scope.

I think Java and .NET are great enterprise languages for applications that are 10,000+ lines of code. But writing JavaScript in a message-centric fashion (think LISP or Objective-C) is very pleasing with it's terse expressiveness. The language is flexible, and works great for applications that are developed and maintained by one or two programmers.

But the end seems to be near for good-ol-JavaScript; I feel the same way that the LISP programmers must have felt when C and COBOL began to assert their dominance. I'm sad that this inefficient toy-language will soon be relegated as an obsolete and inferior language.

Comment Its shit like this slashdot.... (Score 5, Insightful) 440

JavaScript is a great language, but using it for full-blown enterprise app development would be a major setback. Strongly typed languages are great for the enterprise, because you know (and Intellisense knows too) at compile time what to expect from objects.

Furthermore, I'd speculate that the performance of the .NET Virtual Machine is miles ahead of any JavaScript VM. I cannot recall hearing about any JavaScript VMs that support multiple threads either.

Shit like this makes me not even want to come to this site.

Slashdot Top Deals

This file will self-destruct in five minutes.

Working...