Lurker News
And what made it so good?

Was there someone enforcing good practices top down? Just being in a group of great engineers? Or something else?

Comments (454) 104 threads

Earlier comments
simfoo1 reply#
My past three employers code bases: mono-repos, Bazel, lots ot C++ and Python, thousands of libraries and tools, code generation and modeling tools that are fully integrated into the build, easy cross compilation, large integration tests just one bazel test invocation away, hermetic and uniform dependencies...
fire_lake1 reply#
Bazel Python does not cross compile IIRC. How was this achieved?
simfoo#
Python is only used for build-time tooling (modeling, code generators) and developer tooling. All the on-target code is C and C++, and only that is cross compiled (Linux, QNX, various RTOS and x86+aarch64)
9999000009991 reply#
Realistically any code base where the engineers had at least a basic understanding of programming. You do not know suffering until you've seen someone hard code basic variables, we're talking about strings all over the place, and then they just copy the function again to replace the strings .

I've legitimately left jobs over bad code. We're talking about code that did nothing in reality. The best code bases have been ones where I've been able to lead the direction. I get to know exactly how things work. I'm privileged to have a job where I essentially created the initial framework right now .
Plus I'm fully remote, life is pretty good.

naikrovek1 reply#
> any code base where the engineers had at least a basic understanding of programming

I felt this in my soul as soon as I read it. The number of people writing code who should not even be speaking to others because of how clearly they don't understand anything technical is unfathomably high.
Our industry hires seat fillers and tells them to write software. And then they do, and it's every bit as bad as it sounds.

withinboredom#
Same.

Some genius hired a "software architect" who doesn't know how to write code. When I asked the genius why he would do that, he said it was because regular architects don't know how to build houses, so why would he know how to program?
That was some next-level shit. He showed us a diagram once where the database was calling github which was calling a microservice. These are the days before Github had a CI, so it was pretty funny.

tonymet4 replies#
Facebook but for different reasons than most. We called this swapping out the airplane parts mid-flight

A lot of effort goes into language design and tooling to enable continuous migration of code. Rather than re-writing entire repos, existing code is continuously upgraded through semi- & fully-automated code-mods. Every day thousands of patches are landed to upgrade APIs with new type safety, security restrictions, deprecations and other code maintenance.
Most other company repos I worked on had major re-writes outside of the mainline until one day there was a sudden and often troublesome switch-over to the new code.
Code is constantly changing, and unless you have a continuous process for landing and testing those changes, you are going to suffer when you try to apply the changes needed to address the accumulated tech-debt.

lanstin#
I really wish more people believed in continuous improvement and the malleability of software. Giant heroic refactors or redos are so annoying, but so are ten year old compiler or kernels.
ceejayoz1 reply#
> We called this swapping out the airplane parts mid-flight...

I work fairly heavily with Facebook's Graph API, and I think they may have employed too many Boeing engineers for the part swaps lately.

tonymet1 reply#
Most of the compatibility issues over the past few years at least have been due to added privacy restrictions and reduced permissions scoping.
ceejayoz1 reply#
The same few years have seen the developer bug tool closed down in favor of the mostly abandoned “community forums” no one uses.

We had big multi-year bugs in “assigned” state before its closure, too.

Continue this thread — 1 reply

fragmede#
> We called this swapping out the airplane parts mid-flight...

At ksplice we swapped the code out from under the kernel without rebooting, so I know what you mean.

01HNNWZ0MV43FF#
For curious readers, the "building a plane as it flies" metaphor dates back to at least 2000, to these commercials for EDS: https://www.youtube.com/watch?v=L2zqTYgcpfg

I thought it was IBM but I was quite mistaken, so good thing I looked it up lol

Joel_Mckay#
It was a 63kB assembly project that compiled down to 384 bytes. However, that project handled phase-locked control of a power dimmer, logged up to 2 days of power-factor stats information into an eeprom, integrated clock timers, and several user inputs.

It was the smallest, and most bizarre interleaved task-structure I'd seen fit into a $0.17 micro-controller. I kind of admired that the code itself formed the delays for other areas of the multiple tasks, and essentially achieved near perfect resource utilization for actual work.
Never saw anything that efficient again for several decades. =3

Load more comments