Post Atpi6FTNqpxUUtFM1o by john@sauropods.win
(DIR) More posts by john@sauropods.win
(DIR) Post #Atpi6FTNqpxUUtFM1o by john@sauropods.win
2025-05-06T23:52:43Z
0 likes, 1 repeats
Programming languages, I've tried a few. PHP, Javascript, Python, Nim, Rust (briefly), and Go. I've variously thought they are too yucky, warty, ugly, complex, or just plain too hard for me. I've never found my fit.I'm starting to think that #Lua might be what I've been looking for... crazy?
(DIR) Post #Atpj7SBq9fWiBMBBHE by john@sauropods.win
2025-05-07T00:04:07Z
0 likes, 0 repeats
@SnoopJ The simplicity is a huge bonus for me. I'm finding that I can read other people's code! With with Python and more so Javascript, there's always lines where I'm like WTF did you just do there? Is that even valid syntax?I think Go has a somewhat similar simplicity, but its much noisier because of typing and syntax.
(DIR) Post #AtpjN7QH8P1aPJOv5M by john@sauropods.win
2025-05-07T00:06:58Z
0 likes, 0 repeats
@SnoopJ Oh, that looks cool.
(DIR) Post #Atpl3CZySA2gW4ZHbU by SpaceLifeForm@infosec.exchange
2025-05-07T00:25:46Z
0 likes, 0 repeats
@john You are not crazy. Learn C.#Coding
(DIR) Post #Atpvj6TAYgf1Gt0JV2 by ZippyWonderdust@mastodon.social
2025-05-07T02:25:22Z
0 likes, 0 repeats
@john I’ve been coding since the 80s and have been exposed to more programming languages and paradigms than I can easily count (most of which are now either relict or completely extinct). Lua is by far my favourite language to hack in. Other languages are often a better fit for a particular problem space, but Lua is just so darned *comfortable* to think in that it is almost always my first choice tool when I’m being creative and trying to feel out the shape of a new idea.
(DIR) Post #AtpwhsFI3aREozUQzo by john@sauropods.win
2025-05-07T02:36:22Z
0 likes, 0 repeats
@rhempel Yeah, that is really neat.
(DIR) Post #Atpwyx4xL8PYjbndPk by john@sauropods.win
2025-05-07T02:39:28Z
0 likes, 0 repeats
@ZippyWonderdust Good to know. I’m not after optimisation, just a language I can understand and use easily for various things.
(DIR) Post #Atpx3UdOWVvLxn4bbc by john@sauropods.win
2025-05-07T02:40:18Z
0 likes, 0 repeats
@SpaceLifeForm You monster!
(DIR) Post #AtpxhjyEvI5F6x0yzQ by allenbrunson@mastodon.world
2025-05-07T02:47:31Z
0 likes, 0 repeats
@john i have also tried many different languages over the course of decades. for the moment, i have settled on dart. it is simple, pragmatic, and runs on absolutely everything (macos, windows, linux, etc). originally i needed to learn it for flutter development, but i have since come to love dart a lot more than flutter. so much so that i ditched python as my automation language, and rewrote everything in dart.https://dart.dev/language
(DIR) Post #Atq2qk5WM5eJquX4DI by john@sauropods.win
2025-05-07T03:45:13Z
0 likes, 0 repeats
@allenbrunson I considered Dart, but confess I didn’t quite get what it would get me over, say, python. Plus it has curly braces, and I am a shallow, shallow man.
(DIR) Post #Atq3oyv2LLXDDzLvv6 by allenbrunson@mastodon.world
2025-05-07T03:56:05Z
0 likes, 0 repeats
@john i can tell you what dart got me over python: dependency management! the bigger my python apps got, the more trouble it was to connect the various packages together. you need to write so much boilerplate, which is constantly changing. dart makes this a non-issue, if you do things the way they want you to.
(DIR) Post #AtqZwYvo2scJTXN5A8 by albi@f.cz
2025-05-07T09:55:56Z
0 likes, 0 repeats
@johnsame here, Nim is great for most things, but Lua is so beautifully minimalist, plus there is Pico8/Picotron
(DIR) Post #AtqyLXtPRSzOOShDKC by alerque@mastodon.social
2025-05-07T14:29:25Z
0 likes, 0 repeats
@john No that's not crazy, but depending on the nature of your projects I would look into #Teal and #Luau to get some degree of type checking over plain #Lua.
(DIR) Post #Aty87aIy2HXHT8LrHM by profoundlynerdy@bitbang.social
2025-05-11T01:21:57Z
0 likes, 0 repeats
@john I might also suggest a look at Forth. It's ruthlessly simple, barely having a syntax, and everything is in reverse Polish notation. It's not most people's cup of tea, but I find it fascinating.