Hello dear reader,
Honestly, I haven't coded much today.
I only did the bare minimum.
I got too sidetracked by too many rabbit holes today especially related to software development/engineering in finance. Searches like "Why did Jane Street use OCaml?", "Why is C used in high frequency trading? Why not C?", etc. The internet is a curse sometimes.
Progress is still being made. Albeit slowly. I have passable features. Need to make the Disquslike embeddable to other websites.
I also need to slowly sort out the code architecture to make it seem like a sane developer developed it. Not some lunatic who escaped asylum.
There are still much that needs to be done. I also want to prematurely optimize how the inserted DOM elements works with a static website. Want to make it look nicer too. More sleeker.
I'm split whether to add analytics or not. Reason why I'm against analytics is that the user might probably have one that's more robust. Adding analytics to mine would be making the user think more. As a modern dev, I don't want to inflict mental overhead to my potential dear user.
I also think it will make the commenting system rigid and more machinelike from the get go. I want it to be more for humans. Maybe, I should add analytics instead regarding defending against bots and LLM comments? I wonder if Cloudflare blocker exposes an API for me to use. Hmmm. Oh well~ that's homework for future me. Current me is cooked for now.
Anyways, that's all. Ciao~
The above is the detailed content of #DAYSOFCODE: Day 14. For more information, please follow other related articles on the PHP Chinese website!