🤔 What is JavaScript Bangkok 2.0.0?
- 📅 Date and Time: October 18-19, 2024
- 📌 Location: Day 1 at Microsoft Thailand, Day 2 at True Digital Park West
- 💻 Event Type: Two-day event with Day 1 dedicated to hands-on workshops and Day 2 focusing on tech talks and discussions.
- 🌐 Focus: Covers a wide range of JavaScript topics from frontend to backend, with special sessions on AI, AR, TypeScript, and more.
- 🎤 Speakers: Features industry experts delivering both technical and creative sessions on modern JavaScript development.
✨Key Takeaways from sessions I participated (you can explore whole detail each section at the tab NO ADHD version at the bottom)
1. Build your own Svelte 5 🔧
- New State Management: Introduces
$state()
for explicit state declaration, ensuring fewer unnecessary re-renders.
- Reactive Improvements:
$derived()
helps manage reactive values, ensuring consistency when state changes.
- Signals in Svelte 5: Updates variables without glitches, solving issues seen in previous versions.
- Compiler Optimizations: No virtual DOM, highly efficient updates through compiled JavaScript.
2. Monad in JavaScript 📦
- Monads Simplified: Monads are like boxes that wrap values, allowing safe chaining of operations.
- Unit and Bind: Monads offer
unit
(to wrap values) and bind
(to apply functions while preserving structure).
- Practical Example: Promises in JavaScript can be thought of as monads with
.then()
chaining.
3. Objective and Subjective Quality of Code and System 🎯
- Objective Quality: Code that meets well-defined objectives like performance, stability, and maintainability.
- Duplication Over Abstraction: Duplication is often cheaper and less risky than creating an overcomplicated abstraction.
- Code Philosophy: Define what's important (performance, readability, etc.) to maintain objectivity in code quality.