Home > Backend Development > Golang > From R to Go!

From R to Go!

WBOY
Release: 2024-08-31 06:31:02
Original
539 people have browsed it

From R to Go!

Why?

I know, I know, if it works, why change it? Well, it's getting... ugly. It feels outdated and bland. It's also been almost a year since I last wrote anything for it. I have since ventured into game, web, software and embedded programming and I still don't know which I enjoy more. I'm starting to think I simply enjoy programming. Maybe it's the challenge of solving different problems in different ways.

For clarity, the above last line can be read as "... solving a variety of problems with whatever language sounds like fun to write it in."

But... why?

Didn't answer the question the first time, huh? Well, R is great when doing Data Analysis, but what happens when you start venturing into other programming paths that tickle your fancy?

Using Hugo and Blogdown works really well if you're going to be showing charts (images in general, really) as you can set their dimensions within the code blocks.

{out.width=<width> out.height=<height>}
Copy after login

I don't recall vanilla markdown supporting that.

So, for the sake of compatibility and future proofing (for a while anyway), I'm re-writing it using Go/HTMX/Templ for the front and back ends. I haven't decided on a database, yet, or paying for hosting versus rolling my own (which also sounds like a fun project) so my stack isn't complete.

So, why again?

I find using markdown as the main file type to be a hassle. Especially when you're using Rmd for notes and it has to be converted to md before being converted to html to be served. I don't need that many layers.

Not having that many conversions also means that I save on storage space. Being able to divide the site more easily is what I'm really after. I don't want to have to keep track of _index.md versus index.md depending on where in the program structure I am (another future project idea).

Oh, well when you put it that way...

Yeah, it's going to be a long journey. Yeah, it's going to be painful sometimes, but I think it'll be fun... for now.

Well, that's part 1/∞, time to get the show on the road.

The above is the detailed content of From R to Go!. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template