619 karma · joined August 17, 2015
Some might say having both manual configuration and automated dialog would be better, but many such interfaces ruin the structures of my intentionally organized setting files. I will take no GUI than misbehaving GUI at any time.
I also liked the name of the project, xterm.js. :)
But I hope they figured out the performance problem. As of writing, in the stable version of Windows 10, PS is perceptually slower than cmd, so I was forced to use PS only when needed. Funnily it was even slower in Windows 8, so the current affair is better than ever. But to be truly a default I think the performance of PS should at least match that of cmd.exe.
Oh please. C is perfectly usable without knowing switch is actually a bunch of gotos. The idea that one has to know all the hidden edges of a language to use it is pointless, because every language has something like that. Even Python can be a minefield if one tries hard abusing metaclasses, and I'm pretty sure 95% of the Python users don't know how to use them.
If you pursue the idea of knowing every deep place to the extreme, the only language left for general developers to use is Go. A language so concerned at removing hidden features that almost no features are left.
These kinds of small details make me happy. Nice touch as usual, Apple.
> Well, in an actual functional programming language like PureScript or Haskell we can:
>
> sum :: [Int] -> Int
> sum = foldl (+) 0
>
> The list cannot be undefined, cannot be null.
Yes it can? main = putStr "The result is: " >> print (sum undefined)
The result is:
Program error: Prelude.undefined
So by the same logic Haskell doesn't have pure functions, either? let x = 1;
let x = x + 1;
x = 99; // Error: you can't accidentally modify the immutable variable `x`
let mut x = 1;
x = x + 1;
x = 99; // Ok
You can even turn back a mutable varaible into an immutable variable, like this: let mut x = 1;
x = x + 1;
let x = x;
x = 99; // Error: `x` became immutable
This can be useful to "pin" the variable after a large number of calculations done to it.Well, I think it could have been more cleanly designed if it was able to abandon the burden of Objective-C interoperability. (But Apple can't do this, obviously.) The standard libraries could have also been much cleaner if it didn't rely on NextStep. Also, I don't personally like the dichotomy of value types and reference types, but YMMV.
One thing that I've wondered is how much more efforts are needed to decode variable-width instructions. Decoding itself sounds fairly easy (but frankly I don't know any details), to the point that the amount of time needed for loading/storing/calculating overwhelms that of decoding. But decoding should happen extremely fast to fill the pipeline, so the speed might still matter. Can decoding instructions be an actual bottleneck?
> In Wood 5 we don't use wards anyway, so I see no problem with this critical failure
100% agreed. There's no point in changing to lens because nobody buys a ward!
There has been a long-standing fight between the Haskell.org committee and the developers of Stack, regarding what should be the "default" option to install Haskell to be displayed on the homepage. Many Haskellers think Stack is a strictly better tool, but the Haskell.org committee thinks that the Haskell Platform is still worth mentioning on the homepage. The Stack team could not convince the committee for months.
In the end, the Stack team decided to create a new Haskell community, haskell-lang.org. One of the Stack developers who had contributed to the original haskell.org even said "I don't approve of the current haskell.org, nor your use of my design".[1] It seems that they are trying to replace the Haskell community in the same way how Stack replaced Cabal. This also includes a GitHub organization, an IRC channel, and even a subreddit (/r/haskell_lang).
[1] https://mail.haskell.org/pipermail/haskell-community/2016-Ap...
Then the problem now becomes why there aren't that many female contributors out there. This is just a theory, but I think it is because males' nature make them do free labor to obtain fame. I admit this is purely my experience, but females are more likely to refrain from such labor that does not pay off.
Wait, isn't this an undefined behavior? Is the order of evaluations of `x` in the left side and `x++` in the right side defined? I'm always confused at things like this!
https://www.reddit.com/r/haskell/comments/3pfg7x/either_and_...
> this experience has taught me that whenever functional programmers claim that certain things are only unintuitive because programmers have had their minds polluted by non-Haskell programming languages... they are usually wrong.
> the more common claims you see about how purely functional programming is easier and more intuitive for students without previous imperative programming languages. Surprisingly, that's not the case. Even in situations where I don't expect it, I'm constantly fighting everyone's urge to think about situations first and foremost in imperative terms.
I think it's safer to assume that functional approaches have inherent complexity compared to imperative approaches. YMMV, of course.
That's good to hear, but I want implicit conversion to be forbidden unconditionally (even int * float -> float). I've been bitten by even widening conversions, so I just want to let them go away. It might be great if such an option could be applied to module level.
> ??
Sorry if my understandings or my words were wrong, but I got the impression that D also suffers from destructors that throw. (double-throw) Is this not the case in D? If so, could you elaborate how it achieves that?
I'm personally rather fond of purging exceptions from the language level completely, like Go did(Of course panics are technically exceptions, but their usage is culturally discouraged). Of course, this is just my personal opinion, but I would be happy if D had a story on this problem.
In addition, the D authors are generally opposed to disciplined approaches, e.g. type classes, region-based memory management, which are being added to C++. Especially regarding the former, while "design by introspection" may have its merits (Andrei Alexandrescu's presentation on allocator is worth watching[2]), I think many still prefer explicit interfaces over implicit ones, so I don't see D take off in the near future, at least until the wanted features are added to the language.
[1] http://forum.dlang.org/thread/htmkdnmlqyvkidkrsmri@forum.dla...
https://www.reddit.com/r/programming/comments/3r3m6q/please_...
Anyways, I don't think I would sign in to their site anymore. It is unfortunate that one of the YC companies doesn't feel "cool" anymore.