Please create an account to participate in the Slashdot moderation system


Forgot your password?

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: Swift loved 'cause ObjC (and frameworks) supported (Score 1) 100

by SuperKendall (#49515699) Attached to: Swift Tops List of Most-Loved Languages and Tech

I've been using Swift for production work since shortly after it was released (much of it on an internal enterprise application which is how we were able to start using it right away).

What makes Swift really nice to use in its own right is that it has a lot of useful language features (like closures, generics, tuples, etc) with a syntax that can be kind of boiled away to the degree that you choose, to keep code clear and understandable. I think the best way I could describe it, is that it's like a functional language buy is very practical and doesn't get preachy about it.

So already the language is very pleasant to use. The real benefit Swift enjoys that give it such a high rating though, is that it comes with very advanced tooling and a super-integrated mirror-counterpart language (Objective-C) right out of the box.

Think about it, how many new languages like Rust suffer because you have to build up syntax highlighting support in the editors you like, figure out a new build process tailored to that language, how to run the applications and so on. With Swift if you knew XCode you could easily just start writing Swift and all of the annoying overhead was gone. Even if you DIDN'T know XCode, at least it's a pretty advanced tool dedicated to helping produce running code in very short order (VERY short order with Playgrounds).

Then along with that, you have a new language which invariably has some missing features or capabilities, that make some particular thing you are trying to do hard in the new language. Well in those cases, Objective-C is very close at hand - you can mix code from both languages easily in the same class even. For example Swift itself is strongly typed and has very few reflection or dynamic method lookup features yet. Objective-C is kind of the opposite way, full of dynamism and runtime reflective use, so you can jump over to those abilities as needed.

I don't think people outside the iOS community realize just how fast everyone doing iOS development is switching to Swift. Swift (for me) has actually worked really well since day1, the tooling was rough for a while (with the syntax highlighter/code completion crapping out regularily on Swift code) but I THINK it may finally be OK.

It's definitely not a case of people hating Objective-C, because a lot of the people that like Swift also liked Objective-C. It's a case of having some good tools already, and being given another tool that seems to work really well for some tasks and thus appreciating having an expanded toolbox...

Comment: Re: And once this school fails to get women intere (Score 1) 595

I love how society gets worked up about FGM but thinks it's okay to mutilate young boys by the millions. And don't give me any shit about how it's not the same thing, because even if I bought the BS put out there by the pro-circumcision crowd, it'd still be the equivalent of elective cosmetic surgery on people too young to give informed consent. Of course, it's not really, you're chopping off functional body parts.

Comment: Re:How about basic security? (Score 2) 116

by Shakrai (#49515327) Attached to: Why the Journey To IPv6 Is Still the Road Less Traveled

2: Attackers can view your entire IP space. A simple nmap scan, then choosing what zero days to use... instant pwn-ership.

That's what firewalls are for.

Let me guess, you're one of those that thinks the breaking of end-to-end communications (NAT) is an acceptable substitute for a firewall?

Comment: Hey geniuses (Score 3, Insightful) 567

by benjfowler (#49509957) Attached to: William Shatner Proposes $30 Billion Water Pipeline To California

... how about charging those rural parasites fair market value for the water they use, reflecting the scarce/non-renewable nature of fossil water??

Asking greedy/short-sighted primary producers to take some of that personal responsibility they vote for and foist onto the urban poor is only fair. If the shoe fits, wear it.

Comment: Re:Less humane to keep them alive. (Score 1) 533

This may be true under the legal codes of some countries

Sorry, but after that statement I really cannot see you as anything but a monster.

You think only of yourself and what makes you feel good, not what is good for humanity or even the prisoner himself...

Under the constitution treason is punishable by death, so it's obvious the crutch you re falling back on cannot stand.

Comment: Re:Less humane to keep them alive. (Score 1) 533

What you overlook is that some people have truly lost the right to be considered human any more, through causing enough pain and suffering in others. Again, you overlook that keeping someone alive for many years may bring about a lot more pain and suffering to others, including guards and other prisoners.

You wouldn't advocate to keep a live landmine hidden randomly inside a prison, yet you are arguing for exactly the same effect. How is that more humane? Even to the guy to be killed it's not more humane to keep them locked up forever.

Comment: Less humane to keep them alive. (Score 1) 533

I'm not sure why it's considering more humane to keep someone locked up forever than simply to kill them and end what is essentially torture...

The more you allow contact with other prisoners, the more you are punishing others by allowing contact with someone who has no reason or incentive to avoid harm to others.

The more you keep someone locked away the more it is essentially torture.

The death penalty should not be about expense, but exists because some people simply cannot live without harming others, and have no place in the world.

Comment: That is OK when... (Score 0) 245

by SuperKendall (#49503445) Attached to: The Upsides of a Surveillance Society

They were under constant watch of the Stasi

The difference is that the Stazi was not under constant watch from the people, as is the case now with citizens filming police.

Omnipresent monitoring is OK if there is enough monitoring to ensure captured video is not taken out of context, and can reveal abuse from the state.

Comment: Re:Is banishment legal? (Score 1) 270

by Shakrai (#49503159) Attached to: Gyrocopter Pilot Appears In Court; Judge Bans Him From D.C.

*shrug*, in New York State they have six months for all felony charges except murder, where they have a year. It takes time for both sides (defense and prosecution) to prepare their cases. 70 days seems reasonable to me, particularly in the case of someone (like the subject of TFA) who isn't being held pending trial.

Don't tell me how hard you work. Tell me how much you get done. -- James J. Ling