Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8559
| From | "Jamal Assaf" <someone@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: X# Community plan includes support for Visual Objects and Vulcan.NET! |
| Date | 2015-10-27 16:06 -0400 |
| Organization | albasani.net |
| Message-ID | <n0olfh$ikd$1@news.albasani.net> (permalink) |
| References | <7415bb43-3a97-446d-b7ff-03c6d62d3299@googlegroups.com> <bu8t2bhuj3u7t7aje12qcbktai7c72p1gn@4ax.com> <3d40110d-fee8-4319-825a-5b6f327a96ed@googlegroups.com> <n0o6l3$kc9$1@news.albasani.net> <rlbv2btr4rmnhkore0o73k758f0ce632tp@4ax.com> |
Dick,
I am not crazy about C# and code in it sometimes, I personally prefer VB.NET
but C# is just all over.
Despite the fact the Val() is simpler to follow, you are missing the point
of the elegance of overloading that .NET provides and with intellisense, it
is so much easier to understand and extend.
Vulcan.NET just creates wrappers to make it easier for xBase fans, but the
underlying code is still .NET.
BTW, VB.NET has a Val(textval) function and it also has Replace( string,
searchtext, replacetext ), and there are many other functions is various
categories.
Jamal
"D.J.W. van Kooten" wrote in message
news:rlbv2btr4rmnhkore0o73k758f0ce632tp@4ax.com...
On Tue, 27 Oct 2015 11:53:07 -0400, "Jamal Assaf"
<someone@example.com> wrote:
Hello Jamal,
>xBase syntax should have been left to die and 'X'ed out; the future is C#
>or
>VB.NET using.
I would prefer C# left to die <g>.
5 reaons why:
1 The case sensitivity
2 The zero based counting for e.g. arrays and strings. It means that
an array element differs 1 from the real position. If I want to check
the first character of a word, which is in regular speech called the
first character and not the zeroest character, you have to call it
MyString[0]. Or mystring[0] - see 1
3 The lack of logic in the language + the complexity of a statement:
VO versus C#:
Val(c) is in C# (int)Char.GetNumericValue(c)
while
Val(Left(c,2)) is in c# Int32.Parse(c.Substring(0, 2));
(instead of something like Substring(c,0,2)
4 and one sample more about the complexity:
VO replacing a character in a string:
c:=strtran(c,";","'")
C#:
StringBuilder builder = new StringBuilder(c);
// As a string can not be chanegd in .Net, this is the way to build a
new string
builder.Replace(";", ",");
string cNew = builder.ToString();
5 the {}!
>xBase does not make a difference; if I want to use DBF or SQL, there are at
>least 3 third party components that help with that without relying on
>compatibility 32bit runtime dlls.
As far as I've seen, the 3rd party DLL's are also all 32 bits. So I
think Vulcan and C# do make a difference - they are easier to handle
and closer to what many of us have been using the past decade(s).
Even though I use C# more and more I think xBase is much more logical
and elegant.
Dick
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
X# Community plan includes support for Visual Objects and Vulcan.NET! Robert van der Hulst <rjvanderhulst@gmail.com> - 2015-10-25 09:52 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-10-26 14:42 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-26 23:14 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-10-26 23:50 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Robert van der Hulst <rjvanderhulst@gmail.com> - 2015-10-26 23:02 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Chris Pyrgas <nospam@please.gr> - 2015-10-27 12:05 +0200
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-10-28 14:31 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Jamal Assaf" <someone@example.com> - 2015-10-27 11:53 -0400
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-27 18:16 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Jamal Assaf" <someone@example.com> - 2015-10-27 16:06 -0400
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-28 12:44 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Massimo Bighelli <info@arcasistemi.it> - 2015-10-28 16:02 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-10-28 15:28 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-29 20:27 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! b®ian_@g®afx_soft.com <brian@grafxsoft.com> - 2015-10-27 10:21 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Robert van der Hulst <robert@heliks.nl> - 2015-10-27 21:08 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Jamal Assaf" <someone@example.com> - 2015-10-27 23:47 -0400
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-10-27 08:07 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Michael Hagl" <haglmi@hagl.de> - 2015-10-27 14:47 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Chris Pyrgas <nospam@please.gr> - 2015-10-27 23:01 +0200
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Danilo Giuliani" <softdevo@tiscali.it> - 2015-10-27 08:22 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Chris Pyrgas <nospam@please.gr> - 2015-10-27 23:11 +0200
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! b®ian_@g®afx_soft.com <brian@grafxsoft.com> - 2015-10-27 04:34 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-27 13:46 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-10-27 14:24 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Robert van der Hulst <robert@heliks.nl> - 2015-10-27 21:18 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Robert van der Hulst <robert@heliks.nl> - 2015-10-27 21:18 +0100
Re: X# Community plan includes support for Visual Objects andVulcan.NET! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-10-28 08:16 +0100
Re: X# Community plan includes support for Visual Objects andVulcan.NET! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-10-28 09:19 +0100
Re: X# Community plan includes support for Visual Objects andVulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-28 12:53 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! b®ian_@g®afx_soft.com <brian@grafxsoft.com> - 2015-10-28 08:24 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! b®ian_@g®afx_soft.com <brian@grafxsoft.com> - 2015-10-29 06:56 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Stefan Überbacher <info@sanosoft.com> - 2015-11-03 03:43 -0800
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Robert van der Hulst <rjvanderhulst@gmail.com> - 2015-10-27 06:23 -0700
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-10-28 15:25 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-10-28 22:44 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Otto Christiaanse <ofchristiaanse@gmail.com> - 2015-11-09 02:07 -0800
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-11-09 11:16 +0100
Re: X# Community plan includes support for Visual Objects and Vulcan.NET! Kuno Egger <kuno@retailsoftware.com> - 2015-11-06 14:08 -0800
csiph-web