Optional.map over if and isPresent
Using Optinal API in Java consider using Optional.map over a combination of if-Statement and Optional.isPresent.
Angular, Java
Using Optinal API in Java consider using Optional.map over a combination of if-Statement and Optional.isPresent.
Let’s say you have this code, which is Angular unittest code, and you have many more lines like this. You want to refactor this, to make it more try like in Example 2. Then typing it all, is not very efficient, but that’s when (Idea-)Vims Makro come in handy.
```typescript import { fakeAsync, tick } from ‘@angular/core/testing’; import { of, firstValueFrom } from ‘rxjs’;
Here are the solutions for the end levels of Grid Garden and Flexbox Froggy for those, which are interested.
A collection of links featuring awesome content.
Generally the autoimport feature of WebStorm is excellent. That makes the fow occasions where it really falls short even harder to spot. In the context of Ionic Angular this often happens with:
Angular 12 switched the default bundler to webpack 5, which treats node_modules as immutable per default.
How to build the new Android App Bundles (AAB) with Ionic and/or Cordova.
Want to bind to a property in a stencil app / component lib.
Working with Java and JPA, this is the absolute minimum no need to know to start with Native Queries and actually no one really told me.
You might, eventually, end up with the following typescript code (which runs perfectly fine in javascript btw):
This blog is under construction currently. Expect to see more in the not so distant future.