this post was submitted on 07 Mar 2024
782 points (94.9% liked)

Programmer Humor

32042 readers
1108 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Potatos_are_not_friends 2 points 6 months ago

Alright how do I make my code into something with an UI? How do I turn it into an executable? How do I turn these lines into SOMETHING?

Great questions!

Ui: you want to explore web development. Learn about how to build forms. Understand html, css, and JavaScript. Probably Jr level work, depending on if you don't care how ugly it is.

If you were asking me to do it, I'd use a js framework like react or vue, use a form library, and have the output generate into a PDF. Probably mid-level skillset, mostly because of all the abstractions Ive added. But I have that experience and it would be faster (for me).

Executable: if you did go the web dev route, you're now looking into using electron.

If you were asking me to do it, I'd ask why? Is a web app not functional? With a few short lines, you can make it offline.

My immediate thinking before you said UI was to build it in Python or Node, and just have it be some command line app. Have it generate the foundation, and then output a basic template writeable PDF. It's quick and dirty, but good enough for my tastes.

How to turn lines into something: if you're going web dev, look into free code camp. I like web dev for beginners because you don't need to think about setting up a coding environment. There's codepen, repl.it, various code sandboxes where you literally can just start writing.

But at the next level, you'll then go into a IDE. All the cool kids use VSCode, and in companies, you might use something else like jetbrains. The old dudes will flex on you with vim or say something ridiculous like "Oh I only use notepad" but who gives af. Getting code to work is more important imo.

Happy coding!