Taha Shashtari·Aug 12How LLMs actually call functions (they don’t)If you try to ask an LLM through the OpenAI API to send an email or access your database, it will not be able to do that.
Taha Shashtari·Aug 8I tested if system prompts actually matter, here’s what I foundDoes setting the role to ‘system’ actually matter when prompting LLMs? I did an experiment and was surprised!
Taha Shashtari·Jan 27, 2025Make your JavaScript more readable with named parametersOne simple pattern that can drastically improve your code.
Taha Shashtari·Dec 22, 2024Strategy pattern is better when done with functionsYou don’t have to overcomplicate it with classes and inheritance. Passing a simple function is enough.A response icon1A response icon1
Taha Shashtari·Sep 15, 2024Why you shouldn’t use async and defer in the same script tagUsing both async and defer in a script tag can lead to unexpected errors.
Taha Shashtari·Sep 2, 2024How to Create Medium-Like Image Zoom Animation (Video)I love how the image zoom works on Medium — it’s so smooth! While trying to implement it, I learned a lot of cool things that I think are…
Taha Shashtari·Mar 26, 2024Why the number of Gleam programmers is growing so fast?Because it’s so good! Hear me out, Gleam has beautiful syntax; it’s small yet very powerful.A response icon19A response icon19
Taha Shashtari·Mar 20, 2024Mastering closures in JavaScriptLearn everything you need to know about closures in JavaScript (with 5 practical examples).
Taha Shashtari·Dec 14, 2023Software design patterns and principles are not the goalThe worst thing programmers have to deal with is fixing a bug or adding a feature in code that is hard to understand and change.
Taha Shashtari·Dec 7, 2023A simple introduction to testingAll programmers do testing the very first time they write code in their lives. After you add or modify some line of code, you head to the…