penguin42 on Nostr: Be a little careful with -Wextra ; they can sometimes be a bit too much and petty. ...
Be a little careful with -Wextra ; they can sometimes be a bit too much and petty. Also, some code bases have some structures that false trigger some compiler warnings and you can explicitly disable a few that just don't work out for that code base.
I don't know PHP, but I guess the deprecation thing is that you want to make it easy for projects to deprecate *early* with plenty of time until they actually remove an interface; for that the consequences of a deprecation have to be low.
Published at
2024-07-05 12:34:09Event JSON
{
"id": "6803069e6069eab98171878c8153f1320f8611bd8b94c78289eb6e65c40599f2",
"pubkey": "36eb84ab91bd8a516a1dea25e2db0986781f2ad29fa75793f6982bc89fc30266",
"created_at": 1720182849,
"kind": 1,
"tags": [
[
"e",
"019655e730923f1636b7b389ea5b088bcec38bf68dd0501ac2dfed448d638e2a",
"",
"root"
],
[
"proxy",
"https://mastodon.org.uk/@penguin42/112733903243876086",
"web"
],
[
"p",
"cd1235fa453225b15d2633014c95ac79d7f388669e8a81580ec991b915ff88c8"
],
[
"proxy",
"https://mastodon.org.uk/users/penguin42/statuses/112733903243876086",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.org.uk/users/penguin42/statuses/112733903243876086",
"pink.momostr"
],
[
"expiration",
"1722775632"
]
],
"content": "Be a little careful with -Wextra ; they can sometimes be a bit too much and petty. Also, some code bases have some structures that false trigger some compiler warnings and you can explicitly disable a few that just don't work out for that code base.\nI don't know PHP, but I guess the deprecation thing is that you want to make it easy for projects to deprecate *early* with plenty of time until they actually remove an interface; for that the consequences of a deprecation have to be low.",
"sig": "b1b7c9de74c2593b328dff90bbecde8bddefd1d724ba673274cea706f4e9d2b2b1e0e22149cdcd5b2812286b3340c46d4153a100a3107c0e399383791954bdb5"
}