Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hajile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
871.
▲
by
hajile
4y ago
A language like StandardML would come rather close.
872.
▲
by
hajile
4y ago
Private fields received more community pushback than any other JS feature by a huge margin (they even got more pushback than type coercion did). The spec committee gave the community the middle finger and did it anyway. Now we’re stuck with
873.
▲
by
hajile
4y ago
The type system will know if you don't handle a potential conversion. This restriction is better for pretty much every real-world use case anyway. If you don't know what you're converting, then you are almost guaranteed to be
874.
▲
by
hajile
4y ago
What about StandardML?
875.
▲
by
hajile
4y ago
Primitive conversions are as simple as `<type>_of_<newType>(myValue)`. For example, `int_of_float(2.0)` will give you an integer. `string_of_int(123)` will return a string. Noting very surprising. If you want to do more complex
876.
▲
by
hajile
4y ago
Is there ANY common language without TONS of ways to write bad code? Is there ANY such language at all regardless of popularity?
877.
▲
by
hajile
4y ago
This wasn't written by clamchowder and is this author's first submission. Hopefully there's room for them to grow.
878.
▲
by
hajile
4y ago
I’ll first say that my favorite languages are StandardML (very strongly typed), Common Lisp (not very typed), and JS (even less typed). Look at Erlang. It has bigints, floats, Booleans, but-strings (sequence of bits —added because it is so
879.
▲
by
hajile
4y ago
Essentially every statically typed language contains runtime errors that can be costly too. Erlang was designed to achieve 9 nines of uptime. It achieved this without static typing across very large applications. The fact that this is a reg
880.
▲
by
hajile
4y ago
> This is nonsense. Nothing is "created" when someone says something superstitious. There is no cause and effect. Supernatural entities/realms either exits or they do not. And there is zero evidence they do. WHY does a per
881.
▲
by
hajile
4y ago
Let's kick the can down the road of "who created the aliens?" and simply consider the alternatives for "who created us?" On the one hand, you have ALL major religions agree that powerful beings who came to earth (or
882.
▲
by
hajile
4y ago
This definition confuses cause and effect. A person believes something that results in superstition. This definition states that superstition creates itself rather than being the result of external factors. As a finer point, laws of nature
883.
▲
by
hajile
4y ago
This claim is easy to answer. The Ten Commandments were written with the finger of God on stone and stored IN the Ark of the Covenant. > Deuteronomy 10:2 KJV > And I will write on the tables the words that were in the first tables whi
884.
▲
by
hajile
4y ago
Thou = singular second person You = plural second person It uses them because there is an actual difference. In modern English, you cannot tell if "you" is referring to one individual or a group without examining the surrounding c
885.
▲
by
hajile
4y ago
These pronouns were adopted by groups like the Quakers for a long time after the KJV was made. they didn't refer to a single person with "you" because it is a kind of "royal we" where you ascribe plurality to a sing
886.
▲
by
hajile
4y ago
Hebrew has two words for killing. One implies a guilty mind and the other does not. Ask a Hebrew scholar and they'll tell you that the word used for "murder" doesn't include things like military service or capital punish
887.
▲
by
hajile
4y ago
That's a huge conclusion about personalities from a selection of just 30 people. What happens when you start crossing religious, educational, economic, and cultural boundaries? There's absolutely no way to cover those things with
888.
▲
by
hajile
4y ago
That depends on the language you choose. If we went to a scheme dialect as originally intended, we could have just ONE language for all the things. Legacy JS? Just compile it into Scheme and run it. HTML? Use S-expressions and support legac
889.
▲
by
hajile
4y ago
That’s because writing a JSON parser is pretty straight forward with just a couple edge cases. Writing a conformant XML parser is a HUGE undertaking comparison. I could get most places to give me the time to write a JSON parser in whatever
890.
▲
by
hajile
4y ago
If the web spec had a JSON analog for HTML, I think you'd see a lot less love for JSX.
891.
▲
by
hajile
4y ago
That number was 38.7 in 2021. And of course, gender also matters here with men working around 40.5hr/wk and women working around 36.5hr/wk. The real question is why average hours have dropped so much in just a year or so. The most
892.
▲
by
hajile
4y ago
It kills me that I can only get ONE external monitor. It would otherwise be perfect.
893.
▲
by
hajile
4y ago
This has NOTHING to do with intellectual curiosity. Just try stating that Trump is innocent from another account and watch your comment get flagged and downvoted into oblivion. This kind of thread can be a lynch party, but nothing else. Any
894.
▲
by
hajile
4y ago
How many years did he work in the field before going to get a degree so HR would allow him to be promoted?
895.
▲
by
hajile
4y ago
If it can reason code from the garbage programmers get handed, it’s AGI rather than LLM.
896.
▲
by
hajile
4y ago
I’m going to assume you aren’t a legal expert, but you trust this thing to write legally binding contracts that may accidentally use words and phrasing that do something different than you expect? I seriously doubt GPT understands which law
897.
▲
by
hajile
4y ago
It seems like an uncomfortable legal question of derived works violating copyright.
898.
▲
by
hajile
4y ago
If I could get all that, my job would be easy.
899.
▲
by
hajile
4y ago
Those people also won’t be hired as coders. There are other things that they will excel at.
900.
▲
by
hajile
4y ago
Scratch now uses blockly under the surface and blockly itself is written in JS. If you wanted to extend things, JS seems like a more natural choice.
More ›