Posts

Showing posts from April, 2024

Design Patterns A quick guide to Abstract Factory by Andreas Poyias

Image
Table Of Content Creational Design Patterns I thought factory methods only create one product? Abstract Factory Design Pattern in Java But now you need to tell the main UIFramework class to use the new button subclass instead of a default one. As a result, you will end up with pretty nasty code, riddled with conditionals that switch the app’s behavior depending on the class of transportation objects. Imagine that you’re creating a logistics management application. The first version of your app can only handle transportation by trucks, so the bulk of your code lives inside the Truck class. Then we have the abstraction and implementations for the kingdom factory. The elven kingdom needs an elven king, elven castle, and elven army whereas the orcish kingdom needs an orcish king, orcish castle, and orcish army. Creational Design Patterns Instead, it is a description or template for how to solve a problem that can be used in many different situations. Use the FactoryProducer to get ...

Norway Cruises: In the land of Fjords & Northern Lights Hurtigruten

Image
Table Of Content The Spitsbergen Adventurer Sundays to Fridays Bahia Solano Town Walk Are you ready to explore? The Original Coastal Express Hurtigruten Don't just visit Norway. Live it. Cruises to South America Take a walk around the cobblestone streets of the old town and tour the lively port. You can also head up to the old watchtower at Varden viewpoint for a lovely panorama. Then, walk to Gamle Bybro bridge for a photo opportunity over Nid River. We arrive in Harstad, where you can join the excursion, A taste of Vesterålen. On the southern-most tip of the planet rests one of the world's most massive and mysterious landmasses - the frozen realm of Antarctica. The Spitsbergen Adventurer Sundays to Fridays With world-famous fjords galore and a seemingly never-ending coastline to explore, it's no surprise that cruises in Norway are a top choice for foreign tourists wanting to visit the country. As I stand on the aft deck of the MS Nordnorge, the salty...

Hurtigruten AU: Norwegian Fjords & Northern Lights Cruises

Image
Table Of Content Rich History and Living Culture Nuuk, Greenland's capital Day Norwegian Voyage: Northbound Bergen to Svolvær The North Cape Express: Full Voyage Bergen to Oslo Learn more about the Northern Lights Docking again at Vardø, we may invite you to swim in the icy Arctic Ocean in winter. We then cruise along Varanger peninsula to Båtsfjord and Berlevåg, home to a famous male choir of local fishermen. In winter, you can join an unforgettable snowmobile trip across snowy plains and perhaps spot the Northern Lights in the starry sky. Rich History and Living Culture Handpicked experts from a range of backgrounds, you'll soon discover their passion and energy for Antarctica is infectious. They'll lead you on adventures off the ship, deliver fascinating lectures, unlock nature's wonders in the Science Center, and perhaps even entertain you along the way. On your cruise to Antarctica, the Expedition Team will be your companions in adventure. Hear the beaut...