Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
willtim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
541.
▲
by
willtim
8y ago
It depends largely on the ambient lighting. Dark themes are hard to read on my bright sunlit train journey and bright themes are often too much for a dimly lit room. I switch between both.
542.
▲
by
willtim
8y ago
In OOP, objects have identity and state, having a remote endpoint with both these attributes is undesirable. IIRC, RMI also encourages one to abstract over the network, which can lead to very fine-grained, brittle and possibly insecure comm
543.
▲
by
willtim
8y ago
Not to mention, that case-insensitivity requires knowledge of locale/encodings and all the associated complexity. Not every language even has the concept of case.
544.
▲
by
willtim
8y ago
How are they extending Linux? It also sounds like you are asking them to, since you want to build Windows apps from WSL! A large part of the attraction of WSL for many, is that native windows ports are not needed. Windows will never extin
545.
▲
by
willtim
8y ago
Normally, I use a Kinesis, so it would be thumbs for both. But on my laptop, yes I would use pinkies for both shift and alt.
546.
▲
by
willtim
8y ago
Expensive relative to what? Certainly not expensive relative to the rest of your computer and your office chair. It's a great shame that so many of us are willing to put up with the ten dollar keyboards that come complimentary with des
547.
▲
by
willtim
8y ago
I wholeheartedly recommend the excellent Kinesis Advantage 2. It's relatively expensive for a keyboard, but absolutely worth the money for anyone who uses a keyboard professionally for hours every day. It also has featureful firmware a
548.
▲
by
willtim
8y ago
Excellent advice. I also swap control and alt on both sides . This means I can reduce the amount of chording needed and use alternate hands together.
549.
▲
by
willtim
8y ago
Fixed-length string types are appropriate for a lot of low-level systems programming and are a lot safer and secure than C's null-terminated (potentially unbounded) strings. Null-terminated strings have caused problems not just for sec
550.
▲
by
willtim
8y ago
Since GHC was created, we now have some very good parser combinator libraries such as Parsec and uuparsing-lib. Haskell is a very good language with which to write a parser by hand. But no doubt it would be a big project to move off happy a
551.
▲
by
willtim
8y ago
Yes goal posts have been moved, but not by me. Some of those papers may informally use these terms for static types , but it is certainly not to describe characteristics of dynamic languages. AFAIK, there is no classification in computer s
552.
▲
by
willtim
8y ago
OCaml was a big influence on the design of Rust.
553.
▲
by
willtim
8y ago
I missed off a smiley, nothing personal was meant by it. Some of your posts have appeared abrasive too. Let's just agree to disagree.
554.
▲
by
willtim
8y ago
> He definitely didn’t accuse people of dishonest advocacy. Have you actually read it? "Like most marketing tactics, it’s designed to confuse, rather than enlighten, and to create an impression, rather than inform."
555.
▲
by
willtim
8y ago
That looks like a random list of papers. Which one are you claiming defines or even discusses "strong" or "weak" typing? AFAIK those terms have no real definition in type theory.
556.
▲
by
willtim
8y ago
As I said, the link I posted contains the detail. If you've read it then perhaps you'd care to comment on it instead of posting successive personal attacks. I suggest that you not take my opinions (or Harpers) so personally.
557.
▲
by
willtim
8y ago
Perhaps filepath was a bad example for Python, as it has assertions. Zenhack actually made the same point and explained it better than me. Your runtime assertions (what you call "strong dynamic types") are a feature of the librari
558.
▲
by
willtim
8y ago
I posted a link by Professor Robert Harper, I guess you didn't read it. This has been a discussion about terminology, so I'm not sure you can claim anybody is factually incorrect.
559.
▲
by
willtim
8y ago
Go read the link I posted by Professor Robert Harper before accusing me or anyone else of not understanding type theory. Whether you like it or not, technology does compete for mindshare. Haskell and OCaml are also free software.
560.
▲
by
willtim
8y ago
>The classification is established terminology in Computer Science No. It is terminology used by the dynamic language communities, not by academics.
561.
▲
by
willtim
8y ago
It's not FUD if someone posts an opposing viewpoint. My point was that some of the terminology used in this community is rather disingenuous. Python has a lot of strengths, but let's also be honest about its weaknesses.
562.
▲
by
willtim
8y ago
This is about being open and honest to stakeholders about Pythons strengths and weaknesses. Sure, I won't ever get the terminology used in your community to change, but at least you will know that there are people who find it rather un
563.
▲
by
willtim
8y ago
Your classification is based on a trivial expression involving primitive types. What would most Python code do if one tried to append a SQL query to a filepath? Since both will likely be represented by strings, it will return garbage, "
564.
▲
by
willtim
8y ago
There is no static/dynamic axis for types. A dynamic "type" as you call it, is really a runtime tag. All languages are static languages. "Dynamic" and "dynamically typed" are IMHO, marketing terms. There&#
565.
▲
by
willtim
8y ago
The confusion is no doubt intentional in order to make dynamic languages sound safer than they really are. There really is only one type: PyObject.
566.
▲
by
willtim
8y ago
Some large investment banks are writing millions of lines of non-trivial code in Python. Perhaps because management heard it was "strongly typed".
567.
▲
by
willtim
8y ago
From your Wikipedia link: "Generally, a strongly typed language has stricter typing rules at compile time, which imply that errors and exceptions are more likely to happen during compilation"
568.
▲
by
willtim
8y ago
Python is not "strongly typed". Please don't repeat this phrase near management folk. Python just gives good error messages when it crashes at runtime, e.g. "expected an Int but got a String". This is better than
569.
▲
by
willtim
8y ago
I recall many consumer reviews of older Samsung phones criticising the plastic backs and asking for glass or metal.
570.
▲
by
willtim
8y ago
Yes choice is good. But my concern is that consumers start demanding metal bodies, zero-travel keys and touch-bars everywhere, because Apple, and choice will be reduced. For example, I can no longer buy a mobile phone that doesn't have
More ›