#programmingstyle — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #programmingstyle, aggregated by home.social.
-
An inpiring piece of reflection on designing and problem-solving,
relevant well beyond programming. Wisdom is to know how to balance the generic and the specific!I've bookmarked your blog post for regular repeat reading!
-
#itch_io #lisp #exploratoryProgramming #programmingStyle #clim #programming
I wrote a small post describing the vibe of a particularly plain 18 minutes of programming I happened to do.It's informative in that it's not an example of successfully showing off, but still conveys a different feeling to bland programming advice.
First quarter hour of a graphical+text adventure world (stroke moo fake moo client)
https://lispy-gopher-show.itch.io/moonclimb/devlog/782698/exploratory-programming
-
Vim is so intuitive and convenient
I just typed `:imap dirs $partial_content.directories` and it worked exactly as expected.
And removing the mapping is just as easy: `:iunmap dirs`.I wonder if Vim isn't just the thing joining one letter short, fast to type variable names with meaningful variable names :)
-
I don't care about doing stuff the right way.
I do it in an effective way that works.
For example: I have a function that recursively copies a small tree, built on the stack with pointers to rodata, each node has a name assigned to it.
How do I make the nodes from one tree have different names to those of the nodes from the other tree?
Simple. -
I'm starting to insert comments into my #HTTPclient redo to remember the meanings of variables.
I know the variable names should speak for themselves, but they don't... as usual :blobcatnotlikethis: :blobcatshrug: