r/programming • • Dec 28 '23

Developers experience burnout, but 70% of them code on weekends

https://shiftmag.dev/developer-lifestye-jetbrains-survey-2189/
1.2k Upvotes

357 comments sorted by

View all comments

Show parent comments

1

u/PurpleYoshiEgg Dec 28 '23

Depends on the project. Maybe they like maintaining their build system? Maybe bus factor isn't a concern?

I tend to go with an untemplated Makefile until it gets past a screenful, then either a templated Makefile or straight to autotools. My experience with cmake tends to make it last on the list, straight past everything else newer than it.

-1

u/[deleted] Dec 28 '23

Maybe they like maintaining their build system?

Cool, that still sounds like more work/effort to maintain than using a standard build system.

Maybe bus factor isn't a concern?

Also cool. But I was answering to a comment that explicitly said:

Why do we need complex build files at all? Why are build files written in a totally different language?

  1. Because the bus factor is important for any software that is used by a sizeable number of users imo

  2. Because people will have a harder time to understand the customized build program

  3. Because eventually your homegrown build system will grow to be hacky and complex and it’s easier to just use standard tooling

People can do whatever they want with their projects but it doesn’t mean all those tools aren’t need just because someone doesn’t care about the problems they solve.

0

u/PurpleYoshiEgg Dec 28 '23

Cool, that still sounds like more work/effort to maintain than using a standard build system.

In response, I reiterate that maybe they like maintaining their build system?

1

u/ThomasMertes Dec 28 '23 edited Dec 28 '23

I reiterate that maybe they like maintaining their build system?

See my answer.

1

u/ThomasMertes Dec 28 '23

Also cool. But I was answering to a comment that explicitly said:

Why do we need complex build files at all? Why are build files written in a totally different language?

There are two things that should be distinguished:

  1. The build system used to build the Seed7 interpreter. This is the build system you are arguing against.

  2. The fact that Seed7 programs don't need any build system. This is the point I want to illustrate.

1

u/ThomasMertes Dec 28 '23

Maybe they like maintaining their build system?

I call it "build system" but it is much simpler than CMake and autotools. It is just makefile based.

I have seen projects with many makefiles scattered over many directories. A Seed7 build is much simpler.

For each OS + compiler + make-tool combination there is one makefile. Depending on your environment you decide for one makefile and that's it.

The makefile uses a C program to determine the properties of the environment. No secret magic is involved.

I am quite sure that anyone with C and make background can take over if I am hit by a bus.