Search:

Type: Posts; User: SearchingDataOnly

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: VB6 code parse: Is TypeScript/JavaScript the most complicated language to parse?

    My question is: if a person could parse TypeScript/JavaScript into AST, does it mean that he could parse any programming language into AST?
  2. Replies
    519
    Views
    188,478

    Re: TwinBasic

    VB.NET has a lot of excellent syntactic sugar. Although I will never use VB.NET, I have been absorbing some valuable syntax from VB.NET syntactic sugar.

    However, the tuple of VB.NET and the comma...
  3. Replies
    519
    Views
    188,478

    Re: TwinBasic

    The part is a bit confusing, but the whole is clearer.

    Most syntactic sugar is more confusing for beginners, but once they are familiar and used to these syntactic sugars, they seem to rely more...
  4. Replies
    519
    Views
    188,478

    Re: TwinBasic

    JavaScript has a comma operator, for example:


    if (a, b, c, d) {
    ...
    ...
    return e, f, g, h;
    }
  5. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    If more features related to function pointers are added to RC6, a lot of unnecessary controversy may be settled.

    In addition, maybe one day RC-Core will be released without warning, and it will be...
  6. Replies
    16
    Views
    960

    Re: [RESOLVED] Select Case True

    Regarding short-circuit, this is a sad VB6 story

    JavaScript


    if (a > b || r && r.default) return e;


    VB6
  7. Replies
    16
    Views
    960

    Re: [RESOLVED] Select Case True

    Poor readability


    Select Case True
    Case rs Is Nothing
    MsgBox "Hello 1"
    Case rs!DataField = 0
    MsgBox "Hello 2"
    End Select
  8. Re: [RESOLVED] Why can't Enum of VB6 be a string?

    This is where JavaScript is deliberately smart. The unintentional cleverness of JavaScript is its sloppy and flexible syntax. This flexible grammar design brings unlimited development space for it.
    ...
  9. Re: [RESOLVED] Why can't Enum of VB6 be a string?

    No, what I'm talking about is not Niya (he has disappeared from my list of conversations). I mean when I ask some questions about how to implement JS grammar with VB6, there are always some people...
  10. Re: [RESOLVED] Why can't Enum of VB6 be a string?

    I accept your suggestion. I have deleted the unfriendly words.
  11. Re: [RESOLVED] Why can't Enum of VB6 be a string?

    That is exactly what I'm doing (but it's just a subsidiary job in addition to my main job). If RC6 could integrate these efforts, then RC6 will give VB6 a wider space for development.

    Some people...
  12. Re: Why can't Enum of VB6 be a string?

    For those single-language developers who use VB6 as the main programming language, the more familiar with VB6, the more painful they will be for JavaScript syntax and programming mode.

    The main...
  13. Re: [RESOLVED] Why can't Enum of VB6 be a string?

    Thank you, ChrisE.


    Yes. "工欲善其事,必先利其器"
  14. Re: Why can't Enum of VB6 be a string?

    JavaScript is a bit sloppy, because its author wrote the first version in only 2 weeks, but the irony is that JavaScript is the most popular language in the world, and its popularity even surpasses...
  15. Re: Why can't Enum of VB6 be a string?

    There seems to be another fight here? And the moderator has cleaned up the scene?
  16. Re: Why can't Enum of VB6 be a string?

    Maybe you should tell the TypeScript design team that they broke the meaning of Enums.
  17. Re: Why can't Enum of VB6 be a string?

    enType1.A and enType2.A are more readable than enType1_A and enType2_A
  18. Re: Why can't Enum of VB6 be a string?

    Creating string constants will reduce the readability of the code, for example:


    Public Const MyFlags_AAA = "AAAAAA"
    Public Const MyFlags_BBB = "BBBBBB"
    Public Const MyFlags_CCC = "CCCCCC"
  19. Re: Why can't Enum of VB6 be a string?

    Yes, your method is similar to the one I used. I handled it like this:

    Module1.bas


    Option Explicit

    Public Type MyFlags
    AAA As String
    BBB As String
  20. Re: Why can't Enum of VB6 be a string?

    If Enum of VB6 can define string-constants, it will be 10 times more convenient than defining a Class.
  21. [RESOLVED] Why can't Enum of VB6 be a string?

    Why can't Enum of VB6 be a string?



    Public Enum MyFlags
    AAA = "AAAAAA"
    BBB = "BBBBBB"
    CCC = "CCCCCC"
    End Enum
  22. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    The problem is that until now (2021) you seem to be unable to use .NET to develop some web-apps that can run on your phone with 32GB of storage. On the contrary, Olaf was able to run many of his...
  23. Re: I think VB6 is much a better tool/language than VB.NET

    There is already a WpfDesigner in Sharpdevelop, I don't believe you can make a better alternative than it.

    If you spend more time reading the excellent .NET open source code instead of chattering...
  24. Re: Forcibly sell values to others or other countries

    I'll accept the challenge in another way.

    (1) When the COVID-19 epidemic broke out in China in early 2020, the Chinese writer FangFang wrote "Wuhan Diary" to spread rumors and attacked the...
  25. Re: Forcibly sell values to others or other countries

    What do you want her to change? When the United States and other European countries are in a sharp decline, is it not enough for Germany to stay the same?

    Like most Eastern European countries,...
  26. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    You don't need to waste time on my posts, you have completely lost your sanity.
  27. Re: Forcibly sell values to others or other countries

    In this public forum, you not only suspect that the Chinese are stealing 'intellectual property', you also suspect that the Germans are stealing 'intellectual property'. Where is your evidence? What...
  28. Re: Forcibly sell values to others or other countries

    In my opinion, there is a person like xiaoyao who is always releasing and dumping garbage. The only difference is that this person is voluntary labor, and xiaoyao may be receiving compensation...
  29. Re: Forcibly sell values to others or other countries

    I want to point out that Chinese socialism is completely different from the socialism of the former Soviet Union (including the former Eastern European countries), just like VB6 and VB.NET are...
  30. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Larger and more bloated products and cheaper, larger-capacity storage/memory "indirectly lead" to the dramatic increase in data transmitted over the Internet.

    Even if you are far away from the...
  31. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    In terms of personal preference, some people like big and bloated things, and some people like small and delicate/exquisite things.

    In terms of work, sometimes large and bloated products will not...
  32. VB6 code parse: Is TypeScript/JavaScript the most complicated language to parse?

    I'm currently working on code analysis/parse in multiple programming languages: Code->AST->Code.

    The syntax of TypeScript/JavaScript is extremely flexible, so the parsing process/algorithm is very...
  33. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    In some streams (even streams with large drops) in China , there are often small fish called stone-fish, which grow in the crevices of rocks in the water.

    I've explored some underground rivers,...
  34. Re: Use special characters as a prefix for function or variable names

    At present, my plan is to continue to use this "Lower One Eighth Block" in the Chinese environment for the time being, and if necessary in the future, I'll replace all "Lower One Eighth Block" with...
  35. Re: Use special characters as a prefix for function or variable names

    I see. Thank you, Arnoutdv.
  36. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Although the fighting tired me, my project went well. I'm glad I'm going to have a nice week off.
  37. Re: Forcibly sell values to others or other countries

    Some people say that the Chinese government has blocked foreign Internet social media not to protect Chinese people, but to protect foreigners. If 1 million xiaoyao appeared on Twitter and Facebook,...
  38. Re: Use special characters as a prefix for function or variable names

    Do you mean that there is nothing wrong with "▁" as the prefix of the function name or variable name?
  39. Re: Use special characters as a prefix for function or variable names

    This is exactly what I want to know. I'd like to know whether the code in post#1 can be displayed normally in the English version of VB6-IDE. Thanks !

    Note:
    To be precise, "English version of...
  40. Re: I think VB6 is much a better tool/language than VB.NET

    VB6 has been abandoned by Microsoft for 23 years, and .NET has been developed by Microsoft for 20 years.

    However, when I hope that .NET supporters can cite an example of using .NET development...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width