"It scares me because it's big" is a nice new line of reasoning, even though it's a more subjective one.
Is it a really a new line of reasoning to choose less code?
It's a new reason
to me in terms of choosing one API client over another.
(In general terms, no, it's not new... It's common for small libraries to gain more traction - one way I've heard it being called is "
the puppy syndrome" - users choose a small library, and start wanting more out of it; I've merely skipped the puppy phase, because I think I'm able to handle the monster
)
I also despise OO code. I must be unique!
Maybe not unique, but you're certainly "rare". Most people either love it, or don't care either way. Despising it is rare.
Not sure why Mikrotik have made charset conversion an issue. I assume they don't use something sane like UTF8?
In fairness, it's a Winbox issue, not so much a RouterOS issue. Winbox uses the windows ANSI charset, while the API gets the raw data, and RouterOS has no problem storing data in any charset.
So yeah, MikroTik
could fix it, except that doing so will mean they also have to introduce handling for invalid UTF-8 characters in Winbox - handling that would inevitably make any non-latin users furious that their carefully crafted names and comments are now shown as "???".
In an ideal world I wish I could just fetch some JSON from 192.168.88.1.
And push some JSON to 192.168.88.1 when you want to write? "In an ideal world", sure.
Poor design.
I'm sad to say the same can be said about most aspects of RouterOS scripting and API. I've been pointing out just some of the most annoying ones to support, and the response has generally been "Thanks, we'll fix it... eventually... maybe...", and in rarer cases, it's been "We won't do it in this way, or otherwise address this scenario, because [insert nonsensical reasoning]".
So you're just saying you think of it as the lesser of two evils. Got it
.
Thank you for sharing that.
I'm starting to think other times when I haven't gotten ANY answer to that question has been more or less THIS, but people thought they'd be insulting me or something if they tell me... But no, I feel relief for knowing, not anger or sadness. I can now start to think about how I can make things better. I can't really reduce my API client's size without sacrificing useful features, but if I can make it
feel less scary, that would be equally good I think.