---
title: "Suhku Huh (@clue) | Hashnode"
description: "hobbyist programmer interested in scala, functional programming. Read the latest articles by Suhku Huh on Hashnode."
url: "https://hashnode.com/@clue"
---

@clue

# Suhku Huh

@clue · Joined December 2022

hobbyist programmer interested in scala, functional programming

### [Conditional class in Phoenix Component](https://clue.hashnode.dev/conditional-class-in-phoenix-component?utm_source=hashnode&utm_medium=feed)

phoenix의 component를 작성하다보면 for, if 문을 사용하는 경우가 많은데 tag 뒤에 :for, :if 를 사용해서 간단하게 줄일 수 있다. tailwind css를 사용한 class도 경우에 따라 추가적인 class를 주고 싶을 때가 있는데 core\_component.ex를 살펴보다 class에 list를 줄 수 있다는 것, 그리고 list 내부에 false인 경우 무시된다는 것을 알게 되었다. 위에서 말한 두가지 요소를 합...

1 min read · [clue.hashnode.dev](https://clue.hashnode.dev/conditional-class-in-phoenix-component?utm_source=hashnode&utm_medium=feed)

[Apr 19, 2023](https://hashnode.com/posts/conditional-class-in-phoenix-component/643f9bbaa555a0540e78708f)

### [Primes in Scala and Elixir](https://clue.hashnode.dev/primes-in-scala-and-elixir?utm_source=hashnode&utm_medium=feed)

I've learned and used scala for years and quite like it. But it is quite painful when you want to make a web server, all in scala. There are http4s and scalajs-react but you have to make everything including sessions, authentication, etc. Elixir, pho...

1 min read · [clue.hashnode.dev](https://clue.hashnode.dev/primes-in-scala-and-elixir?utm_source=hashnode&utm_medium=feed)

[Jan 13, 2023](https://hashnode.com/posts/primes-in-scala-and-elixir/63c0fa0bc0405ff8dd38f3c5)

### [Elixir 설치](https://clue.hashnode.dev/installelixir?utm_source=hashnode&utm_medium=feed)

간만에 들어가본 twitter에서 elixir 언어를 배워보라는 포스팅을 보았다. Erlang 기반으로 만들어진 함수형 언어에 Phoenix라는 웹 프레임워크를 가지고 Livebook이라는 jupyter notebook 같은 툴까지 제공한다니 관심이 간다. 예전 ruby on rails의 blog 데모같이 15분에 twitter clone을 만드는 데모도 있고 livebook anounce에서는 간단한 machine learning까지 선보이니...

1 min read · [clue.hashnode.dev](https://clue.hashnode.dev/installelixir?utm_source=hashnode&utm_medium=feed)

[Dec 28, 2022](https://hashnode.com/posts/installelixir/63abe1b5bc5e2bab7c93c1e8)
