4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions
comment 7y ago · link · parent
comment 7y ago · link · parent
EDIT: Based the examples given, the Python := operator doesn't appear to behave as a let binding. The scoping suggests it is another form of assignment.
comment 7y ago · link · parent
I respectfully disagree. Go's primary goal was to be (superficially) easy to use and familiar. Because of this, it fails to tackle the big issue with doing concurrency in most prior mainstream languages. Go has mutable state deeply baked into the language and makes it difficult to work with immutable data. Go is not necessarily easy to use if ones goal is to build correct concurrent software.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
This is why C++ needs to be retired; and why we need to use safer languages. Not even Google can write safe C++. Thankfully Mozilla have already realised this.
comment 7y ago · link · parent
Absolutely nothing. I have to tyoe xrandr commands to make anything happen. I3 is strictly just a window manager. Unfortunately projects like Gnome solve these problems in a completely monolithic fashion, with no module or component that I use that just solves this problem.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
The succinctness of Haskell really matters when dealing with non-trial code or types. Just compare the type signtaure of "SelectMany" in C# to an equivalent in Haskell.
comment 7y ago · link · parent
comment 7y ago · link · parent
This particular solution used functional reactive programming, essentially a composition of signal/event processing functions/automatons.
comment 7y ago · link · parent
comment 7y ago · link · parent
Lens is a library, not part of Haskell the language, it's also not particularly widely used. If you are going to conflate the ecosystem with the language, then we could equally talk about the complexity of dependency injection frameworks, AbstractSingletonProxyFactoryBeans, aspect-oriented bytecode weaving, and enterprise Java beans when discussing how much "easier" Java programming is.
I have programmed both Java and Haskell professionally on multiple codebases. I honestly found more ad-hoc and incidental complexity in the Java world. At least the Haskell libraries generally were consistent in the abstractions used. Java the language, also had a lot of hidden complexity, for example its memory model (required knowledge for concurrent programming).
comment 7y ago · link · parent
How do they justify a 245 billion dollar cash pile to the shareholders? To decide on a number, pick one that beats all competitors, then advertise on all boxes and websites that you pay more tax than anyone else.
> Sounds like Europe has tax problems then. Pass some laws.
The worlds richest company has the best lawyers, they will always be able to find loopholes or refuse payment (see prior link). The best way to tackle it is via public rebutal of their self-righteous image.
comment 7y ago · link · parent
comment 7y ago · link · parent