Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PySlice
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
PySlice
14y ago
I read more about Lisp than I program in it, and I feel just like you about the language. Everything looks the same. Some time ago I read that Common Lisp had multiple return values. I was expecting something like Lua, where a function lik
32.
▲
by
PySlice
14y ago
I like the fact that you can substitute a more complex expression anywhere, even in the first position (the function to be called), but everything looks so similar that it's hard to see what's going on. I read more code than I write (I like
33.
▲
by
PySlice
14y ago
> If you already know F#, then Scala is a much simpler Well, F# does seem to have a lot of "bolted-on" features, but Scala always gives the impression that things "come out of nowhere", e.g. a simple underscore turns the whole expressio
34.
▲
by
PySlice
14y ago
As long as (0) and (not 0) are opposites; and (1) and (not 1) are opposites, there is nothing wrong, inconsistent or surprising. But I think I see what you are trying to say. You want the == operator to coerce its operands to the same typ
35.
▲
by
PySlice
14y ago
I have not written my first Go (or Scala) program yet, but I have written some F# code and loved the language (and the fact that everything is an expression too). It does have som complex features, and special syntax appears very often, but
36.
▲
by
PySlice
14y ago
A desktop GUI in Python? Or a GUI in a web app? If you mean the former, have you tried wxPython? It comes with a huge interactive library of samples, where you can see the code and the resulting interface just by switching tabs.
37.
▲
by
PySlice
14y ago
Those perlisms suck. Perl was a nice experiment in expressiveness and succintness, now that we know better what works and what doesn't, we shouldn't copy it anymore. Maybe something was different in the 90s?
38.
▲
by
PySlice
14y ago
That looks nice, but I think it could be simply void bar(int myArray[10]), since C effectively ignores the number inside the first pair of brackets in a parameter list, they could have added some meaning to it. No need for another meaning f
39.
▲
by
PySlice
14y ago
Why do many features added to C after the first standard have to be quirky and slightly incompatible (with C++, with existing implementations, etc.) like this? Other examples are inline (different from C++, makes use of weird combinations w
40.
▲
by
PySlice
14y ago
That's the funny part :-)
41.
▲
by
PySlice
14y ago
Python significant white space is just like nudism. At first you think something essential is missing (clothes, curly braces), then you notice that it wasn't really needed at all, and everything becomes freer and simpler.