codingbeautydev's profile picture. Sharing the latest developments and insights in the world of tech and AI

Coding Beauty

@codingbeautydev

Sharing the latest developments and insights in the world of tech and AI

Inverting if statements in code is so easy now with AI and inline editing... Before I'd have to use an extension like JavaScript Booster or whatever Or even worse -- do it manually But now just so easy...

codingbeautydev's tweet image. Inverting if statements in code is so easy now with AI and inline editing...

Before I'd have to use an extension like JavaScript Booster or whatever

Or even worse -- do it manually

But now just so easy...

OpenAI's Sora AI made this from scratch👇 Can you believe it? Look at the attention to detail... No errors in the human form... Imagine how powerful this will get in 2025.


Insane AI news... OpenAI just launched Sora. The long-awaited AI model for generating new videos on the fly from text. Key features: ✅ Create a video from any text prompt ✅ Animate still images to life ✅ Upgrade existing videos Just imagine where this will be in 12 months.


Insane AI news... OpenAI just announced a crazy new $200 "Pro" subscription for ChatGPT. Giving unlimited access to GPT-4o and o1 models... and a new o1 pro mode. Who the hell is gonna pay for this tho? Not me for sure 😅 Free is already more than enough for most people lol.

codingbeautydev's tweet image. Insane AI news...

OpenAI just announced a crazy new $200 "Pro" subscription for ChatGPT.

Giving unlimited access to GPT-4o and o1 models... and a new o1 pro mode.

Who the hell is gonna pay for this tho? Not me for sure 😅

Free is already more than enough for most people lol.
codingbeautydev's tweet image. Insane AI news...

OpenAI just announced a crazy new $200 "Pro" subscription for ChatGPT.

Giving unlimited access to GPT-4o and o1 models... and a new o1 pro mode.

Who the hell is gonna pay for this tho? Not me for sure 😅

Free is already more than enough for most people lol.

Google just shocked the world with something unbelievable 😲 Generative AI is transforming Chess in wild ways. You can now create stunning chess pieces with ANY type of design your imagination can come up with.


Material Theme for VS Code: A popular theme packed with sleek, modern colors. Lovely Ocean variant✨

codingbeautydev's tweet image. Material Theme for VS Code: A popular theme packed with sleek, modern colors.

Lovely Ocean variant✨

Natural code: If verbs are for functions, then adverbs are for… higher-order functions! Here it’s like saying, “Get the file contents silently”.

codingbeautydev's tweet image. Natural code: If verbs are for functions, then adverbs are for… higher-order functions!

Here it’s like saying, “Get the file contents silently”.

Don’t be afraid of long function names — that’s why we have intellisense! Always better to let code be the single source of the truth. No need to worry about updating the comment for every change. And a bit of thought could result in a much shorter but still comment-free name:

codingbeautydev's tweet image. Don’t be afraid of long function names — that’s why we have intellisense!

Always better to let code be the single source of the truth.

No need to worry about updating the comment for every change.

And a bit of thought could result in a much shorter but still comment-free name:

See how much more readable it gets when you abstract and keep functions super short ✨ Understanding at a glance is much faster.

codingbeautydev's tweet image. See how much more readable it gets when you abstract and keep functions super short ✨

Understanding at a glance is much faster.

Problem: You have a function taking multiple inputs ❌ Use several parameters for all the inputs ✅ Put all params in a single object

codingbeautydev's tweet image. Problem: You have a function taking multiple inputs

❌ Use several parameters for all the inputs

✅ Put all params in a single object

Stop using comments to replace bad code.

codingbeautydev's tweet image. Stop using comments to replace bad code.

💡The 5 most transformative JavaScript features from ES12 ✅ replaceAll() ✅ Promise.any() ✅ New logical assignment operators ✅ Weak references -- new WeakRef type ✅ Numeric separators for easier readability

codingbeautydev's tweet image. 💡The 5 most transformative JavaScript features from ES12

✅ replaceAll()
✅ Promise.any()
✅ New logical assignment operators
✅ Weak references -- new WeakRef type
✅ Numeric separators for easier readability

Coding Beauty reposted

