I like whitespace as user-hostile language. It's brainfuck mapped to, well, whitespace. Syntax highlight this!
But, as you said, these are languages wholly designed to be unreadable. Same thing with obfuscation and golf contests. Just because some languages are better at the obfuscation / golf if you decide to, doesn't mean the languages themselves are inherently less clear. I think the sigils in perl make it much easier to to tell what sort of data structures you're using at a glance. The one exception is how perl handles object oriented stuff. That... could have been implemented cleaner. Though there are several new packages (Moose, Parrot, etc.) that do implement it in a much cleaner way.
On Mon, Apr 22, 2013 at 11:22 AM, Cathal Garvey (Phone) <cathalgarvey@cathalgarvey.me> wrote:
Java ain't standalone..
Also, I think your first point is technically true in all cases, but practically not always true at all. Malboge is so hostile a language that virtually no amount of documentation would make it legible, while brainfuck is pretty bad too. Obviously, because both were designed to be illegible. But it proves that there IS a line somewhere. Whether a given language crosses the line is debatable, of course.
You can, if you're feeling malicious, make any code unreadable. Even "self documenting" languages like Python are illegible when written badly. Take a look at Tinystaus in my github repos, in particular the 30-line version. Or the copy of Tinyp2p in the same repo that I learned those dirty tricks from. Python abuse! :)--ruphos <apokruphos@gmail.com> wrote:On Mon, Apr 22, 2013 at 10:15 AM, Simon Quellen Field <sfield@scitoys.com> wrote:We refer to languages such as Perl and APL as "write-only languages" for that reason.Any language is a write-only if you're lazy about commenting, explanatory function / variable names and the like. The extreme flexibility and conciseness that perl allows may not be the best for a first language simply because it is easier to fall into those bad habits. I don't consider it a bad trade off personally, but I am a cranky perl monger.That aside, I agree that the choice of language is largely arbitrary. Perl, python or ruby as a high level languages for general data manipulation and light weight services. A compiled language like C/C++ or java is more appropriate if you're looking to create a standalone application or doing something more math heavy. Which language you choose largely depends on the project (any existing libraries / packages you can use) and what you prefer.--
"And if ye cannot be saints of knowledge, then be at least its warriors."
-- Friedrich Nietzsche
Sent from my Android phone with K-9 Mail. Please excuse my brevity.--
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
"And if ye cannot be saints of knowledge, then be at least its warriors."
-- Friedrich Nietzsche
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.






0 comments:
Post a Comment