Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosfreeCodeCamp.org: TimescaleDB Course – PostgreSQL for Time-Series Data(23.09.2026 um 12:30 Uhr)
Windows Tipps & SecurityAndroid 17: Rollout auf Samsung-Galaxy-Smartphones verzögert sich(23.09.2026 um 11:42 Uhr)
Unix & Linux ServerUSN-8733-2: Gzip vulnerabilities(22.09.2026 um 18:04 Uhr)
Sichere ProgrammierungHow to Build Custom PowerPoint Add-Ins for Enterprise Teams(23.09.2026 um 11:25 Uhr)
Sichere ProgrammierungSearch Google Jobs in Real-Time with Go and SerpApi 🚀(23.09.2026 um 12:13 Uhr)
Sichere ProgrammierungA Psychological State is a Coefficient Vector(23.09.2026 um 12:16 Uhr)
YouTube Security VideosfreeCodeCamp.org: TimescaleDB Course – PostgreSQL for Time-Series Data(23.09.2026 um 12:30 Uhr)
Windows Tipps & SecurityAndroid 17: Rollout auf Samsung-Galaxy-Smartphones verzögert sich(23.09.2026 um 11:42 Uhr)
Unix & Linux ServerUSN-8733-2: Gzip vulnerabilities(22.09.2026 um 18:04 Uhr)
Sichere ProgrammierungHow to Build Custom PowerPoint Add-Ins for Enterprise Teams(23.09.2026 um 11:25 Uhr)
Sichere ProgrammierungSearch Google Jobs in Real-Time with Go and SerpApi 🚀(23.09.2026 um 12:13 Uhr)
Sichere ProgrammierungA Psychological State is a Coefficient Vector(23.09.2026 um 12:16 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

First UI Story in Angular as a Functional Dev

After 11 months, I got my 1st UI story. I've been doing Back-End for the Front-End stories since we're a platform team, so 100% of the code you never visually see in the UI, but they affect how it works, so the Acceptance Tests in Cypress…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

After 11 months, I got my 1st UI story. I've been doing Back-End for the Front-End stories since we're a platform team, so 100% of the code you never visually see in the UI, but they affect how it works, so the Acceptance Tests in Cypress still have to pass.



Anyone who says "Angular's nice because it has a prescribed way of doing things" hasn't been on more than 1 Angular project. I can confidently say this is the 3rd I've seen in 8 years, and it's extremely different than every other Angular 2+ project I've seen. Even Angular itself has multiple ways to do things nowadays, and surprisingly, the testing is the most varied. The documentation on testing has not kept up with the reality of how much the Jest style of "mutate the object directly, with type safety". The Java-esque expectation style with manual steps required to test HTTP is now thankfully not used by most that I've seen.



One thing I've noticed in creating my 1st component in years is it only requires 1 class method; ngOnInit. The rest can just be functions. There is no need for the OOP nonsense that was never really agreed up on regarding "should this be a method, static method, getter, setter, base class override, or abstact base class override". Now it's just "function" to answer all questions where your code goes. If you need state, the class is right there and the functions can just use manual dependency injection if they need access to that state.



I remember the concern with Angular not keeping up with the industry moving away from classes as a core architectural building block. Web Components / Lit are the only ones I've seen embrace this, but they don't have a choice because that's in the spec for how they work, and "extending HTMLElement" is basically here for as long as the internet exists.



Either way, that concern is negated after getting my hands dirty. It feels pointless using a class now, like Scala/OCAML/F# devs using class in a language that is soundly FP and have zero state in them. Beyond that, I can code Angular like I'd code any other framework; mainly pure functions, 1 or 2 with state; test first with unit tests validating where the types leave off, and Acceptance Tests to ensure all the side effects do what they're supposed to do.



The RxJS return types are about as intelligible as React's component types; meaning "I can't read them", BUT as long as you recognize the return value from switchMap and map are different once you start piping things, it feels very much like a Promise.then chain. You end up code that is extremely co-located, and a lot less of it; something that always drove me nuts with class based code: more of it, and spread out, and way too easy no to co-locate things.



I'm not going to admit I'm enjoying it, but I will say it's amazing how much a strong testing culture + strong types + convention of immutability (don't mutate things) can make a huge positive impact on developer happiness regardless of language/framework/implementation details.



The Mocks vs. Stub debate is a whole other rant entirely, but even with that unsolved, like I said, I'm extremely surprised how productive I can be in something that feels extremely dated. If there is 1 thing I learned from getting into motorcycles 2 years ago, it's that what one person views as old/dated technology is "perfect" for someone else. It's just disappointing you often don't get a choice on which tech to use in your career as often as you want.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten First UI Story in Angular as a Functional Dev

Thematisch verwandte Begriffe: First, Story, Angular, Functional · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96258 | A vulnerability has been found in onSite internet GmbH Auktion NG Auktio…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick