Jiwa 8  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Re: Jiwa 8

Postby SBarnes » Mon Aug 11, 2025 1:36 pm

Given it appears that the c# compiler seems stronger on type checking than vb I would choose c# everytime for that reason alone as I would prefer not finding errors at runtime.

It would be insteresting to rerun the survey on the forums and see what the results would be today as I think the original question was asked in 2015.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Jiwa 8

Postby pricerc » Wed Aug 13, 2025 2:51 pm

SBarnes wrote:Given it appears that the c# compiler seems stronger on type checking than vb


That's only true if you've got the relevant compiler switches wrong on your VB compiler.

You should always have:
Option Strict On
Option Explicit On
Option Infer On

Which can be changed per-file, or at a project level.
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 518
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 21

Re: Jiwa 8

Postby pricerc » Wed Aug 13, 2025 3:14 pm

Mike.Sheen wrote:
conversion quality is worse (e.g. Recent c# features aren't well supported)


It's the last sentence that was of concern for us.


Ahh. They've never had *great* VB support in that converter.

There are other options, but they all struggle with "recent C# features", not helped by Microsoft's slightly weird attitude towards VB - deciding that there would be "no new features" in VB, despite the reasonably active vblang repo on GitHub that had more than a few good ideas, and a few pull requests from people willing to contribute.

Some of those suggestions were, however, incorporated into C# ...

c'est la vie.

The former PM of VB (Anthony D Green) is pretty active on the VisualBasic Discord and has some interesting observations.

Going back to my earlier observation, I still "don't blame you". Jiwa has to make technical decisions that also make commercial sense - if you provided a "C# to VB" converter, you'd need to also support it. And if it is only half-baked, it would be more work to support.

But well done for not killing VB altogether - which I have seen elsewhere and not understood.

For the stuff I do, which involves business-related code that I sometimes need "non-programmers" to be able to read, VB has been helpful, because it can be easy to follow even if you're not a programmer. I've been known to talk someone through editing VB code over the phone. I wouldn't want to try that with C#.
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 518
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 21

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron