BVB Vishalinfunctions-in-js.hashnode.devFunction Declaration vs Function Expression in JavaScript – Complete Guide with ExamplesJavaScript functions are one of the most important building blocks in web development. Every JavaScript program — whether small scripts or large applications — heavily relies on functions. Functions h7h ago·7 min read
SSUPRABHATinblog.suprabhat.siteArrow Functions in JavaScript: A Simpler Way to Write FunctionsIf there is one thing programmers love, it is writing less code to achieve the exact same result. In older JavaScript, every time you wanted to create a function, you had to write out the full word fu1d ago·4 min read
SSUPRABHATinblog.suprabhat.siteFunction Declaration vs Function Expression: What’s the Difference?Imagine you are running a coffee shop. Every time a customer orders a latte, you have to grind the beans, steam the milk, and pour the espresso. If you had to write down these exact instructions for e1d ago·5 min read
DSDipali Sharmainsharmadipali14.hashnode.devFunction Declaration vs Function Expression: What’s the Difference?Introduction In every day life you don't have to remember all of the things. We simply save them, note them and if needed or simply some one as for it we forward to them. For example. I'm good at cook3d ago·6 min read
AKArun kumar Nepainarunblogs.hashnode.devMastering Java Functional ProgrammingIntroduction Java's functional programming features were primarily introduced in Java 8 centered on functional interfaces and lambda expressions - let you express behavior as concise, inline functions4d ago·6 min read
JGJosé Gonzálezinopeninput.hashnode.devWhy You Are Wasting Your Time Making Your Code PerformantI'm sure you may have come across some post in LinkedIn comparing junior vs senior code. They are unmistakable, with that fresh morning smell of heated arguments and even holy wars, with endless comments arguing why some option is better than another...4d ago·8 min read
JGJosé Gonzálezinopeninput.hashnode.devWhy Swift Sucks as a Functional LanguageSome months ago, I became one of the many victims of a dreaded massive layoff. Due to personal issues — among them caring for my father after he fell ill with COVID — I'm still searching for a job. In this search, I've encountered a trend that's rela...4d ago·9 min read
OGOjas Goyalinjsbyojas.hashnode.devFunction Declaration vs Function Expression in JavascriptIf you're learning JavaScript, you've probably noticed there are multiple ways to create functions. Two of the most common are function declarations and function expressions. Let's break down what the4d ago·3 min read
KKrishinskullcoder.hashnode.devFunction Declaration vs Function ExpressionWhat functions are and why we need them? In programming it is always a good practice to follow DRY (Do not Repeat Yourself). Which means not to repeat same piece of code again and again. To do this fu4d ago·4 min read
MAMohammad Almechkorinhex-di.hashnode.devStop Throwing, Start Returning: Why TypeScript Needs the Result PatternYou've written this code a hundred times: try { const user = await fetchUser(id); const posts = await fetchPosts(user.id); const rendered = renderProfile(user, posts); return rendered; } catch5d ago·10 min read