Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nendroid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
nendroid
6y ago
>Yeah, I suspected that you and lerptime were the same person. to get around the post limit. Keep it on the DL. >When you make such a statement, you sound like someone with fairly limited experience. In particular, from your example,
62.
▲
by
nendroid
6y ago
>You seem to think that FP is the one right answer. You are mistaken. There are places where it's the right answer, or at least a very good one - the best definition I've seen is when your program looks like a pipe. All program
63.
▲
by
nendroid
6y ago
If you look at it objectively. There's a very clear reason why OOP inevitably fails. Maybe a better way to put it is that SOLID is an ideal that OOP aspires to be but fails. Either way SOLID is a bad set of axiomatic design principles.
64.
▲
by
nendroid
6y ago
There's a style of programming with no concept of loops or jumps. It's called functional programming. There's other styles that are drastically different as well. Most of these styles aren't new though.
65.
▲
by
nendroid
6y ago
I feel that SOLID doesn't even work well with OOP. Overall it's just saying "be more modular" in a programming paradigm that's one of the least modular styles ever created.
66.
▲
by
nendroid
6y ago
I disagree with Martin very much. Programs can be made easy to change without introducing complex OOP abstractions. There is a simple rule that Martin fails to ever mention. Use combinators as much as possible and segregate as much logic as
67.
▲
by
nendroid
6y ago
SOLID is just a random arbitrary acronym about some principles that are somewhat obvious. However most people don't fully understand these principles deeply. What happens is if you are using OOP you are not using SOLID to its full exte
68.
▲
by
nendroid
6y ago
Which is the majority of applications nowadays.
69.
▲
by
nendroid
6y ago
You deploy to the cloud. The customer downloads a web page and that functions as a client that communicates with the python server. Just like how most programming is nowadays. But if you want a customer to download an app, which is much mor
70.
▲
by
nendroid
6y ago
I think the government itself should record all trials not for public release but for archival, evidence and review. How else do you being down a racist or corrupt judge?
71.
▲
by
nendroid
6y ago
The effort required for this makes it not worth it. If I want a library in python it takes about a second to install with one command, and these libraries tend to be safe so you're not going to get any resistance if you want to try out
72.
▲
by
nendroid
6y ago
I do have experience. It's my main language and my current job. C++ really sucks to work with for a developer even with types. For building cloud services where apps are bottlenecked by the database, the user experience is roughly the
73.
▲
by
nendroid
6y ago
No it doesn't... but it's far less likely to occur. Web development practices usually avoid this problem as state is handled externally.
74.
▲
by
nendroid
6y ago
Nah it's a big unicorn startup down in Irvine, so the codebase is still relatively new. They use C++17 so pretty modern as well.
75.
▲
by
nendroid
6y ago
> I still believe analogies have more value than being mere approximations to an unimaginable world I didn't say this. Although my example is actually impossible to understand without an analogy, I am saying an analogy can help you
76.
▲
by
nendroid
6y ago
Python developer here just switched jobs to one that does C++. Let me warn you right now. It's not worth it. At all. Don't go down this path. Memory management is easy, but that's not the only crap you have to deal with. Temp
77.
▲
by
nendroid
6y ago
>Like every programming language out there, C++ is a tool. And like every tool out there it has its uses. And like every tool some tools are crap and other tools are good. Not saying C++ is crap but I'm definitely saying that it is
78.
▲
by
nendroid
6y ago
1. No, I don't disregard analogies, I'm just able to recognize and isolate analogies from a topic or a point. For learning, I agree an analogy is very useful. Analogies are tools for illustration, not for proving a point. To use a
79.
▲
by
nendroid
6y ago
You want to encode as much context into the name as possible without breaking abstraction. Meaning that the definition of the function should not be part of the name. Only the API of the function and context should be encoded into the name.
80.
▲
by
nendroid
6y ago
Careful. Analogies are a common form of deception. Used often in religious speeches, political speeches, blog posts and more. The speaker offers zero substantial information yet manipulates the audience into feeling the speech was "goo
81.
▲
by
nendroid
6y ago
A baby can crawl in random directions. Of course I'll protect him from crawling off a ledge. But when he has the capacity to understand and judge I coddle as little as possible and expose as much possible. 5-6 is around the right time.
82.
▲
by
nendroid
6y ago
Scientists can't prove anything. They can only make statistical correlations and establish causation to a degree. When I use the word "prove" i don't mean like proving things in math. Nobody means this, it's obvious
83.
▲
by
nendroid
6y ago
6 year old. At 3, he just had a playstation.
84.
▲
by
nendroid
6y ago
Whatever works is what I believe. I feel lots of parents just don't have the balls to not coddle their children, and they justify this fear with rude comments like this. FYI the two blind kids actually knew each other when they were ki
85.
▲
by
nendroid
6y ago
Doesn't make sense because kids today are exactly the same as kids in the past. This is science and its about research that the scientist did to prove something.
86.
▲
by
nendroid
6y ago
You have to analyze the reality of this world. First off open source cannot exist without closed source. Imagine if everything in the world went open source. Then nobody would be getting paid, everyone would starve because they're givi
87.
▲
by
nendroid
6y ago
Your kid will be corrupted by society anyway. What's this whole thing about protecting children from the reality of the real world anyway? A bit off topic but a serious question. What's your logical reasoning for blocking the cont
88.
▲
by
nendroid
6y ago
One thing (out of many) I always hated about linux is the upgrades. I have to reinstall the entire operating system just to upgrade. I'm using manjaro now, I want see what happens when there's a big version change.
89.
▲
by
nendroid
6y ago
WSL 2 is making windows one of the best operating systems to run linux applications on.
90.
▲
by
nendroid
6y ago
>Second, Python 2 to Python 3 was horrible, and created political problems which hadn't existed before. Now, at the end of the transition, we can see how badly it was managed; Python 2 could have been retrofitted with nearly every b
More ›