~ Code Crafters Cafe ~ (snac.bsd.cafe)
from modev@snac.bsd.cafe to programming@programming.dev on 02 Oct 2024 09:11
https://snac.bsd.cafe/modev/p/1727860269.058879

~ Code Crafters Cafe ~

Hello everyone. You know me from two scandalous topics: It’s time to return to the roots, to the C programming language and Why is C hidden gold.

I have got enough answers and a predictable assessment. You might have thought that I was some old man from the past or an inadequate newbie who did not understand what he was saying. Some supported me. These topics were clearly fanatical. It’s true. In fact, I am not for fanaticism. I am for restoring the true goals of programming as an art.

I created my “cafe” even before this, first in irc, then in the matrix. This is a place for people who perceive programming as creativity, art, handmade, crafting. Here we are not tied to C or other languages. If you are a Rust programmer and do not want to rewrite the whole world in Rust, you are welcome. If you are a JavaScript programmer and do not think that you need to learn TypeScript instead of JavaScript (because it is unsafe) and that everything should be written in Angular and React, you are welcome. You are tired of writing SaaS garbage, you are welcome. Whether you are a CSS artist, or just a creator, you are welcome. No idols, fanaticism, or heroes.

A cozy place where you can share a common vision and feeling with like-minded people. The only rule is to be human and respectful.

Official description: ~ A cozy place in the jungle of the techno world for all programmers who like to create high-quality and effective code from scratch with their own hands. Hobbyists, professionals, beginners, and just curious about how things really work. Handmade, free and open-source software written with a love for engineering and deep knowledge is code crafting. ~

Welcome to our campfire:

irc: irc://irc.libera.chat/[#codecrafters](https://sna…
matrix: https://matrix.to/#/#codecrafters:bsd.cafe

@programming@programming.dev
@technology@lemmy.world

#codecrafters #programming

threaded - newest

pelya@lemmy.world on 02 Oct 2024 09:46 next collapse

<img alt="K" src="https://lemmy.world/pictrs/image/d1679798-fb1b-483f-b551-9ddca29df575.jpeg">

zirias@snac.bsd.cafe on 02 Oct 2024 17:43 next collapse

Side note, it's not so much React, Angular, Vue or whatever that sucks, it's the concept behind: #SPA. Or, more precisely, that concept used not in a niche where it belongs, but for every damn web site, or classic form-based web app. I remember getting into some very weird arguments with "frontend devs" over a simple demo class I wrote in vanilla JS to "enhance" a standard browser control (so, it still worked without a script). This class was pretty short and clean. Still they insisted it would be "hard" to program like that. It seems they can't do the simplest things any more without the help of their massive shitloads of "frameworks". And then, everything is a stupid SPA in the end, completely breaking the logical design of the web.

Ok, back to admiring the pure elegance of #C, sorry 😂

CC: @programming@programming.dev @technology@lemmy.world

modev@snac.bsd.cafe on 02 Oct 2024 18:27 collapse

SPA can be good and fast written in vanilla JS. Modern standard has all necessary features, from promises to private fields.

zirias@snac.bsd.cafe on 03 Oct 2024 05:32 collapse

Sure, that's yet another aspect. #Javascript (#ECMAscript to be precise) evolved a lot. Where we came from was a very limited standard and browsers doing their own incompatible thing, also adding "random" bugs, which btw triggered development of #jQuery, back then an extremely helpful thing, nowadays more or less obsolete. I'm sure writing a well-working #SPA with nothing but vanilla JS is perfectly possible these days, it just requires some planning and design, you'd probably end up with a (minimal and tailored to your needs) "framework" as part of your project. But from my experience, most "frontend devs" are indoctrinated into a strong belief you absolutely need super-fat frameworks for everything.

What I was talking about is that these you mentioned (React, Angular) are designed with nothing but SPA in mind. So, everything will end up being an SPA, which just makes no sense for 95% of "web apps". There's a nice set of architecture guidelines for web apps called #ROCA, which is in line with the initial design of #http and the web in general: https://roca-style.org/ -- and then, you decided in your organization to follow that, you have the need for some enhanced UI components in JS, and these frontend guys basically keep telling you "we need our awesome framework here". Oh boy. 🤦

In the end, I see the resident set of my local browser and have no questions left...

ExperimentalGuy@programming.dev on 02 Oct 2024 21:25 next collapse

I love you so much. Never change

Dayroom7485@lemmy.world on 02 Oct 2024 21:55 collapse

Ya I dig it, too. Good stuff.

realharo@lemm.ee on 03 Oct 2024 06:47 next collapse

The vibe reminds me of youtu.be/Jml7NVYm8cs

AsudoxDev@programming.dev on 08 Oct 2024 05:20 collapse

Oh lol, the copypasta I posted.

modev@snac.bsd.cafe on 08 Oct 2024 07:16 collapse

Yes, I love it.