Top 3 in Tech: 5 Golden Rules of Development, The Fresh framework, ToastifyJS

Software development is hard. But are there some guiding principles we can use to create better software, regardless of our field?  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Hey hey hey.

Another hot-off-the-press edition of the Top 3 in Tech newsletter here for you! Today we're talking about some golden rules when creating software, a fresh new web framework and a cool JavaScript library for creating notifications.

Less than 3.59 minutes to read, so let's get into it:

1. 5 Golden Rules of Development

Bet I caught your attention with a title like that!

Developing software is hard, so I think we are naturally drawn to stuff like rules and frameworks to make it easier.

The bad news: There are no simple 3, 5 or 10 principles that once you master, will ensure all your software turns out amazing. It doesn't exist. There's too many variables to take into account when developing software.

With that said, through my career so far, I've gathered enough experience to create my own go-to list of rules and principles that's helped me develop and ship many awesome projects.

They're not universal, and they won't automatically make you a better developer over night.

But I strongly believe they'll help you focus on what's important - while also serving as a guide when you get stuck or have a hard time on your own projects.

  1. Focus on the problem first. Developing software is all about building. But whatever you're building, make sure you understand the problem you are trying to solve. Let the problem be your guiding principle when you run into roadblocks or don't know what to do. If something doesn't help you solve the problem, it can wait.
  2. Keep it simple. The biggest problem I see developers make is trying to do too much. I've always preferred to do less, but do it better instead. Instead of adding 10 half-assed features that kind of work, focus on creating 5 awesome features. Software should ideally be master at some things, rather than a jack of all trades.
  3. Stick to the big idea. Similarly to how the problem can guide you, try to identify the big idea behind any project you're working on. If you're building a todolist, the big idea is for a user to be able to add their todo's (duh). And if you're building an e-commerce shop, the big idea is for users to buy your products.
  4. Embrace constraints. You'll always be working under constraints when developing software. As an employee those could be budgets, deadlines from management or technical limitations. When working on your own, constraints can be time, opportunity cost or money. Focus on delivering the best possible product within your constraints - they aren't likely to go away.
  5. Done is better than perfect. The most important rule when developing software is that it's not doing any good sitting in your code editor. It's almost always better to ship code as soon as you got something working, then take feedback and iterate. Developers too often get caught up in trying to perfect everything until they run out of motivation, time, or both.

Like I said, these aren't official rules that will instantly impact your ability to create quality software.

What I hope they will do is stay at the back of your mind as you progress on your development journey - and serve as guiding principles to turn you into a better developer over time.

Let the problem and big idea guide your decisions.

Always keep it simple and do your best within the constraints.

Then ship it to the world and collect feedback.

🔥

2. The Fresh framework

It's a running joke in the JavaScript community that a new JS framework is released every week - though in reality, the main ones like React, Vue and Angular have been out for many years now.

But it does indeed still happen that a new framework comes along and challenges the status quo. Most aren't very good and quickly fade into obscurity, while some (like Svelte) are different enough to gain some foothold.

Well, this week we got a new video from the Fireship Youtube channel about a "fresh" new web framework called: Fresh. Yeah 😅

Fresh is quite different from the front-end frameworks though, because it's a SSR framework built on Deno.

It's definitely an interesting approach, and I'm excited to see if it'll gain traction in the community. None the less, this introduction video is definitely worth watching:

3. ToastifyJS

Toastify is a JavaScript library to quickly and easily generate "toasts" - small notifcations with different positions, content, colors etc.

Toasts are a pretty common UI pattern, particularly in admin / dashboard type apps. They provide an easy way to broadcast information to the user, without getting in the way of other UI elements.

And with Toastify, you can create toasts in as little as 1 line of code!

Check out the demo site to get started or see toasts in action

That's it for this week! Did you enjoy today's newsletter?

👍 Yes, it was amazing!

😐 Eh, I guess it was ok

👎 Not really at all


I would really appreciate if you would share the newsletter with your friends on Twitter, Facebook, LinkedIn, by email or copy/paste the link mads.fyi/top3 on other platforms. It really helps to keep me motivated and let the newsletter grow. See you in 2 weeks ✌

— Mads Brodt

Older messages

Top 3 in Tech: Dealing with imposter syndrome, Interactive typography tutorial, New Netlify website breakdown

Wednesday, June 22, 2022

What is imposter syndrome, why is it such a problem in the development world, and how can you deal with it yourself? ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Top 3 in Tech: Think twice - code once, 100+ Computer Science concepts, InertiaJS

Wednesday, June 8, 2022

Hey hey hey, Mads here with this week's instalment of the Top 3 in Tech newsletter. One piece of advice, one resource and one tool to check out for your reading, viewing and learning pleasure.

Top 3 in Tech: Keeping up with the Codeashians, State of CSS 2022, Terminal for front-end devs

Wednesday, May 25, 2022

How do you stay up to date with the constantly changing development ecosystem - without getting burned out? ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Top 3 in Tech: What programming language should you learn first, State of frontend 2022, 10 Design Patterns in 10 minutes

Thursday, May 12, 2022

What programming language to learn first is an interesting question with a lot of variables. Here's my recommendations to get you started. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Top 3 in Tech: Learn JavaScript (step-by-step), NodeJS 18, Nuxt 3 Release Candidate

Wednesday, April 27, 2022

Do you want to learn JavaScript, but dont know how? Do you constantly get stuck when trying to build something real? Then this step-by-step is for you ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

You Might Also Like

.NET 9 Focuses on .NET Aspire & AI, Preview of Copilot in SQL Server Management Studio, More

Friday, November 15, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight November 14, 2024 THIS ISSUE SPONSORED BY: ■ Build .NET Applications with Powerful Reporting ■ dtSearch® - INSTANTLY SEARCH

How to define and revisit your career goals

Friday, November 15, 2024

Learn how to define and revisit your career goals, align them with your life objectives, and create a fulfilling professional journey that optimizes for happiness and personal growth. Sébastien Dubois

eBook: The Cyber Insurance MFA Checklist

Friday, November 15, 2024

How to Comply with the Cyber Insurance MFA Checklist ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Sequence Chat: Small Specialists vs. Large Generalist Models and What if NVIDIA Becomes Sun Microsystems

Friday, November 15, 2024

A controversial debate and a crazy thesis. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Microsoft Confirms Zero-Day Exploitation of NTLM and Task Scheduler Flaws

Friday, November 15, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 13, 2024

Post from Syncfusion Blogs on 11/13/2024

Friday, November 15, 2024

New blogs from Syncfusion Celebrating 75 Blogs of Chart Excellence: A Journey with Syncfusion Charts By Saravanan Madheswaran Syncfusion's Chart of the Week blog series hits 75. This blog

⚙️ Self-driving cabs in LA

Friday, November 15, 2024

Plus: The impact of algorithmic discrimination ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Introducing the "Art of Data" Book and Speaking Tour 🌎

Friday, November 15, 2024

Be the first to get access to Visual Capitalist's data storytelling secrets, before time runs out. View Online | Subscribe | Download Our App "The Art of Data" The Secrets to Data

21 Cranium-Catching Bitcoin Marketing Ideas For Dummies Savvyies

Friday, November 15, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 13, 2024? The HackerNoon

Last chance: The future of access management webinar

Friday, November 15, 2024

Join us today! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