3 ms·
He probably means JSX mixing HTML with Javascript... function Greeting({ name }) { return <h1>Hello, {name}</h1>; }
by cj 2mo ago
He probably means JSX mixing HTML with Javascript...
function Greeting({ name }) {
return <h1>Hello, {name}</h1>;
}
- TeMPOraL 2mo agoYou just did that in a HN comment, yet nothing happened :). Could it be that the whole idea is silly misunderstanding of fundamental tenets of reality in the first place?
- cj 2mo agoWell duh. You can also post a random AI malware prompt, and I can assure you nothing will happen. What's your point?
- TeMPOraL 2mo agoMy point is that "mixing instructions and data" is a red herring, and that reality has no such distinction; what is code and what is data isn't just context-dependent but question-dependent, which you aptly demonstrated by posting "code" that in this context is just "data".
- cj 2mo agoThat's a lot of words to argue that we shouldn't be separating prompts from the (often untrusted) data the prompts are acting on. I still don't see your point.