Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:The source of troubles is usually in humans (Score 1) 386

That's not even the start of it. There's a huge number of assembly instructions that cannot be implemented in C.

But 'assembly language' is so ill-defined (there are thousands of assembly languages) that it's just meaningless to say "Anything you can do in assembly language, you can do in C" anyway.

Comment Re:garbage under, garbage above (Score 2) 386

Whenever a programming task can be precisely defined, a machine can do it better. The process of converting C to assembly is hard for humans but machines can do it easily. The evolution of programming has mostly been a repetition of the same theme: Identification of a problem, clumsy efforts by humans to solve that problem manually, development of a process that automates that problem, and then sitting back and letting the computer handle that particular problem while we move on to more challenging ones. You could say this about not just converting high-level code to assembly (early programs that did this were called 'autocodes' and were in the domain of AI research), but about parallelism and type checking and memory analysis.

Comment Re:garbage under, garbage above (Score 2) 386

> Humans actually suck at just about everything.

We are great at the things we actually evolved to do. Language, visual perception, navigating social situations, etc. These are the reasons we went from 500 cc of brain volume to 1500 cc. These are extremely hard problems that require the equivalent of petaflops of computation.

Yet it takes minutes of conscious effort for us to multiply two puny 10-digit numbers! We are extremely and demonstrably bad at doing arithmetic. The reason? Our working memory capacity is extremely limited and we have trouble consciously holding a lot of different pieces of information or outcomes in our heads simultaneously.

That's one of the reasons we are terrible at programming. We simply are unable to think of all the different ways our code can go belly-up. There's nothing subjective at all about what I'm saying. That you think it's equivalent to a 'proper breathing' quack shows you aren't even making a tiny bit of effort to understand my point.

Comment Re:The source of troubles is usually in humans (Score 1) 386

In 1972 you would have been railing against C and insisting you need assembly to write an OS.

Tools get better over time. Yes, you need a language designed for systems-level coding to write some applications, but that doesn't equate to freedom to do anything you want and lack of restrictions. In fact it should mean quite the opposite.

Comment The source of troubles is usually in humans (Score 4, Insightful) 386

> the source of troubles is usually in humans, not technology

Exactly, and that's why C/C++ is bad. Humans are terrible at programming. This isn't an insult to anyone and it's not me trying to say "no one is as good a coder as I am." It's a statement of fact, and everyone - including you and me - is terrible at programming. The human brain did not evolve to program computers. Programming computers is just something we kind of stumbled upon by accident and we have been continuing to stumble and fumble and generally make fools of ourselves. This is why we desperately NEED languages to hold our hands. Ironically, in the early days of programming, when people seemed to have a more mature attitude towards the art, this was a commonly-accepted fact. That's why Fortran and Lisp were developed even though it was hard and time-consuming and expensive to write compilers for those languages in those days (only a handful of people around the world knew how to write a compiler) and the code produced by those languages was typically awful and strained already-poor hardware to its limits. And when C was developed, it was a HIGH-LEVEL language. It was the python or the scala of its day. It was designed as a labor-saving device, a way to write operating systems without fucking around with assembly. "Writing an operating system in a high-level language? You're fucking nuts!" And just like a proper high-level language, it held the programmer's hands and put major restrictions on what he was allowed to do, at least relative to assembly.

The modern programmer is a victim of luxury. His computers are powerful and he has a choice of thousands of languages, many of them really good. And like the rich bohemian who decides to live in filth for no reason, he thinks there's something impressive or 'cool' or 'edgy' about programming in a complex unstructured language. There isn't.

Comment Re:nature will breed it out (Score 1) 950

I think a good question to ask is: "WHY is it important that young men sit in classes and approach real women?"

(Btw, I'm not defending these men at all; hear me out)

An unsatisfactory answer would be: "Because that's the normal thing to do." But why is it normal? "Because everyone else is doing it."

A more satisfactory answer would be: "Because long-term, doing those activities will result in more personal growth and more life satisfaction than watching porn and playing video games." But then you have to ask if that is actually true. Certainly for some people it is better to have a higher education and to get married. But realistically, for a lot of people nowadays, education means nothing but crushing student debt and approaching women means nothing but the depressing reality of having to deal with obnoxious women who are entitled and pampered and think the universe owes them everything.

Faced with this reality, I can empathize with men who choose not to live the 'normal' path. But at the same time, sitting at home all day watching porn isn't a good life path. There is a third way: Following your passions, taking up challenges, making up your own rules and living life your own way.

Comment Re:sampling bias (Score 2) 405

To be fair, there are amazing old people as well. One of the oldest guys at my workplace is 80 or something; he's been retired for 15 years but he still regularly shows up and in his retirement he's written tons of technical articles and books. And when asked of his opinion of the newer generation, "They are enthusiastic and accepting, and this place has never been better." I couldn't imagine that guy saying a single hateful word. I don't know what happens to people that causes them to become hateful pricks as they get older, but I know that simply being old is no excuse.

Comment Re:BIG ROUND NUMBERS!!! (Score 1) 186

Holy fuck man, this is the 3rd time I'm saying this. Do I have to say it ten times more for you to understand? Are you seriously not capable of reading comprehension? That link talks about carbon footprint. That's all. We're talking about a much larger category of waste here.

- The average American produces a lot of waste, higher than all other countries, no matter if they live in cities or rural areas.

- City living is often assumed to be less wasteful, but the numbers indicate that it isn't that simple. People living in cities consume less energy for transportation but use more energy for other things and produce more solid waste.

- This pattern persists even when looking at non-American countries.

Please don't reply until you've fully read and listened (may take a very long time).

Slashdot Top Deals

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

Working...