3 ms·
> If you code using a VB6 style subset of your language you'll probably end up with spaghetti Unless I'm remembering incorrectly I'd say the opposite, vb6 had
by flukus 9y ago
> If you code using a VB6 style subset of your language you'll probably end up with spaghetti
Unless I'm remembering incorrectly I'd say the opposite, vb6 had a pretty sane feature set comparable to "modern" languages like go and rust. Coding with that feature set will give you simple and understandable code, if a little verbose at times.
The spaghetti code it's famous for was mostly a result of the event driven, drag and drop nature of the IDE and community. If you want real spaghetti code then try vb.net which suffers from the same problem but allows devs to pile on a bunch of OO features that obscure what code is doing.
- quickthrower2 9y agoI disagree. I think OO can make things a lot simpler. But the fact that I disagree is just an example that there is no one 'correct' style, it depends on taste and the team should decide based on their needs.
- majewsky 9y ago> vb6 had a pretty sane feature set comparable to "modern" languages like go What's not sane about Go's feature set? (Except for its debatable omissions.)
- juki 9y agoI think you misread that. They said "comparable to" (equally sane), not "compared to".