Ana Rodrigues on Nostr: I always feel self-conscious about asking things online because I fear people will ...
I always feel self-conscious about asking things online because I fear people will realise I am not that smart, but here it goes.
What is the benefit of doing:
`.my-class {
&__thing {`
vs
`.my-class {}
.my-class__thing {`
Is it only to make it easier to rename `my-class` if you need to, or are there more benefits I am completely missing out on?
I prefer the 2nd because it makes it easier to search & find but I see the 1st often and, of course, I am filled with self-doubt over my choices
Published at
2024-08-01 13:07:48 UTCEvent JSON
{
"id": "5f92ed43f35a3c897b699c6de6fc4c5e12c122e6bf31cbd6566e84555aa1640f",
"pubkey": "fb8cf26fdeeb3ef9bd99c039f0bb663bca4d3a9024a781fc7a016a735e722f1c",
"created_at": 1722517668,
"kind": 1,
"tags": [
[
"proxy",
"https://front-end.social/@anarodrigues/112886917943759475",
"web"
],
[
"proxy",
"https://front-end.social/users/anarodrigues/statuses/112886917943759475",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://front-end.social/users/anarodrigues/statuses/112886917943759475",
"pink.momostr"
],
[
"-"
]
],
"content": "I always feel self-conscious about asking things online because I fear people will realise I am not that smart, but here it goes. \nWhat is the benefit of doing:\n`.my-class {\n \u0026__thing {`\n\nvs\n\n`.my-class {}\n .my-class__thing {`\n\nIs it only to make it easier to rename `my-class` if you need to, or are there more benefits I am completely missing out on? \n\nI prefer the 2nd because it makes it easier to search \u0026 find but I see the 1st often and, of course, I am filled with self-doubt over my choices",
"sig": "2f56111d6caa13c1ecb6031ab2a701d9b5c74f1e996fb283694fc9edaae64e23e66a5cbf0c96c4ef26667d2f6f3899dbf20c56222cae028c3a290c3b57f6c561"
}