Steve Smithtechburner.hashnode.dev·Nov 5, 202410 Common Flutter Mistakes and How to Avoid ThemBecause of its versatility, user-friendliness & capacity to generate natively compiled desktop, web & mobile applications from a single codebase, Flutter is one of the cross-platform app development frameworks with the highest rate of growth. But lik...DiscussFlutter
Truong Nguyentruongnn.me·Nov 3, 2024Dart's Analyzer missed required parametersWhen working with Dart, developers expect the compiler and analyzer to catch null-related issues at compile time. However, there are cases where the Dart analyzer can miss nullability checks, allowing code that may compile successfully but throw erro...DiscussFlutterNull Safety
Idorenyin Akaninyenedorendev.hashnode.dev·Sep 26, 2024When To Use the ?? And || In JavaScript.The ?? (nullish coalescing) and || (logical OR) operators in JavaScript are used to provide a default value when the expression on the left-hand side is not provided. They are helpful when handling cases where a value might not exist or is falsy, and...Discuss·70 readsjavascript ty
Carmine Tambasciablog.allaroundjavascript.com·Aug 23, 2024What is Typescript 's exclamation(!) mark operator, or bag and how does it work?TL;DR The bang operator tells the compiler to temporarily relax the "not null" constraint that it might otherwise demand. It says to the compiler: "As the developer, I know better than you that this variable cannot be null right now". I think this qu...Discuss·28 readsTypeScript
Merge Simpsonblog.letsdev.me·May 23, 2024Java: Null 안정성에 좋은 Optional 클래스, 이제 이렇게 써야 깔끔합니다.Optional은 무엇인가요? Optional 때문에 코드가 난잡하게 된다면 어떻게 해야 할까요? 글의 발단 무분별한 옵셔널 사용으로 코드가 깔끔하지 않다고 느낄 때가 있다는 사연을 예전에 들은 적이 있습니다. 그래서 저는 어떤 이유로 어떻게 관리하고 있는지 설명을 했고, 이를 결국 글로도 남기기로 결정했습니다. Java Optional이란? 자바의 NULL 안정성을 위한 표준 API 클래스입니다. null일 수도 있는 값을 감싸서(박싱 해...Discuss·40 readsJava
João Esperancinhajesperancinha.hashnode.dev·Apr 28, 2024Decoding Kotlin - Your guide to solving the mysterious in KotlinOn the 24th of April 2024, I gave a presentation about Decoding Kotlin at the JetBrains Headquarters in Amterdam, located close to the RAI: Kotlin MeetUp Amsterdam @ JetBrains! Kotlin Notebooks, Decoding Kotlin & more! I had a blast on that day and i...Discusskotlin secrets
CHIRAG KUMARichiragkumar.tech·Apr 26, 2024How to install typescriptGlobally Installing TypeScript You can use npm to install TypeScript globally, this means that you can use the tsc command anywhere in your terminal npm install -g typescript To run typescript npx tsc Check Typescript version tsc -v You might ...DiscussTypeScript
Gitar, Incgitar.hashnode.dev·Mar 28, 2024Automating Java Codebase Annotations for Null SafetyThis is Part II of our series of posts on retrofitting null safety onto existing programming languages. In Part I of this series, we introduced NullAway, a pluggable type system for nullability for Java, which can prevent NullPointerException (NPE) c...Discussnullaway
Ikechukwu Ezeblog.ikeze.dev·Mar 17, 2024Extending Kotlin's Null-Safety with Monad ComprehensionKotlin has a very decent null-safety baked in; and even better, it is a part of its type system. private fun easy1(str: String?): String { return str?.let { return "$str is so easy" } ?: "Not so easy after all" } // We can easily ca...Discuss·2 likes·1.2K readsKotlin
Jinali Ghogharijinali.hashnode.dev·Mar 12, 2024Dart Null SafetyAs we knew that all variables are non-null by default, we can use either the ? operator or the late keyword. Null safety in simple words means a variable cannot contain a null value unless you initialized with null to that variable. with null safety...DiscussDartdart null safety