And here's another powerful use case for Promise.allSettled(): When I'm making several API requests and they must all succeed. I'll easily filter out the failed ones and retry again and again. Think Spotify: Loading homepage data from several URLs -- they must all show.

tari_ibaba's tweet image. And here's another powerful use case for Promise.allSettled():

When I'm making several API requests and they must all succeed.

I'll easily filter out the failed ones and retry again and again.

Think Spotify: Loading homepage data from several URLs -- they must all show.

💡Promise.all() vs Promise.allSettled() in JavaScript: The little-known difference Promise.all() -- reject if any Promise fails Promise.allSettled() -- wait for all Promises to finish no matter what

tari_ibaba's tweet image. 💡Promise.all() vs Promise.allSettled() in JavaScript: The little-known difference

Promise.all() -- reject if any Promise fails

Promise.allSettled() -- wait for all Promises to finish no matter what


💡Promise.all() vs Promise.allSettled() in JavaScript: The little-known difference Promise.all() -- reject if any Promise fails Promise.allSettled() -- wait for all Promises to finish no matter what

codingbeautydev's tweet image. 💡Promise.all() vs Promise.allSettled() in JavaScript: The little-known difference

Promise.all() -- reject if any Promise fails

Promise.allSettled() -- wait for all Promises to finish no matter what

5 major ways I use to find $1000+ freelance clients consistently as a programmer: ✅Build your first-party network: from existing contacts & LinkedIn ✅Join an exclusive freelance network ✅Use Upwork the right way ✅Create content + code to boost visibility ✅Run targeted ads

codingbeautydev's tweet image. 5 major ways I use to find $1000+ freelance clients consistently as a programmer:

✅Build your first-party network: from existing contacts & LinkedIn
✅Join an exclusive freelance network
✅Use Upwork the right way
✅Create content + code to boost visibility
✅Run targeted ads

Coding Beauty reposted

💡bind() vs call() vs apply() in JavaScript 3 crucial methods every function has, but with subtle differences 👇 I remember bind() from those early days of React, when we still had to write full-blown classes for components.

tari_ibaba's tweet image. 💡bind() vs call() vs apply() in JavaScript

3 crucial methods every function has, but with subtle differences 👇

I remember bind() from those early days of React, when we still had to write full-blown classes for components.

Problem: You want to render JSX in React based on UI state -- loading, error, success, etc. ❌ if statements: awkward JSX assignment ✅ key-value object: clean and intuitive

codingbeautydev's tweet image. Problem: You want to render JSX in React based on UI state -- loading, error, success, etc.

❌ if statements: awkward JSX assignment

✅ key-value object: clean and intuitive

New built-in TypeScript support in Node.js -- Finally ✅ Native built-in TypeScript support ✅ Zero dependencies ✅ Zero intermediate files and module configurations

codingbeautydev's tweet image. New built-in TypeScript support in Node.js -- Finally

✅ Native built-in TypeScript support
✅ Zero dependencies
✅ Zero intermediate files and module configurations

Coding Beauty reposted

Sometimes I look at code and assume it works because it looks "alright". Only to test it and see some not-so-alright results. Lesson: Never assume new code works until you've actually run it in real life. Bugs are always something you never expect.

tari_ibaba's tweet image. Sometimes I look at code and assume it works because it looks "alright".

Only to test it and see some not-so-alright results.

Lesson:

Never assume new code works until you've actually run it in real life.

Bugs are always something you never expect.

10 must-have VS Code extensions for web development: ✅ Prettier ✅ ESLint ✅ GitLens ✅ CSS Peek ✅ Live Server ✅ VS Code Icons ✅ AI assistant extension ✅ Visual Studio Intellicode ✅ JavaScript (ES6) code snippets ✅ Tailwind Intellisense, CSS Intellisense for HTML

codingbeautydev's tweet image. 10 must-have VS Code extensions for web development:

✅ Prettier
✅ ESLint
✅ GitLens
✅ CSS Peek
✅ Live Server
✅ VS Code Icons
✅ AI assistant extension
✅ Visual Studio Intellicode
✅ JavaScript (ES6) code snippets
✅ Tailwind Intellisense, CSS Intellisense for HTML

Loading...

Something went wrong.


Something went wrong.