Inline means that your element should be treated like text. If your element is not text, then you shouldn’t use inline. In this screenshot the element is text, so it’s ok.
Inline is never needed and you already know that.
There’s nothing hard about semantic naming. Especially when you’re separating your elements into components and use SCSS or some other pre-processor.
Frameworks like bootstrap are a cancer.
Add a flag.
Yeah, why not?
If it calculates personal income tax, just call calculatePersonalIncomeTax
.
Hard disagree - that’s just dumb:
// Calculates tax
function calculateTax() { }
It’s not up to me. Or you.
Because no one is using JSON.parse directly. Do you guys even code?
You’ve replied to the wrong person.
The thing is you don’t really hear much about AI solutions which are actually disrupting multiple industries right now. You only hear about toys, this is done so you get used to AI over time. It’s very important to prepare the ignorant and socially conservative public to avoid the next wave of luddites.
What’s the point of your schema if the receiving end is JavaScript, for example? You can convert a string to BigNumber, but you’ll get wrong data if you’re sending a number.
Why are you so ignorant?
Well, the issue is that JSON is based on JS types, but other languages can interpret the values in different ways. For example, Rust can interpret a number as a 64 bit int, but JS will always interpret a number as a double. So you cannot rely on numbers to represent data correctly between systems you don’t control or systems written in different languages.
Yaml is cancer.
What that means is that you cannot rely on numbers in JSON. Just use strings.
Well, apart from float numbers and booleans, all other types can only be represented by a string in JSON. Date with timezone? String. BigNumber/Decimal? String. Enum? String. Everything is a string in JSON, so why bother?
Look, I don’t know who you guys should replace Biden with, but him calling Zelensky a Putin is not funny. Biden today reminds me of Yeltsin back in the late 1990-s. You don’t want Yeltsin, trust me.