Luke-Jr [ARCHIVE] on Nostr: 📅 Original date posted:2011-07-10 🗒️ Summary of this message: A developer ...
📅 Original date posted:2011-07-10
🗒️ Summary of this message: A developer questions the use of Berkeley db 4 and Boost in Bitcoin's code and suggests a complete rewrite for better documentation and cleanliness.
📝 Original message:On Sunday, July 10, 2011 6:37:15 PM Michael Offel wrote:
> why Berkeley db 4 is used at all.
Because it's a good tool for the job? Or you mean the version?
Debian stable: 4.8
Gentoo stable: 4.8
Ubuntu LTS : 4.8
> Boost is also an heavy non standard dependency that is an unnecessary
> barrier for new developers.
Boost is pretty much standard C++ nowadays.
> I'm talking about one file per class, no methods and single code line
> longer than a screen page. It should be natural to write code like this
> and I dislike having a lot of rules but the code shows that there is a
> need for such thing.
Blame your text editor if it can't show long lines sanely. The only problem I
see with the style itself is the use of spaces instead of tabs.
> My overall suggestion is to begin a complete rewrite, inspired by the old
> code rather than moving a lot of "known to be somehow functional" around.
There are many rewrites in progress, often with much better designs.
> The official Bitcoin client should be some kind of an reference project
> for other clients and must therefore be extra clean and well documented.
Bitcoin is supposed to be an authorityless project. There is no official.
> *everything else*
Fix it yourself and submit the changes. If they don't get merged, fork.
Published at
2023-06-07 02:04:28Event JSON
{
"id": "6d79f723e042e61df5f2ac80a2c7f07123ac5488a342c2d8e64dc97e8b18b96b",
"pubkey": "6ac6a519b554d8ff726a301e3daec0b489f443793778feccc6ea7a536f7354f1",
"created_at": 1686103468,
"kind": 1,
"tags": [
[
"e",
"4eaf1439aa67825cabdea581be3956c38ea4a62226b60d5367bace64dca7945b",
"",
"root"
],
[
"e",
"80d828ce46f47544535056904a0280ebb2e98f15801594d4cb0cf162c3e71a8e",
"",
"reply"
],
[
"p",
"cd753aa8fbc112e14ffe9fe09d3630f0eff76ca68e376e004b8e77b687adddba"
]
],
"content": "📅 Original date posted:2011-07-10\n🗒️ Summary of this message: A developer questions the use of Berkeley db 4 and Boost in Bitcoin's code and suggests a complete rewrite for better documentation and cleanliness.\n📝 Original message:On Sunday, July 10, 2011 6:37:15 PM Michael Offel wrote:\n\u003e why Berkeley db 4 is used at all.\n\nBecause it's a good tool for the job? Or you mean the version?\nDebian stable: 4.8\nGentoo stable: 4.8\nUbuntu LTS : 4.8\n\n\u003e Boost is also an heavy non standard dependency that is an unnecessary\n\u003e barrier for new developers. \n\nBoost is pretty much standard C++ nowadays.\n\n\u003e I'm talking about one file per class, no methods and single code line\n\u003e longer than a screen page. It should be natural to write code like this\n\u003e and I dislike having a lot of rules but the code shows that there is a\n\u003e need for such thing. \n\nBlame your text editor if it can't show long lines sanely. The only problem I \nsee with the style itself is the use of spaces instead of tabs.\n\n\u003e My overall suggestion is to begin a complete rewrite, inspired by the old\n\u003e code rather than moving a lot of \"known to be somehow functional\" around.\n\nThere are many rewrites in progress, often with much better designs.\n\n\u003e The official Bitcoin client should be some kind of an reference project\n\u003e for other clients and must therefore be extra clean and well documented. \n\nBitcoin is supposed to be an authorityless project. There is no official.\n\n\u003e *everything else*\n\nFix it yourself and submit the changes. If they don't get merged, fork.",
"sig": "0ceffd59a82e20f1d2afd2494c071cf8d8317419aca8f118c6b39e581347112e5104e891332397ef5aa1ec7c11171e378e1f9813beb3b130889e37849c48b6ee"
}