I wonder if there is a correlation between the side someone takes in "tabs vs. spaces" and the side they take in "dynamic linking vs. static linking." The results of the following poll ought to give some answer. Boost if you're curious to get an accurate answer.
Which pair of sides are you on? If you don't feel strongly about one of the wars, just go with what you're leaning toward.
@philipwhite As much as I dislike Go's syntax, I love their solution to the code style debates. There is a single canonical format and the compiler ships with a formatter as well.
Boom, codebases are now consistent.
@philipwhite Saying you have to choose static OR dynamic linking is like saying you have to choose cheese OR burger
@sjb I disagree. See, static and dynamic linking both have their uses, but not so with cheese and burger. Cheese is good by itself, and burgers are great, but I NEVER put them together.
My cheeseburgers occur when a program sends code to a compiler to make a new DLL on the fly that is then loaded in, but the rest of the program is normally statically linked.
The other one is when the Win32 API only contains half of the %^&* OpenGL API, and I have to load the remaining half using an extension mechanism (DLLs again).
@philipwhite Interesting results. It looks like there isn't a strong correlation one way or another and I think the reason why dynamic and spaces won out is because that's the most common in mainstream languages.
Go, for example, *strongly* encourages static linking and Haskell links to Haskell libraries statically by default.
In most operating systems though, dynamic linking is the preferred way to distribute packages and in super popular languages like C++, dynamic is the default.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!