Live data from Hacker News

Gambas: Visual Basic on Linux

gambas.sourceforge.net

51–60 of 89 posts

Re: Gambas: Visual Basic on Linux

#51
post #3

http://gambaswiki.org/wiki/doc/diffvb lists "Differences From Visual Basic" and says "Gambas is not intended to be a clone of Microsoft Visual Basic" and "you can't simply copy your VB projects over and expect them to compile under Gambas".

Of course, you can’t copy your Visual Basic projects into Microsoft’s own Visual Basic.NET and expect them to compile there either.

Re: Gambas: Visual Basic on Linux

#53
post #10

Sourceforge? Is this an old post?

Not everyone is jumping into Github.

Considering the malware years of sourceforge, this is no opportunity to take a stab at github. The surprise is that sourceforge is still a thing. https://www.howtogeek.com/218764/warning-don%E2%80%99t-downl...

Re: Gambas: Visual Basic on Linux

#54

Linux fans sometimes reminds me of vegans : they always have to transpose what they had before their new "religion". So we have zucchini noodles and GAMBAS an "almost basic" for Linux. Usually the original is much better (can't say for GAMBAS, but zucchini noodles certainly aren't noodles !). To me it means you're not comfortable with your new environment, you came here for ideological reasons, not because the new on…

Don't you think that "ideological reasons" can be quite a good reason to do things? Besides, following ideological reasons only means to value certain (other) aspects higher for evaluating the question how good something is. Usually the term ideological implies (in my book) that a person is considering the greater good, and willing to take a step back in own convenience. That sounds like a nice person to me. Maybe yo…

Ideology is all fine and well until you start to deviate too much from reality. Then you hit a wall.

Example : there are cases of babies dying because their parents refused to give them animal milk.

Be pragmatic : you don't want to hurt animals, OK, but why not raising a couple chicken to get some eggs ?

Fwiw, my servers are Linux, but my desktop is Windows (it's not for lack of trying Linux as a desktop).

Re: Gambas: Visual Basic on Linux

#55

Earlier quoted context omitted.

>Thankfully, in Gambas you cannot use GOTO to trap errors! Instead, use CATCH, FINALLY or TRY For error handling goto is generally much clearer than using exceptions.

The construction being referenced is On Error [ERR_NO] Goto LABEL, which is not usually local to the error, and, depending on the dialect may be a generic handler that first needs to figure out what error it's handling.

Or, worse, and common in classic VB, ON ERROR RESUME NEXT. Which just skips the line that errored.

Re: Gambas: Visual Basic on Linux

#58

Earlier quoted context omitted.

The construction being referenced is On Error [ERR_NO] Goto LABEL, which is not usually local to the error, and, depending on the dialect may be a generic handler that first needs to figure out what error it's handling.

Or, worse, and common in classic VB, ON ERROR RESUME NEXT. Which just skips the line that errored.

It sets Err. Which is essentially how SH, C and Go work too.

(With the obvious exceptions of longjmp and panic/defer, global vs local var, and Go forcing to assign the error.)

On Error Resume Next isn't great, but calling it much worse than On Error Goto, or much worse than other languages, is a stretch.

My point is only that people complain about it in VB disproportionally often compared to other languages. (Does that mitigate the issue to some extent, if every VB dev is super aware of it?)

Re: Gambas: Visual Basic on Linux

#59

Linux fans sometimes reminds me of vegans : they always have to transpose what they had before their new "religion". So we have zucchini noodles and GAMBAS an "almost basic" for Linux. Usually the original is much better (can't say for GAMBAS, but zucchini noodles certainly aren't noodles !). To me it means you're not comfortable with your new environment, you came here for ideological reasons, not because the new on…

I think there's a little more to it than that, but just a little...

A most uncomfortable truth!

Re: Gambas: Visual Basic on Linux

#60

Linux fans sometimes reminds me of vegans : they always have to transpose what they had before their new "religion". So we have zucchini noodles and GAMBAS an "almost basic" for Linux. Usually the original is much better (can't say for GAMBAS, but zucchini noodles certainly aren't noodles !). To me it means you're not comfortable with your new environment, you came here for ideological reasons, not because the new on…

Bad example. Noodles ARE vegan.
Post reply on HN