Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nessus42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
511.
▲
by
nessus42
15y ago
Namespace pollution is not a problem if you are required to explicitly import all external functions into each file. And it's especially not a problem if overloading is supported.
512.
▲
by
nessus42
15y ago
Also, the way that you apparently like things, because it is ad hoc, has the "draw problem", where you think that you're telling a shape to draw itself on the screen, but actually you've told your robotic cowboy to shoot your friend in the
513.
▲
by
nessus42
15y ago
> I'm not talking about importing the generic functions themselves at all. > I'm talking about importing the modules that export those generic functions, > so that I'll have the modules in my namespace to be able to name >
514.
▲
by
nessus42
15y ago
Yes. I consider this a feature, not a bug.
515.
▲
by
nessus42
15y ago
So??? This is how things work in Clojure. And that's just fine. I guess I just don't understand where you are coming from. It's been pointed out to you that Clojure hackers don't mind importing the generic functions. You replied that then y
516.
▲
by
nessus42
15y ago
Methods are referred to as being attached to objects, even though they are multimethods. This appears to imply asymmetric multimethods. Again, huh? What a strange design decision to make! Method dispatching is done symmetrically on the
517.
▲
by
nessus42
15y ago
As I understand it, in statically typed languages that support multi-methods, you import the generic function declaration for a multi-method. This multi-method can be defined in zillion different modules. You only have to import the gener
518.
▲
by
nessus42
15y ago
The above should read, "So, what you're saying is that we need all of [...]". Sorry about that!
519.
▲
by
nessus42
15y ago
I think that a math degree is pretty much always a boon, since in just about every field, they need people who are good in math, but most people who don't have a math degree are scared of serious math. (Physics, EE, and other engineering de
520.
▲
by
nessus42
15y ago
So, what you're saying is that we all of parametric polymorphism, ad hoc polymorphism, and subtype polymorphism, right? You'll get no argument from me, but that doesn't mean that there should be an unfortunate syntactic distinction between
521.
▲
by
nessus42
15y ago
I do not see why your worries cannot be addressed. In fact, IIRC (it's been a while), the programming language Cecil does just that. http://www.cs.washington.edu/research/projects/cecil/www/cec...
522.
▲
by
nessus42
15y ago
think of module/import usage in Python, but without OOP dot-notation I don't find that to be a problem. In fact, I love Python's module and import system. And the worst thing about Python is it's OO dot notation. I wish that Python had mu
523.
▲
by
nessus42
15y ago
Scala is awesome–you should definitely learn it. Scala does provide you with enough rope to hang yourself with. What's the solution to this? A. Don't hang yourself. New Scala shops should definitely abide by the style guide that is provided
524.
▲
by
nessus42
15y ago
The biggest reason for supporting DSL's, as far as I understand it, is so that, as with Lisp, much of the functionality of the language can be moved out of the compiler and into libraries. This will make the language proper actually rather
525.
▲
by
nessus42
15y ago
I use LiveMesh too, and I like it. One of the things that I like about it is that it doesn't follow symlinks. I really wish one of these sync services (maybe the upcoming Gdrive?) would treat symlinks properly. I.e., sync them opaquely rath
526.
▲
by
nessus42
15y ago
I disagree. Replace Chomsky with Lincoln or Jefferson or Newton or Einstein. Would you object then? "Great" doesn't imply correctness. It implies only profound respect for one's achievements. Furthermore, the OP did not appeal to authority.
527.
▲
by
nessus42
15y ago
But, when left to their own devices, some teachers don't teach at all. Teachers follow the same distribution of personalities as any other occupation on this planet; some are good, some are bad, most are average. In my experience there ar
528.
▲
by
nessus42
15y ago
This speaks to a rather odd state of mind on the part of the teacher. “The great man”? Believing that the state of education and testing is the result of some powerful villain behind the curtain requires more credulity than simply attribut
529.
▲
by
nessus42
15y ago
-- "$FOO" instead of $FOO, and ls -1 instead of ls? There's significantly more to it than that, so either you prove my point, or you are being disingenuous.
530.
▲
by
nessus42
15y ago
Personally I use Python 2. I'll move to Python 3 when I think it's ready for prime time for my needs. I'm in no rush. None of this deters me from thinking that Python 3 was the right thing to do.
531.
▲
by
nessus42
15y ago
What if users want rich text in their filenames? Why shouldn't they have the ability to do that? And certainly they want slashes in their filenames! But Unix doesn't give them that either. Horrors! What people want most of all is reliable,
532.
▲
by
nessus42
15y ago
I'm kind of surprised people are surprised that upgrading to 3.x has gone slowly. I'm kind of surprised that people think people are surprised that the upgrade to Python 3 has gone so slowly. After all, Guido himself has stated on numerou
533.
▲
by
nessus42
15y ago
If somebody creates files with carriage return in source tree because kernel doesn't stop him, problem is social, not technological. Your position boggles and dismays me. I have seen so many heinous bugs that appear only intermittently, a
534.
▲
by
nessus42
15y ago
This discussion has ABSOLUTELY NOTHING to do with SQL injection. That is a completely different issue, as you may indeed want and need to put all of War and Peace into a char field, but there is no valid use case for putting all of War a
535.
▲
by
nessus42
15y ago
Back in the day, there were only two shells: The Bourne Shell and the C Shell. And before that there was only whatever the Bourne Shell was based on. In any case, the answer to this is that the kernel developers and the shell developers get
536.
▲
by
nessus42
15y ago
if it wants to interoperate with filesystems created by other operating systems? That, of course, was not an issue back in the day, as Unix did not in fact support anything such thing. As for today, please do tell me how Unix can interope
537.
▲
by
nessus42
15y ago
I remember ages ago getting in an argument with the kernel hackers on unix-wizards. My position was that filenames shouldn't be allowed to have meta-characters in them because it made shell programming difficult and dangerous. Their argumen
538.
▲
by
nessus42
15y ago
Where your analogy breaks down is that at a fancy restaurant, the restaurant is well within its rights to kick someone out for being disruptive--and your analogy did in fact imply that. Furthermore, if the restaurant won't do something abou
539.
▲
by
nessus42
15y ago
So what you want is freedom from people expressing their opinions on their personal blogs because you're paying a lot of money for this Internet, and damnit, you should get to enjoy it?
540.
▲
by
nessus42
15y ago
If you're in a fancy restaurant, what are you doing reading Linus's Google+ posts, rather than enjoying your meal?
More ›