Elixir,Technologie

IEx ist fantastisch!

Elixir’s interactive shell, known as IEx, is a powerful tool that allows Elixir developers to quickly test and evaluate code snippets, define and test functions, and interact with their Elixir applications in real time.

Here are a few reasons why Elixir’s interactive shell is awesome:

  • IEx provides a convenient way to test code snippets and functions without having to create a separate file and run it with the Elixir interpreter. This saves time and allows developers to easily experiment with different code constructs and see the results in real time.

				
					iex(1)> "Hello" <> " world!"
"Hello world!"
				
			
  • IEx also allows developers to easily inspect and manipulate the state of their Elixir applications. For example, developers can use IEx to inspect the current process dictionary, view the content of registered GenServers, and even call functions on them to see how they behave.
				
					iex(1)> Companies.get_company_by_email("contact@inspired.consulting")
%Company{
  email: "contact@inspired.consulting",
  website: "https://inspired.consulting/"
  address: "Konrad-Adenauer-Ufer 7, 50668 Köln, Germany"
}
				
			
  • Hot-swapping is a game-changing advantage of Elixir, and IEx is the perfect tool to harness this power. With hot-swapping, you can modify your code on-the-fly, even in a live production environment, without the need to shut down the entire system. IEx allows you to redefine modules, and deploy bug fixes without causing downtime. This feature is a tremendous asset for maintaining a responsive and reliable system, especially in scenarios where continuous uptime is crucial.

Elixir’s interactive shell, IEx, is an indispensable asset for any Elixir developer. With its seamless code testing, real-time state inspection, and hot-swapping feature, IEx elevates the development experience.

Links

Elixir Official Website

Weitere Artikel

Pressemeldungen

Inspired auf der Eplan Next26

Tandem-Vortrag mit EPLAN zu Datenmanagement im Engineering und Einblicke in den Squid Data Hub.

Weiterlesen →
Pressemeldungen

Inspired Consulting präsentiert Squid Data Hub – Plattform für technisches Datenmanagement

Inspired Consulting stellt Squid Data Hub vor – die Software für strukturiertes Engineering-Datenmanagement.

Weiterlesen →
ProduktentwicklungTechnologie

Vom Pixel zum Produkt – Warum das Design-Handover nicht das Ende ist

Die Übergabe an die Entwicklung ist kein Abschluss, sondern der Startschuss. In diesem Artikel zeige ich, warum Design nach dem Handover weiterlebt – und wie enge Zusammenarbeit mit Devs für bessere Ergebnisse sorgt. Vom ersten Pixel bis zum letzten Commit.

Weiterlesen →
Corporate & Life@Inspired

Nor-Shipping 2025: Erste Live-Einblicke in den Squid Data Hub

Vorstellung des Squid Data Hub auf der Nor-Shipping 2025: Technische Daten besser strukturieren, verknüpfen und im Team nutzbar machen.

Weiterlesen →
Technologie

Spring Boot and Phoenix – Different Strengths, One Purpose

Learn how to write tests in your documentation, keep them in sync, and streamline your workflow. Simplify code testing with Elixir Doctests!

Weiterlesen →
Pressemeldungen

Inspired Consulting wird offizieller Eplan Technology Partner

Inspired Consulting ist seit Januar 2025 offizieller Technologiepartner im Eplan Partner Network. Mit der Einführung des webbasierten Engineering Data Hub stärkt das Unternehmen seine Position als Entwickler integrierter Softwarelösungen für die maritime Industrie und Elektrotechnik – mit Fokus auf Effizienz, Integration und Datenkonsistenz.

Weiterlesen →