Shine with Gleam
Rocky Jaiswal, with 22 years of programming experience, praises the Gleam language for its functional programming features, simplicity, and efficiency, despite some challenges in handling nested results.
Read original articleRocky Jaiswal reflects on his extensive programming experience and shares his enthusiasm for the Gleam programming language, which he believes aligns with his preferences for functional programming. He emphasizes the importance of separating code and data, advocating for a functional style that utilizes immutable data and small, composable functions. Jaiswal critiques object-oriented programming for its complexity and difficulty in debugging, preferring a clear and confident approach to coding. He outlines his ideal programming environment, which includes support for structured concurrency, strong type systems, and effective testing tools. Jaiswal appreciates Gleam for its simplicity, built-in features, and ability to handle tasks like file parsing and HTTP requests efficiently. He demonstrates this through a project that identifies the hottest city from a list by leveraging Gleam's functional capabilities. Despite some challenges, such as handling nested results, he finds the language expressive and readable. Jaiswal acknowledges that while Gleam is not without its imperfections, it offers a promising avenue for exploring functional programming in a modern context.
- Rocky Jaiswal has 22 years of programming experience and enjoys exploring new tools and languages.
- He prefers functional programming over object-oriented programming for its clarity and ease of debugging.
- Jaiswal finds Gleam to be a suitable language that meets many of his programming preferences.
- He demonstrates Gleam's capabilities through a project that processes city temperature data.
- Despite some challenges, he views Gleam as a promising language for future exploration.
Related
I Probably Hate Writing Code in Your Favorite Language
The author critiques popular programming languages like Python and Java, favoring Elixir and Haskell for immutability and functional programming benefits. They emphasize personal language preferences for hobby projects, not sparking conflict.
Gleam v1.3.0 – Auto-imports and tolerant expressions
Gleam v1.3.0 update includes auto-imports, tolerant expressions, enhanced completions, import cycles diagnostics, syntax warnings, arithmetic support, and JavaScript bundler hints. Contributors improved functionality and user experience significantly.
Enhancing Your Elixir Codebase with Gleam
Gleam is a statically typed language for the BEAM platform, enabling type safety in Elixir projects. The article details integrating Gleam for managing student enrollments, emphasizing testing and robustness.
First impressions of Gleam: lots of joys and some rough edges
Gleam is a functional programming language for BEAM and JavaScript, offering strong documentation, a supportive community, and effective pattern matching, but lacks traditional loops and can produce confusing type alias errors.
The basics for a fullstack SPA in Gleam
Gleam is a functional programming language with a C-style syntax. It uses the Lustre framework for frontend development, emphasizing immutable data structures and message dispatching for state management and routing.
I use it in Vue components with Vleam[1]. About half of the frontend is rewritten at the moment, and it is a joy to use.
I'd do it again just for the error handling.
In Gleam, this is called `result.try`[1]
The experience is alright now but it has to get better to go mainstream (if that's even desired). If I had time I'd love to contribute.
> Black lives matter. Trans rights are human rights. No nazi bullsh*t.
I agree, but I do not agree with painting people that disagree as 'Nazi'.
*edit: that quote was from the Gleam website, not the website linked.
Related
I Probably Hate Writing Code in Your Favorite Language
The author critiques popular programming languages like Python and Java, favoring Elixir and Haskell for immutability and functional programming benefits. They emphasize personal language preferences for hobby projects, not sparking conflict.
Gleam v1.3.0 – Auto-imports and tolerant expressions
Gleam v1.3.0 update includes auto-imports, tolerant expressions, enhanced completions, import cycles diagnostics, syntax warnings, arithmetic support, and JavaScript bundler hints. Contributors improved functionality and user experience significantly.
Enhancing Your Elixir Codebase with Gleam
Gleam is a statically typed language for the BEAM platform, enabling type safety in Elixir projects. The article details integrating Gleam for managing student enrollments, emphasizing testing and robustness.
First impressions of Gleam: lots of joys and some rough edges
Gleam is a functional programming language for BEAM and JavaScript, offering strong documentation, a supportive community, and effective pattern matching, but lacks traditional loops and can produce confusing type alias errors.
The basics for a fullstack SPA in Gleam
Gleam is a functional programming language with a C-style syntax. It uses the Lustre framework for frontend development, emphasizing immutable data structures and message dispatching for state management and routing.