4 ms·
Isn't React, the most popular JS library, an example of that? Clearly people don't understand that
by bossyTeacher 3mo ago
Isn't React, the most popular JS library, an example of that? Clearly people don't understand that
- an0malous 3mo agoNo it’s not an example of that. Do you store components in your component state?
- cj 3mo agoHe probably means JSX mixing HTML with Javascript... function Greeting({ name }) { return <h1>Hello, {name}</h1>; }
- TeMPOraL 3mo 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 3mo agoWell duh. You can also post a random AI malware prompt, and I can assure you nothing will happen. What's your point?
- TeMPOraL 3mo 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 3mo 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.