Slashdot is powered by your submissions, so send in your scoop


Forgot your password?
Trust the World's Fastest VPN with Your Internet Security & Freedom - A Lifetime Subscription of PureVPN at 88% off. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:== vs =, | vs ||, variable/pointer dereference (Score 1) 60

What about the tests?

This is crypto-currency, the hot new thing tests are for old fogeys who still use dollars. Get with the times, young programmers are Agile, they don't plan and test their work, they release early and often. They release the Minimum Viable Product (minimum piece of shit they can get away with for a moment), it's illegal now to even think about corner cases and make code robust.

I don't know about ZCash, but Bitcoin has an extensive regression test suite and test mode. And test-first development is a principle of agile, so I'm not sure why you concluded agile programmers don't test.

Comment Re:Good ol' days (Score 0) 117

The reason is both the reason for its success and the reason for its failure. The Pascal language makes a lot of compromises in areas of readability and organization to allow for small compilers. In the case of PCs, it was much easier to write a Pascal compiler that ran well off a 128k floppy than a C compiler. That stopped mattering pretty quickly.

Comment Re:Pascal-based? (Score 1, Redundant) 117

Well first off the super computers aren't about the Pascal language but the Pascal chip. I'd disagree that Pascal was all that proven out. It seemed very quickly to have had structural flaws which caused other languages to overtake it. Pascal was fairly low level yet it lacked good low level interfaces. Which is why it lost out to C. Pascal supports admit this and one of the main directions of Turbo Pascal / Delphi was to introduce into Pascal handling for lower level code (example partial compilation).

If you think of Pascal as a higher level language where bad handling of low level code is acceptable it also wasn't competitive. Pascal is strongly typed but has a poor type system without abstractions. Making types difficult to work with under almost all conditions. It had poor handling of static vs. dynamic data including things like abstracting networks or file systems. There are lots of sacrifices in organization for ease in writing small compilers. A very good choice for early 1980s PC compilers that had to run off a floppy not a good choice since. The languages strictness on looping structures tended to result in duplicate code.

Etc... Pascal was a partial success. But it died for good reasons.

Comment Re:What the article says (Score 1) 600

That's a very good answer. I'm going to digest it for a day or two and think about it. This forum doesn't lend itself to long conversations. But I'll see if it is still open for a response. My initial thinking is your argument seems strong.

I guess the question then is, given your attitude above why do you think even single inheritance is useful? How does the above not argument equally apply in that case? In other words why not do what functional languages do and have polymorphic methods not tied to classes and get rid of base / parent classes entirely?

Comment Re:What the article says (Score 0) 600

Interesting point Xest. And phrased politely for a correction as well. I guess it comes down to fundamentally do you view Honda as a collection of cars or do you view Honda as a brand that is applied to cars. I was thinking the former you were thinking the later. I do agree that under the later no reason that brand shouldn't be a property is-a relationship.

Let me ask you the classic GUI examples: button inheriting from rectangle and clickable. How would you unwrap that?

Slashdot Top Deals

Somebody's terminal is dropping bits. I found a pile of them over in the corner.