Search:
Type: Posts; User: mansellan
Search:
Search took 0.05 seconds.
-
Thanks @Shaggy Hiker, that's good to know.
At the moment, polls are being held on the developer's GitHub repo. I didn't want to break any rules by linking to external discussion sites, but as I'm...
-
Voting is now open on whether to allow LShift \ RShift as aliases for << and >> respectively.
The voting options are:
IN FAVOUR OF adding LShift and RShift to the language, as alternatives...
-
Thanks jpbro, great to see a real world experience of porting to twinBASIC. Note that AppObject support is still in progress - see https://github.com/WaynePhillipsEA/twinbasic/issues/143. Also,...
-
LeftShift
LShift
LeftS
Shl
None of these things are as readable to me as <<. And probably 99% of programmers out there.
These operators are _ubiquitous_. Nearly every other language out...
-
That's understandable. Microsoft _did_ abandon VB6 for VB.Net, no question.
But now there's a way forward. 64-bit. Cross-platform without a VM. It's frankly incredible. But we're arguing over...
-
@Shaggy Hiker,
You've mentioned a few times that this thread is getting lenghty. Would you mind if I start reposting twinBASIC language proposals in this forum as new threads, prefixed with...
-
@baka, @Eduardo, you both seem very angry, and I'm not sure why.
But I think I need to stop now.
-
These operators were actually added before twinBASIC reached alpha (and before there was a repo to discuss such things). I'm sure it never even occurred to Wayne that they could be controversial,...
-
Well you could look to what FreeBASIC has for operators: it uses Shl and Shr. But then again, it has +=, ^=, And= Shr=, so... maybe not lol.
Not my call, but I can't see these new operators being...
-
So I did actually propose this, way back in the day. To me, prefix vs postfix seems entirely logical. But I accept it may not be a natural fit for BASIC.
-
Might be a NA thing. Never saw assignments in high school in the UK.
-
Um, I think you just proved my point? The math they teach at (high) school is equations. Not assignments.
Have you seen the symbols used in higher math? I couldn't begin to understand them. You...
-
-
a = 1
a = b
a = 3
a = b + 1
a++
FTFY
(and indeed, static analysis tools would have fixed all of these)
-
Careful... Async/Await is very, very tricky. It pretty much rewrites your code into Begin/End methods. If it finds it needs to do that inside a loop, it has to write an entire state machine for you...
-
I absolutely get that. I've been in the C# world for nearly 2 decades now, but I got my start in VBA, and then VB6.
I understand the BASIC ethos. The B stands for beginner after all - "Make it...
-
@baka
That's my hope too. VB6, but better.
1. 64-bit compilation
2. Faster execution
3. Cross platform
4. Language improvements
It seems that the only one of these that's causing concern...
-
I'm new here. There's clearly some history to these interactions, so I'll just call it as I see it.
Classic VB was abandoned by Microsoft. That's the only language they did that to. C# was a new...
-
I really would never have imagined that supporting a universally-known operator could be so controversial until I found VBF...
-
Just to reiterate:
FreeBASIC and VB.Net have both done this. Hell, classic VB would have if it had survived. There really isn't an argument that it's not BASIC-ish that I can see.
-
That's really unfair. The debates I've seen have been pretty free ranging and ego free. If you have a killer point to make, it'll get traction. But at the end of the day "I like what I'm used to" is...
-
That's fair enough.
As someone who has to learn big paradigm shifts every 12 months with C# (and huge reams of "magic" being undertaken by the compiler - it literally rewrites your code when you...
-
Eduardo, if you want the modify-and-assign syntax that has been implemented in twinBASIC to be removed (replaced?), then you are most welcome to propose that on the GH repo. It would get labelled as...
-
Sorry Eduardo, I'm just not seeing it. When you come to a new language, either as a newcomer or from another language, there are some things to learn. The process for add-and-assign would be:
1....
-
Actually, this is kind of an issue with C# - it evolves. Constantly. If I were to look at a non-trivial C# 1 application, it would look almost unreadable to me.
The downside is that C# now has a...
-
That's a very bold assertion. Why would somebody with zero programming experience choose a language that's currently pretty obscure, and likely to remain so for quite a while?
If I were to guess,...
-
If it's because it's not human-readable, well... no programming language is entirely intuitive. For modify-and-assign, understanding would take a quick Google search, hitting results from pretty much...
-
Didn't say that. I just said that it's ubiquitous. And thus will likely be expected by a traveler from another language. That's a benefit.
What's the cost? You just don't like the way it looks?
-
I find that syntax really unpleasant (it would probably also be a nightmare to parse in all the settings expressions can exist). Why reinvent the wheel? += (and all its many kin) are ubiquitous, not...
-
Entirely agree. I've mentioned twinBASIC a few times at work (we're a C# shop), and the reply I invariably get is "For the love of $deity, WHY? VB6 died 20 years ago..." Of course I don't agree with...
-
-
Bringing this back to the question asked in the OP...
LSP can't be retrofitted to the VB6 compiler. LSP is just just a protocol, a way to expose language comprehension in a standardised format to...
-
Heh, that's almost exactly what MS did with the Net Core transition...
(net framework (net standard) net core)
Net standard was just a bridge. As soon as enough people crossed it, they burned...
-
If starting from a blank slate, I'd agree with you. But there are a lot of open source components that cut out huge swathes of the problem. Before Eclipse Theia was considered, i was very much...
-
That's kinda what I was getting at though. It's FAR easier to make an IDE that connects to an existing compiler and debugger, than it is to add a new (backwards-compatible) compiler and debugger to...
-
Disclaimer: I'm a big fan of twinBASIC, and an early subscriber.
I'm not surprised that Win11 runs VB6, it's basically Win10 21H2 but hijacked by the marketing department. It works because there's...
-
"Better" is always subjective. Is VB.Net, the language "better" than VB6? It depends... VB.Net - the language - is objectively more advanced. It has a unified type system, generics, overloads,...
-
Keen to hear reviews of the private Alpha from paid members. I will likely wait for the public Alpha.
-
I loved (and still love) VB6, but was forced to make the jump to .Net 15 years ago (damn, that makes me feel old!). The differences between VB.Net and C# are trivial compared to the differences...
-
This is how .Net does it, and seems to me to be the least-friction way of doing it. For function-scoping, the existing VB6 syntax is exactly the same. If you want the new twinBASIC block-scoping,...
|
Click Here to Expand Forum to Full Width
|