Ok, it was easier to find modern programming practices for bash than for -...

@mistersql

Ok, it was easier to find modern programming practices for bash than for - maybe it is more fun with the paid versions of COBOL.

- lint? compiler warnings
- unit tests? Sort of? Couldn't get 'em to work
- package management? where?
- "awesome cobol" directory? more like awesome 404s

github.com/matthewdeanmartin/i

Self-replies

Now for the same app in

- it is so fast
- syntax is nice
- format, lint, docs are built in
- modules and packages ... they still don't click with my brain
- can implement a richer game for the same effort than cobol or bash (and I'm not even writing the code here)

github.com/matthewdeanmartin/i

And now for !

<insert I don't know I'm doing dog here>

I'm convinced I didn't set up a venv correctly and I just installed all the dependencies to the system ruby interpreter.

Everything else was easy and modern feeling.

github.com/matthewdeanmartin/i

And now for cpp (pain!) using (nice) and cmake (pain!)

C++ is the COBOL of 2024.
- unpleasant
- still relevant because of legacy code bases
- would be laughed off the stage if introduced today

I couldn't figure out how to run cmake from the terminal. I think I'd have to write a CMakeCache.txt by hand (that finds the toolchain) and not clear it works with git-bash.

github.com/matthewdeanmartin/i

Alright, moving along & being more careful about how I tag my posts (It appears a tag means, "I want to fight with strangers, anything critical is actually an insult to you & your ancestors")

**Vanilla Javascript! **
- It is less painful than it was in 2013. Sort of. Took a few tries to get modules right.
- Packaging *a website* is still adhoc
- jest with JS made me miss TypeScript because mocking seemed to just work with TS, but not for vanilla js modules
- live demo!

github.com/matthewdeanmartin/i

We're up to Angular! The build script is not done, but no one is paying me to finish it,

- Typescript is good. The Vanilla JS people are wrong.
- Bots have a hard time with Angular because it is fundamentally LOTS of pages.
- Feels like the componentization is a lie. All the parts need to know about each other.
- Uh, it is snappy.
- Helps pay the rent and mortgage for people on my team

github.com/matthewdeanmartin/i

Now for

- batteries included (format, lint, package mgmt)
- bot needed two tries get borrowing & ownership right
- wait, what, already done?

Unlike a certain other language/build system I won't mention because they'll hound me in the comments...

Rust doesn't feel like you are getting continually punched in the face by a developer that hates you.

After this experiment, 95% of my native coding effort is going into rust & go. (not c/c++). Devex matters, huh.

github.com/matthewdeanmartin/i