Subj : Re: Menushell.js To : Nightfox From : Tracker1 Date : Mon Aug 24 2020 02:54 pm On 8/23/2020 5:35 PM, Nightfox wrote: > > I find JS easier than Baja.. And some things in JS actually require fewer lines of code than Baja - For instance, you don't need an "end_cmd" type of thing in JS. You can use curly braces in JS, but if there's just one line of code in the block, you don't need curly braces.. But I suppose I naturally find JavaScript easier since I was already a software developer. > > Also I've found that text parsing (and sometimes text splicing) is something I've had to do fairly often with my Synchronet mods. For instance, reading a configuration file and parsing the settings into variables to be used in the JS script. JS has things that make it really easy to work with strings, such as regular expressions (for text matching), and it's fairly easy to do string searches, splitting, etc. with JS. I'm not sure how easy that kind of thing would be in Baja. It's been a long time since I've done Baja, so I may have forgotten. I think about the only Baja I ever did was to work around missing pieces of the JS api really early on or to load my JS shell. I've been doing JS since the mid-90's so when I put my bbs up in early 2002, JS was just a natural thing for me. Of course now, I would do things a bit differently than I did at the time and the Sync API for JS is much more flushed out than the early 2000's. I've been pretty happy with most of it, though these days I'm more inclined to bypass sync's web server to host the web portion... and I've also been following Enigma with a lot of interrest. -- Michael J. Ryan tracker1 +o Roughneck BBS --- þ Synchronet þ Roughneck BBS - coming back 2/2/20 .