Hi community!
VisualBasic through C# for Godot4.
i found several examples for F# through C# but not for VisualBasic (searched with google and in the forum)
So i tried to get it to work, heres the first test.
like F# you can use another language without GDExtension (cause we tunnel it through C#)!
GodotVisualBasic

i now also tested F# and i personally would use F# instead of VisualBasic...
mandelbrotbenchmark

I wonder why do people do this... reading through the Readme.md, seems like too much work just to create a simple script.
Why dont people stick with gdscript? It does everything you need. And no need for external IDE's or libraries that could be stale.

    Tomcat Lol. I feel really sorry for everyone unlucky enough to have had an uncanny thing like VisualBasic imprinted 😃

      xyz i prefer visual basic than c# but with all .net languages you have to write too much fluff to get to the end goal.. too many words, too many characters..

      • xyz replied to this.

        xyz

        C# is a modern language with many features, some of them cutting edge. It's fantastic.

        One of my favorite C# features is the "null-conditional operator". If you need to access object foo.leg.position for example, normally you'd need for null before every element access. With C# instead you can write foo?.leg?.position : if foo is null OR leg is null OR position is null you get a null back. You can write a single check and be done with it.

        I would definitely not lump it in with Visual Basic. That said, to each their own. Personally I still use gdscript with Godot anyways because it's well integrated and documented.

        Source:
        https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/member-access-operators#null-conditional-operators--and-

        • xyz replied to this.

          axolotl I was a bit facetious there. C#, of course, is not even remotely in VisualBasic league of suckage. However, it does exhibit excessively high levels of verbosity reminiscing that of VisualBasic's, despite having some neat pieces of syntactic sugar.

          xyz visual basic was a starter for me, and i had to learn to read c# in order to translate it to vb.net because most tutorial/stackoverflow answeres dealt with c# problems.

          Either way, i have moved on from .net. Never looking back 🙂.

          a month later

          xyz I started out with quickBASIC way back in the day, I do have some nostalgia for it but I wouldn't really use it today. And if I did want to get a nostalgia fix I'd probably do something in freeBASIC just for the lulz at this point.

          Still, I can see this being a bit of fun for some.

          • xyz replied to this.

            Megalomaniak My first exposure to code was Basic as well. Can't remember if it was on C64 or Spectrum. But soon I discovered that you can do miracles using the infinitely more powerful machine code. I get maximum nostalgia kick by just looking at 6502 assembly. How weird is that? 😃

              xyz I remember coding a text adventure in Basic on an old Tandy model if that tells you how old I am (it was a dinosaur when I got it). I still have memories of GOTO in my head.

              CALL RSEED
              10 PRINT *, "YOU ARE IN WITTS END"
              READ *, WORD
              IF (WORD .NE. "EAST") GOTO 10
              CALL RNUM(RNUM)
              IF (RNUM * 100 .GE. 5) GOTO 10
              PRINT *, "YOU ESCAPED WITTS END"