Programming is the new literacy. It isn't going away, it's 5 years out from being a mandatory high school or middle school topic.
The End of Coding
81–90 of 106 posts
Re: The End of Coding
#82Earlier quoted context omitted.
It is funny to me that people extrapolate "code" as just our best way of representing computational instructions we want done that we can express in natural language. I agree with you that sometimes this isn't true. Sometimes I read code and I can't express what it does in English. I could roughly describe what it does, but I can't communicate all of its subtlety. The limitations of "no code" isn't the theoretical li…
Poorly-written code (especially if the reader doesn't have a good grasp of the coding language) can be very confusing, but it will still almost never be ambiguous. If you try taking some well-written code and converting it to natural language with utterly no ambiguity, you'll quickly find that: - the natural language version is far, far longer and harder to read - it takes a lot of work to remove all ambiguities, and…
Re: The End of Coding
#83Re: The End of Coding
#84Ah yes, the end of coding is inevitable, the PC is dead, and 2013 will surely become the year of the Linux desktop.
> 2013 will surely become the year of the Linux desktop There's still a non-zero chance that this one come true. It does not fit well within the others.
Best joke of the year.
Re: The End of Coding
#85Earlier quoted context omitted.
Poorly-written code (especially if the reader doesn't have a good grasp of the coding language) can be very confusing, but it will still almost never be ambiguous. If you try taking some well-written code and converting it to natural language with utterly no ambiguity, you'll quickly find that: - the natural language version is far, far longer and harder to read - it takes a lot of work to remove all ambiguities, and…
Code can certainly be ambiguous. We call it unspecified behavior, undefined behavior, or race conditions, depending.
(the second sentence is a joke.)
Re: The End of Coding
#86Programming is the new literacy. It isn't going away, it's 5 years out from being a mandatory high school or middle school topic.
5 years? Mandatory?? You're being insanely optimistic.
Re: The End of Coding
#87Until a computer can program itself (which may never happen), there's going to be a person telling it what to do - and no matter whether it's a formula in a spreadsheet, a programming language, or something higher level, it'll still be code...
Re: The End of Coding
#88Earlier quoted context omitted.
Code can certainly be ambiguous. We call it unspecified behavior, undefined behavior, or race conditions, depending.
A race condition is a set of (possibly very many) very well defined states - or at least defined as well as everything else in the program. Someone should discover some algebra for working with concurrent processes and the race conditions would go away! (the second sentence is a joke.)
Re: The End of Coding
#89Earlier quoted context omitted.
Yup, it's kind of tedious seeing these types of article / blog post. As anyone that works as a programmer knows, it's not the grammar of programming that is hard. It's understanding the hardware and what it can do that is hard. It's encoding nebulous and sometimes conflicting business requirements into something a computer can understand that is hard. It's taking into account all of the different error states that a…
I agree with all the things you say are hard: understanding computation, encoding complex requirements, handling edge cases; but typing code into an editor and then re-running your application doesn't provide much support for making them easier. Better tools could help programmers and non-programmers alike work with that complexity much more effectively.
Re: The End of Coding
#90Earlier quoted context omitted.
Code can certainly be ambiguous. We call it unspecified behavior, undefined behavior, or race conditions, depending.
A race condition is a set of (possibly very many) very well defined states - or at least defined as well as everything else in the program. Someone should discover some algebra for working with concurrent processes and the race conditions would go away! (the second sentence is a joke.)
I think this has been on HN already: http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/why_undef.ht...
Essentially it has to be that way, or on some architectures every access to a potentially shared variable would have to be wrapped in fences by the compiler.