Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazoom42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
811.
▲
by
bazoom42
4y ago
Yeah, when complaining about multi-line regexes, show us the alternative imperative code. Is it really easier to understand and maintain?
812.
▲
by
bazoom42
4y ago
Existing code might rely on this behavior, so if it changed some sites will stop working. Even if those sites were updated to the new behavior, browsers are not updated at the same time, so either way there would be a lot of breakage. And s
813.
▲
by
bazoom42
4y ago
Browsers still have to support the older editions for backwards compatibility, so each new edition increase complexity.
814.
▲
by
bazoom42
4y ago
In JavaScript this is best done using linters to warn against deprecated features. “Use strict” was necessary because it changed runtime semantics in a non-backwards compatible way. But browser vendors does not like to support multiple inco
815.
▲
by
bazoom42
4y ago
So until this library solved all problems, it was possible to create messy and hard-to-refactor code in Haskell.
816.
▲
by
bazoom42
4y ago
People were saying the same thing about structured programming and object oriented programming back in the day. Lets say you have a huge overly-convoluted Haskell program. Somewhere deep down a call hierachy of pure functions you need to pr
817.
▲
by
bazoom42
4y ago
Worth noting Vonnegut is saying the opposite of Harmon.
818.
▲
by
bazoom42
4y ago
Are you saying you cant write bad code in functional style? Because then you have drank too deeply of the cool-aid. No fad, tool or paradigm will prevent inexperienced developers from writing bad code. Education, mentoring and code review c
819.
▲
by
bazoom42
4y ago
> Are writers children of nationality or is nationality a child of writer? Wouldnt that be a has-a relationship? Represented by composition rater than inheritance.
820.
▲
by
bazoom42
4y ago
The useful example is UI control hierachies. GUI’s was one of the early sucesses of OOP. Those “Dog descend from Animal and has a bark() method” just confuses the issue. Inplementation inheritance is a useful tool when you need it, but it’s
821.
▲
by
bazoom42
4y ago
> deniers are fairly swarming out of the woodwork, here You seem to be very upset about something, but it is not really clear what. “Deniers” is usually used about people who deny evidence, but this does not seem to be the case here.
822.
▲
by
bazoom42
4y ago
> superset of objects can only have the same or fewer properties This is potentially misleading. A superset will include more objects and therefore may include more individual properties. But type checking is about what can be safely ass
823.
▲
by
bazoom42
4y ago
I think you have switched union and intersection. ’Unknown’ is a type which can be anything, so it is the union of all types. ‘Never’ is the empty set of types. ‘Any’ does not really fit into a set theoretical model because it can be assign
824.
▲
by
bazoom42
4y ago
Did you mean to reply to somone else? I have not objected to comparing anything.
825.
▲
by
bazoom42
4y ago
What are you referring to?
826.
▲
by
bazoom42
4y ago
> If you insist (why?) that semitic alphabets can have made no contribution, and you are correct, then the evidence will show that How could evidence show lack of contribution? You can’t prove a negative like that. You can’t prove lack o
827.
▲
by
bazoom42
4y ago
AFAIK Bible is from Greek and was used by Greek speaking Jews to refer to their sacred books.
828.
▲
by
bazoom42
4y ago
The Bible did exist, just not the section called the new testament.
829.
▲
by
bazoom42
4y ago
> Jesus did his best to tone down the fire and brimstone Jesus introduced the fire and brimstones. The old testament does not really have the concept of hell or eternal punishment.
830.
▲
by
bazoom42
4y ago
I like this goes a level deeper than just the “keep it simple” mantra. Experienced developers know keeping complexity in check is critical but nevertheless keeping things simple is not always easy.
831.
▲
by
bazoom42
4y ago
Why would you do that? That would introduce major risk for no benefit.
832.
▲
by
bazoom42
4y ago
We can keep discussing this forever and get nowhere if nobody defines what is meant with 10x. Ten times what compared to what under what circumstances? Is the baseline the average developer worldwide or the average developer in any particul
833.
▲
by
bazoom42
4y ago
What behavior do you suggest this explains?
834.
▲
by
bazoom42
4y ago
It just comes down to how people define “10x programmer”. Is it someone who is 10x more productive than the average programmer? Yeah this definitely exists. Is it somenone who will always be 10x more productive than the average in any given
835.
▲
by
bazoom42
4y ago
You can, using a tool like Adobe Acrobat. But a PDF is a fixed layout, where each line of text is a positioned box. So editing text will not cause reflow across lines.
836.
▲
by
bazoom42
4y ago
I’m just happy they didn’t call it “a hack”.
837.
▲
by
bazoom42
4y ago
> If the web was being made form scratch today, it would probably start with a repurposed game engine. Possibly. But I dont think such a “web” would be anywhere near as successful. It was critical for the success of the early web that an
838.
▲
by
bazoom42
4y ago
I love when plausible sounding factoids is dismantled by people who actually know history.
839.
▲
by
bazoom42
4y ago
Level 2 is good for API’s, level 3 is good for hypermedia browsed by a human.
840.
▲
by
bazoom42
4y ago
The “billion dollar mistake” was not the null concept itself, it was having all reference types be nullable, i.e no distinction between nullable and non-nullable in the type system.
More ›