HNHacker News
TopNewBestAskShowJobs

flavious

3 karma · joined June 9, 2018

submissionscomments
flavious··on Zig Is Self-Hosted Now, What's Next?
Yes, that would be amazing, full classes of approaches to problem solving would be unlocked at once and we wouldn't have to invent new languages, DSLs, transpilers, etc, but just leverage zig.
flavious··on Why OO Sucks by Joe Armstrong (2000)
Contracts are actually quite necessary for modularity. In OOP we have data types (interfaces, classes).

As long as other paradigms provide contracts/abstractions, modularity can be achieved there also.

Faked modularity doesn't count. Leaky abstractions neither.

flavious··on Exotic Programming Ideas: Module Systems
I'm not your goto java guy, but the module system of java and how modules can provide implementations for interfaces is really great.
flavious··on That coworker who never stops refactoring
Over-abstraction also has a non-negligeable cost.
flavious··on That coworker who never stops refactoring
Fred should learn how to squeeze in his refactorings into other, related tickets. And to learn how to argue about why an user story is more points worth, without explicitly saying the R word.
flavious··on That coworker who never stops refactoring
And how does the team feel about it?
flavious··on That coworker who never stops refactoring
Sounds like the effects of temporal coupling, or "settism and gettism", or other principles, which are violated. People are blinded nowaways too much by SOLID, and forget about the remaining 20 principles.
flavious··on Never use a dependency that you could replace with an afternoon of programming
My rule scales with the scope of the dependency:

"If you think that creating a wrapper around the library is too expensive, then the dependency is not worth having".

flavious··on Remark42: Self-Hosted, Lightweight Comment Engine
Not questioning your decision at all, but can you explain the whole thought process which led you to the conclusion that it is a better fit?
flavious··on Ask HN: Advanced Linux users, which distribution do you run? Why?
Linux user for 15+ years, Slack, now Arch in the past 10 years.
flavious··on A look at modern PHP
Normally, bright developers acquire a new language* within a few weeks, if they already know the paradigm from another language. Hack is OOP, and so are many others, so I would expect a bright developer to learn hack in 2-3 weeks, not months.

Heck, I just read the docs of hack for 2 hours, and I already got a good sense of what the language can do. I worked with PHP internals, and a bunch of other languages in my career.

* as language we define the language, its syntax and semantics, not any other library or the ecosystem. And yes, the standard library is still just a library. Knowing a list of functions and parameters does not mean knowing a language.

flavious··on Rules of thumb for a 1x developer
> Rule 20: When somebody says Agile, push for Kanban, not Scrum

From my experience, scrum is better. The idea is that you can measure progress and you can learn from mistakes with scrum.

Kanban doesn't help in that regard.

Also, a good scrum master will tell you some things:

- a successful sprint is one in which not all stories were finished, because the goal was ambitious

- do not sweat over spill-overs; they happen all the time, it's not the end of the world as long as you work 8h/day really focused and give your best

I know that in the US you got modern slavery with insame working and commuting hours, but life is decent in places like Europe.

flavious··on Things I Learnt the Hard Way (In 30 Years of Software Development)
Very good article, intuitively I'd say some overlap with "the pragmatic programmer".
flavious··on The Art of Command Line (2015)
I've written many thousand lines of code in bash (along with way more in 15 years of programming in other languages) and I must tell you:

Never again!

Use xonch at least.

flavious··on When hiring senior engineers, you’re not buying, you’re selling
Define "We".
flavious··on When hiring senior engineers, you’re not buying, you’re selling
Who knows, maybe he has valuable things to share. It's like that with any book. It also depends on the readership.
flavious··on Ask HN: Best Centralized Backup Solution
borgbackup.
flavious··on Ask HN: What are your “brain hacks” that help you manage everyday situations?
As a programmer, I leave a small portion of code uncommitted at the end of the day.

Next day, I just look at the git diff, and I'm mentally back right where I left.

flavious··on Ask HN: I've been a programmer for 6 years, and I can't solve basic CS problems
Code monkey thinks he can help beginner become a researcher? Not so fast, tiger.
flavious··on I don't want to learn your query language
When I was a junior, I could write my queries in SQL in 30 minutes for the report which was asked from me, but I needed two more days to figure out how to do it with the ORM.

For juniors, it's best to have a less abstractions.