Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
revvx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
61.
▲
by
revvx
7y ago
Code Reviews are also devalued, to the point of most developers I worked with considering it a chore.
62.
▲
by
revvx
7y ago
> Supposing you literally “just write code,” there’s a ceiling to how much impact you can have I'm don't see why a single person can't have a ton of impact merely as a coder. I mean, this whole website is dedicated to (mos
63.
▲
by
revvx
7y ago
A solution for that is promoting the best developers that don't want to manage into technical leadership roles. They can still create things and impact the team positively, and will not suffer with managerial tasks. > if Willie Mays
64.
▲
by
revvx
7y ago
> The CPU was spending 15-20% of its time every frame recreating the UI's vertex buffer. Not saying it is easy, but it's possible to optimize and cache vertex buffers by using something similar to React's VDOM.
65.
▲
by
revvx
7y ago
Games (normally) re-render the whole scene every frame. ImGUI exposes that to their API users: you have to re-render and check for clicks on every frame. The code looks like React, (but not as optimized, it re-renders every frame!), and nor
66.
▲
by
revvx
7y ago
Immer.js (a library to work on data structures, not a framework) uses a similar concept, using Proxies. The gist of Immer is that your framework needs immutable structures, but you want to interact with them imperatively. It's very int
67.
▲
by
revvx
7y ago
It's not exactly a bad thing, it's just that you're using a hammer (class) when what you actually need is a screwdriver (struct/record). Abusing getters/setters is breaking encapsulation (I said abusing, light use i
68.
▲
by
revvx
7y ago
I don't think it has anything to do with dynamic or static typing, but more to do with teams, libraries and program design. I've had terrible experiences with complexity and verbosity in Ruby and Python codebases, which are dynami
69.
▲
by
revvx
7y ago
I agree with your points. You can do great things without all that tooling if you're able to only target modern browsers (>90% of the market): - https://www.npmjs.com/package/htm#example - https://ww
70.
▲
by
revvx
7y ago
> what does late binding by you? Some things that come to mind: - Abstract classes/methods, and interfaces. This is implemented using vtables in C++. - Ability to send messages asynchronously, or to other computers, without exposing
71.
▲
by
revvx
7y ago
Alan suggested "server-oriented programming" in Quora: https://www.quora.com/What-is-Alan-Kays-definition-of-Object...
72.
▲
by
revvx
7y ago
Alan Kay answered that himself! :) https://www.quora.com/What-is-the-difference-between-Alan-Ka...
73.
▲
by
revvx
7y ago
> I realize that I'm picking on Java, but Java is the biggest target when it comes with OOP as the industry understands it. I personally cannot stand having to create fifty files do to something like a database wrapper, and in Java
74.
▲
by
revvx
7y ago
I'm the one mentioning C++. To anyone familiar with both styles, Joe Armstrong is clearly not talking about Smalltalk-style OOP in his essay, he's talking about C++/Java/etc style. And later on he only praised Smalltalk-
75.
▲
by
revvx
7y ago
In my experience, a sufficiently rich type system is extremely similar to TDD in this regard. Both give you super fast feedback and a lot of issues can be solved before you finally launch your software for the first time. But neither will s
76.
▲
by
revvx
7y ago
In my experience, getter/setter abuse is always an attempt to use classes as a structs/records. I wonder if we had different syntax for those cases we'd have less of them. But then, again, it's very convenient to be able
77.
▲
by
revvx
7y ago
IME the thing with getters and setters is that everyone is doing it (inertia) and that other options either suck (syntactically) or break the "everything is a class" constraint. Ruby is far from being my favorite language, but I l
78.
▲
by
revvx
7y ago
Thanks for that. That resonates a lot with me. It makes me feel better realizing that I'm not alone in thinking that. Recent writings by Joe Armstrong are also resonate with me the same way.
79.
▲
by
revvx
7y ago
I don't think that's what happened. Joe Armstrong was criticizing C++-style OOP when he wrote his critique. After he learned more about Alan Kay's view on OOP, he decided that Erlang is closer to Alan Kay's OOP and he
80.
▲
by
revvx
7y ago
> Isn't a method call a message, and the return value a message back? It is! In my view, the point that Alan Kay and Joe Armstrong are trying to make is that languages like C++/Java/C# etc have very limited message passing
81.
▲
by
revvx
7y ago
React with class-components is very OOP. Hooks are closer to functional programming, though (but were released only a couple months ago)
82.
▲
by
revvx
7y ago
I think you're confusing procedural with functional. Modern Javascript has some support for functional idioms, but C is as far from functional programming as you get (nothing wrong with that, of course)
83.
▲
by
revvx
7y ago
Similar thing happened to Wilko Johnson, guitar player in Dr. Feelgood and actor in Game of Thrones. But in the end he surprisingly ended up surviving his terminal cancer, thanks to his doctors. https://en.wikipedia.org/wiki
84.
▲
by
revvx
7y ago
Helping organize small music concerts and festivals and recording local indie bands. Mostly friends or friends of friends. I've been doing it since I was a teen, before I started programming, and the first significant amount of money I
85.
▲
by
revvx
7y ago
You can ALWAYS negotiate before you accept the offer. "Yeah thanks, but that offer is not enough for me to leave my current job. I need at least X more. Let me know if you're interested." (In fact, you can negotiate even AFTE
86.
▲
by
revvx
7y ago
It is a verbal promise, not a contract. They just broke it. They were unprofessional.
87.
▲
by
revvx
7y ago
Yeah, the recruiter told me the whole hiring team thought I was bullshitting about my salary. It was a problematic company from the get go. I was cold called and the recruiter was very insistent. Their engineers were very unprofessional dur
88.
▲
by
revvx
7y ago
Regarding the "!! Select text -> type in correction -> people see change.", he was putting that in motion with his personal blog: https://joearms.github.io/
89.
▲
by
revvx
7y ago
> He told me...he could match that. I think he was just honest. In those cases, I'd answer with "Ok but I need X% more because of the commute and the hassle of changing jobs".
90.
▲
by
revvx
7y ago
It was an HR recruiter that works for the company, not an independent recruiter. I agree about the incompetence part, though. Terrible waste of time for everyone involved.
More ›