#Good first simple project?

1 messages · Page 1 of 1 (latest)

vivid sandal
#

Hi all. I am completely new to Gleam and I like learn by doing.
If I understand correctly it's impossible (non trivial?) to create a terminal app due to how BEAM works.
What are some other good options for a first gleam program?

slender frost
#

you can make Terminal apps in gleam

#

this guide for making a small cli tool

sacred jolt
#

If you want to make a CLI program then make a CLI program! 🙂

vivid sandal
#

Thanks for a link! I meant something that would take user input. Couldn't find anything like readline in the io module 😦

slender frost
sacred jolt
sacred jolt
vivid sandal
#

Leaving TUIs on the side, what are some good options to start with in general?

slender frost
#

if you want to do frontend

sacred jolt
#

The best thing to make is something you find interesting!

#

Something that solves a problem for you, or is related to something you enjoy

slender frost
#

yes you wanted to learn gleam to be able to build x

if x is a huge project try making the small bits of it

vivid sandal
#

re: my previous note about OTP, I think I meant BEAM, sorry for confusion 😄

slender frost
#

Oh

#

The beam will get a new update that will add keyboard api so it will be easier to make cli tools

vivid sandal
#

To be honest I was thinking about this TUI app a long time ago... Looked into Go, but didn't like the types system there and gave up. Then later on discovered Gleam and loved the type system. And now I'm here 😅

slender frost
#
vivid sandal
slender frost
slender frost
random flint
#

JS target is pretty good for cli and you can even compile to a binary using node/bun/deno

slender frost
vivid sandal
sacred jolt
#

Once OTP28 is here I think we will have our own version of that