Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:A BASIC fan's step-by-step curriculum (Score 1) 215

I know it's not really what a platform-builder wants to hear, but please use BASIC only for purposes for which it's the best tool. It's ideal for highlighting the often-missed initial concepts, such as the facts that statements are executed in order, variables can store information and change...

In declarative languages instructions are not executed in order (indeed, modern compilers frequently reorder instructions and, as we progressively move away from Von Neumann architectures, very few computing environments will guarantee instructions are executed in order). In functional languages variables cannot change. If those are the ideas you've internalised about software, you aren't going to go very far.

BASIC is just the ultimate bad language. Like King John, it has no redeeming features.

Comment For the love of God don't use BASIC (Score 1) 215

BASIC is a really, really bad language to teach anything about computing. If you want to equip them for the world of work, go for Java or C# (which are more or less the same, from a learner's point of view, and neither is hard). If you want to teach a deep understanding of algorithms and how computers work, Clojure or Scheme would be good choices.

Comment Re:Simple solution... (Score 1) 95

I currently work for a small (50 employees) engineering company. One person in my present team's weekly standup is in Montreal, Canada. Three are in New York, USA. Three are in London, England. The rest are in Glasgow, Scotland. In my last job, with a major international bank, one standup member was in Chennai, India; three in Geneva, Switzerland. One in London, England. And the rest in Glasgow. In the real world 'everyone in one room' just isn't going to happen.

Comment Good operating systems don't use extensions (Score 1) 564

If you're trying to determine what the file type of a file is from an extension on the end of its name, you're engaging in industrial archaelology, not computer use. You can rename any file to have any 'extension'; consequently this idea is completely broken. The idea that you deal with this misfeature by hiding it just compounds the error.

Comment For once, backwards compatibility is a BAD idea (Score 2) 166

The Web is in the mess it now is because Microsoft (and, to a lesser extent, Netscape, back in the day) has gone through so many iterations of deliberately trying to create subtly incompatible variants of HTML. Creating a browser which is backwards compatible with that mess simply perpetuates the mess. The new browser should simply refuse to render non-conforming legacy pages at all - that would force web site owners to clean up their act in short order.

Comment Convenient error, perchance? (Score 5, Interesting) 108

Speaking as someone who's been following this story as it developed, it seems to me that the data that has been 'lost' is data the high heid yins of Scotland's police were very eager to lose. They'd been acting beyond their remit - and probably beyond the law - and they knew it.

So I suspect someone with scrambled egg on their hat took that programmer into a quiet room and said 'you will make an unfortunate error this afternoon, or we'll be sending the boys round'. I'm pretty sure the government suspect the same.

Heads will, I suspect, roll - and I don't think they will be the heads of programmers.

Comment Re:That clinches it. (Score 1) 393

It was 1993 for me. And I moved to Linux from, guess what, BSD. I've never gone back and I don't plan to.

Yes, I really have been using Linux as my main operating system for more than twenty years, and I still haven't found anything better. And Linux, in 1993, was just a reimplementation of UNIX, which is forty years old. Software evolves so bloody slowly!

Comment Methodology is flawed (Score 1) 411

From the article:

From that they got 100 million lines of Java code and tossed out simple methods (those with less than 50 tokens).

Good coding style is to decompose your problem thoroughly, so your methods will be very small. Indeed, using this methodology, the more you refactor the greater proportion of so called 'chaff' you'll get.

I'm not arguing with the general propositions that

  • Java is an extraordinarily prolix language, and
  • These days, most Java is exceedingly poorly written

But this study doesn't show it, because it arbitrarily tossed away the better-written code and then analysed the remainder.

Comment Re:NONE (Score 4, Insightful) 55

My experience is that freelancers - at least those with a good few projects under their belt - tend to have higher coding standards in the first place, and are more adaptable to different coding standards than permanent staff. Good freelancers are used to, and skilled at, learning and adapting to new stuff.

Slashdot Top Deals

"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."

Working...