These languages are a bundle of nope.
-
honey the codewitch wrote:
I don't think VB.NET is much better than BASIC. It might be worse, as it's no longer beginners, but it still encourages crappy coding.
While VB.Net has some serious syntactic shortcomings when it comes to Lambda functions and LinQ, apply the two statements below eliminates all the crappy coding relating to variable and type declarations.
Option Strict On
Option Explicit OnI find the C# "var" variable declaration to be an abomination as it allows the programmer to not understand data types they're using. I also find the use of { and } for code blocking to be a threat to clean coding. In fact, the 2003 power outage that impacted New York, New Jersey, Maryland, Connecticut, Massachusetts, Michigan, Ohio, Pennsylvania, and Ontario was the direct result of an erroneously placed }. This type of code bug is much harder to miss in VB because the language uses keywords to start and end code blocks.
>>I find the C# "var" variable declaration to be an abomination Could not agree more, was appalled when I first saw that in code examples.
-
There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.
Real programmers use butterflies
I took a real good look at python and still use it with my Raspberry PI's but i dont really like it, it's like turning the clock back to the late 70's/early 80's with interpreted basic and i too dont like the whitespace thing, but i would take a bit of an issue with basic, especially VB.NET as although i code mainly in c# now, most of my major projects over the past 40 years have been in basic and basic like languages, many obsolete now, and sure, you can see some horrific code, but with discipline you can also write great code, and it aint that too disimilar to c# for a lot of tasks anyway. IMHO the art of the programmer counts for more than the language per-se. GL
-
There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.
Real programmers use butterflies
Who cares What you think? :zzz: If you don't have the mental discipline or fortitude to reject picking up those "bad habits" then shame on you. IMO your post is just an opportunity to brag about ALL of the languages you know and use, and bash languages others use like the "cool kids". Languages are just tools. If you mash your thumb with a hammer, is it the hammer's fault?
Use the language you like. Ignore the "cool kids"
-
There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.
Real programmers use butterflies
VisualBasic.Net said to C#... Anything you can do so can I. I can even do some things you can't. I also give credit where credit is due so there are things you can do that I can't. That's mostly because there is an ongoing attempt to kill Visual Basic so that C# has no competition and keeps a top spot in the preferred programming languages lists. Simply said, Why pay a C# programmer 80K plus for application development when you can get a high school grad to do the same in Visual Basic for 40K. People have been basing VB for years simply because they do not understand the full power and flexibility of the language. Every time I see one of these posts, It brings a tear to my eyes to think people love to bash something they obviously know nothing about.
-
There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.
Real programmers use butterflies
-
Who cares What you think? :zzz: If you don't have the mental discipline or fortitude to reject picking up those "bad habits" then shame on you. IMO your post is just an opportunity to brag about ALL of the languages you know and use, and bash languages others use like the "cool kids". Languages are just tools. If you mash your thumb with a hammer, is it the hammer's fault?
Use the language you like. Ignore the "cool kids"
Wow, what crawled up your backside? You're wrong about my intentions, and all you managed to accomplish was to be a jerk to someone that has never done anything to you. And I'll remember it. So congratulations. Smart move.
Real programmers use butterflies
-
VisualBasic.Net said to C#... Anything you can do so can I. I can even do some things you can't. I also give credit where credit is due so there are things you can do that I can't. That's mostly because there is an ongoing attempt to kill Visual Basic so that C# has no competition and keeps a top spot in the preferred programming languages lists. Simply said, Why pay a C# programmer 80K plus for application development when you can get a high school grad to do the same in Visual Basic for 40K. People have been basing VB for years simply because they do not understand the full power and flexibility of the language. Every time I see one of these posts, It brings a tear to my eyes to think people love to bash something they obviously know nothing about.
Pretty sure I understand the language considering I've written parsers for both. Let me help you understand something - they're the same language. The only thing different is some superficial syntax. However, VB.NET's is not clean. C#s is. If anyone is paying a C# dev twice what they're paying a VB.NET give me their number. I have a bridge to sell them.
Real programmers use butterflies
-
C# is like building a car from a kit. Java is like machining you own parts to build a car. C# is a RAD environment best meant for business applications. Java in not a RAD environment, and is for people who like to putz.
I agree with your last two sentences, but not the first two, which seem to imply some fundamental differences in the actual language between Java and C# that aren't really all that different. C# isn't higher level than java. They both operate from about the same place in the programming stack. *hides*
Real programmers use butterflies
-
There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.
Real programmers use butterflies
i'd like to master perl5. feels fun like js5. sadly, there is little hope things will change in the time department.
-
There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.
Real programmers use butterflies
BASIC has grown over the years and is no longer the beginners language it once was thought to be. Basic started out as an interpreter because it was the only way to produce a multi-tasking system back in the 1970's. While Fortran programmers had to punch cards and wait until the computer dept. had time to run their code, hundreds of Basic programmers were coding and getting immediate results on terminal all around the college. Basic introduces the old computing world to time sharing and it actually was an amazing tool for its time. In the 1980's Basic became a compiler rather than simply an interpreter. Microsoft embraced Basic with its QuickBasic and then PDS 7.1 (Professional Basic). One could code apps in Basic and link into modules written in Assembler, C or other languages. Notice Microsoft called their version of Basic , Professional ! In the 1980's Basic took on many of the best features found in other languages such as Pascal. Modular code design became the norm and the command set grew to embrace many modern constructs. In the 1990's with the advent of Windows, Basic took a big hit at first until Microsoft bought a visual development tool from another company and turned it into Visual Basic. Classic VB was not built from the grown up, so it lost many of the powerful features of its DOS ancestor (PDS 7.1). It was a pcode compiler, not a true compiler. It lost many of its low level features. The one saving grace was the visual drag and drop environment and that is why it became so popular. It was years ahead of other languages when it came to drag and drop, but it did not take long for other languages to catch up. C was a little slow to catch up, but Delphi (Pascal for Windows) caught up and for awhile was a popular language for those who wanted the drag and drop of VB, but the power of C. Microsoft spent years playing catch up trying to bring VB forward and in the end (VB 5/6) they were only able to make it a true machine code compiler by using a C backend. VB itself never was a true compiler (meaning they had to use a different backend to accomplish it, rather than make VB itself a real compiler. Yet, it still was popular because of not only its drag and drop environment, but also because of its support of ActiveX and then later OCX controls. But those custom components usually were written in C, not VB. VB was not a true native code compiler in the sense you could not compile to a real native code DLL usable by other languages (ActiveX DLL's were not the same). This did not mean that Basic tot
-
BASIC has grown over the years and is no longer the beginners language it once was thought to be. Basic started out as an interpreter because it was the only way to produce a multi-tasking system back in the 1970's. While Fortran programmers had to punch cards and wait until the computer dept. had time to run their code, hundreds of Basic programmers were coding and getting immediate results on terminal all around the college. Basic introduces the old computing world to time sharing and it actually was an amazing tool for its time. In the 1980's Basic became a compiler rather than simply an interpreter. Microsoft embraced Basic with its QuickBasic and then PDS 7.1 (Professional Basic). One could code apps in Basic and link into modules written in Assembler, C or other languages. Notice Microsoft called their version of Basic , Professional ! In the 1980's Basic took on many of the best features found in other languages such as Pascal. Modular code design became the norm and the command set grew to embrace many modern constructs. In the 1990's with the advent of Windows, Basic took a big hit at first until Microsoft bought a visual development tool from another company and turned it into Visual Basic. Classic VB was not built from the grown up, so it lost many of the powerful features of its DOS ancestor (PDS 7.1). It was a pcode compiler, not a true compiler. It lost many of its low level features. The one saving grace was the visual drag and drop environment and that is why it became so popular. It was years ahead of other languages when it came to drag and drop, but it did not take long for other languages to catch up. C was a little slow to catch up, but Delphi (Pascal for Windows) caught up and for awhile was a popular language for those who wanted the drag and drop of VB, but the power of C. Microsoft spent years playing catch up trying to bring VB forward and in the end (VB 5/6) they were only able to make it a true machine code compiler by using a C backend. VB itself never was a true compiler (meaning they had to use a different backend to accomplish it, rather than make VB itself a real compiler. Yet, it still was popular because of not only its drag and drop environment, but also because of its support of ActiveX and then later OCX controls. But those custom components usually were written in C, not VB. VB was not a true native code compiler in the sense you could not compile to a real native code DLL usable by other languages (ActiveX DLL's were not the same). This did not mean that Basic tot
VB.NET and C# have the same exact functionality. My criticism isn't about BASIC not being powerful. It's about it reinforcing poor habits due to the way it's structured and due to its syntax.
Real programmers use butterflies
-
I agree with your last two sentences, but not the first two, which seem to imply some fundamental differences in the actual language between Java and C# that aren't really all that different. C# isn't higher level than java. They both operate from about the same place in the programming stack. *hides*
Real programmers use butterflies
If you use WinForms, compare adding a ListBox in C# and creating one in Java. It's ridiculous. Let me clarify - I was mainly referring to IDE RAD based development. Sure, the syntax is similar. It also eats memory like a pig. Once I built the same application in .NET and in JBuilder. When I ran the app. in JBuilder, it told me I had insufficient memory. Really?
-
honey the codewitch wrote:
I don't think VB.NET is much better than BASIC. It might be worse, as it's no longer beginners, but it still encourages crappy coding.
While VB.Net has some serious syntactic shortcomings when it comes to Lambda functions and LinQ, apply the two statements below eliminates all the crappy coding relating to variable and type declarations.
Option Strict On
Option Explicit OnI find the C# "var" variable declaration to be an abomination as it allows the programmer to not understand data types they're using. I also find the use of { and } for code blocking to be a threat to clean coding. In fact, the 2003 power outage that impacted New York, New Jersey, Maryland, Connecticut, Massachusetts, Michigan, Ohio, Pennsylvania, and Ontario was the direct result of an erroneously placed }. This type of code bug is much harder to miss in VB because the language uses keywords to start and end code blocks.
I think there are some legitimate uses for var. I use it in generic methods that have incoming objects and I have to iterate through using reflection.
-
If you use WinForms, compare adding a ListBox in C# and creating one in Java. It's ridiculous. Let me clarify - I was mainly referring to IDE RAD based development. Sure, the syntax is similar. It also eats memory like a pig. Once I built the same application in .NET and in JBuilder. When I ran the app. in JBuilder, it told me I had insufficient memory. Really?
I avoid Java because the tools are awful.
Real programmers use butterflies
-
I avoid Java because the tools are awful.
Real programmers use butterflies
Yes. You get what you pay for. :-O
-
Yes. You get what you pay for. :-O
You know how many times I've said that using open source stuff? :laugh:
Real programmers use butterflies
-
Wow, what crawled up your backside? You're wrong about my intentions, and all you managed to accomplish was to be a jerk to someone that has never done anything to you. And I'll remember it. So congratulations. Smart move.
Real programmers use butterflies
Wow I am a little taken back at your comment to Slow Eddie but that is beside the point of my reply Why am I a member here plain and simple this site has a wealth of Brains who do not waste time on idle chit chat and I always find a honest sharing of ideas Honey the Codewitch is one of those who has an alternate view on various subjects and that is nice One thing I learned here is that you pick the development language based on what language best suits the needs of the project You do not pick up bad habits you develop them and begin to embrace them over time and if you are lucky one day someone like most of the members shares a review of your code and points out the bad habit so that said honey the codewitch I am sure you have enough self control to use BASIC Why did I post this comment VB 6 and NS Basic for the Palm Pilot as well as Apple Basic on a 40 column screen were my foundation to explore and use other high level languages YES Gif pointed out a bad habit I rewrote the project and now that habit is gone
-
Who cares What you think? :zzz: If you don't have the mental discipline or fortitude to reject picking up those "bad habits" then shame on you. IMO your post is just an opportunity to brag about ALL of the languages you know and use, and bash languages others use like the "cool kids". Languages are just tools. If you mash your thumb with a hammer, is it the hammer's fault?
Use the language you like. Ignore the "cool kids"
-
Wow I am a little taken back at your comment to Slow Eddie but that is beside the point of my reply Why am I a member here plain and simple this site has a wealth of Brains who do not waste time on idle chit chat and I always find a honest sharing of ideas Honey the Codewitch is one of those who has an alternate view on various subjects and that is nice One thing I learned here is that you pick the development language based on what language best suits the needs of the project You do not pick up bad habits you develop them and begin to embrace them over time and if you are lucky one day someone like most of the members shares a review of your code and points out the bad habit so that said honey the codewitch I am sure you have enough self control to use BASIC Why did I post this comment VB 6 and NS Basic for the Palm Pilot as well as Apple Basic on a 40 column screen were my foundation to explore and use other high level languages YES Gif pointed out a bad habit I rewrote the project and now that habit is gone
As far as Eddie's comment, I feel like my reply was measured given the tone and nature of it, and the fact that he impugned my motivations for writing my OP. I do try to be nice. But I'm not a pushover. As far as your comment, I generally agree with you, but I've never had to write anything in BASIC or in python commercially. I'm thankful for it. Just like I'm thankful that my need for assembly and javascript in the field is limited. If I had been coding in them all the time, I'd have to work extra hard to keep the stink of them from rubbing off on my coding style, so to speak. That's why I avoid them. It doesn't mean I'll never use them. It's just I won't if I can help it.
Real programmers use butterflies
-
VB.NET and C# have the same exact functionality. My criticism isn't about BASIC not being powerful. It's about it reinforcing poor habits due to the way it's structured and due to its syntax.
Real programmers use butterflies
The idea that Basic promotes bad code design and structure is false and without merit. Why ? Because Basic uses a "different" style of coding than most programmers use today, but not necessarily a poorer one. What do I mean ? Programmers , in what most of you younger programmers would call the old days or even ancient days, use to code in the procedural style of coding. In the early 2000's procedural programming took a big hit by the new up and coming Object Oriented Programming (aka. OOP) style. There was so much talk about how it would solve all our problems and make coding better, faster and more powerful. There were a lot of promises made and most jumped the "procedural" ship in favor of this new fangled style of coding. There were some programmers who were not so sure about this new coding style and while they may have dabbled in it, they still held onto what they knew best, procedural. Their mindset was more of a wait and see if this new fangled coding style would deliver on all the promises made. Classic Visual Basic was a hybrid of sorts and only stepped into minimal OOP, but kept the procedural style of coding for the backend code (once you were in event code most coded using a procedural style at first). In the C world, many procedural programmers jumped ship into C++ and started writing everything as a class rather than a function or procedure. But there were experienced programmers who took it slowly and did not totally give up on procedural design. So what conclusion have many of those old timers (and amazingly a number of newer younger programmers over time) come too having given OOP plenty of time to prove itself ? While there are a few benefits to OOP, such as its tends to "force" programmers to write modular code, in the long run OOP has not delivers on all of its promises. Sadly OOP has brought us a new term "BLOAT". If one is honest and is willing to read many of the articles floating around the web by experienced programmers about the challenges and weaknesses of OOP, you will find that OOP created as many problems as it appeared to solve. There is a slow, but real, movement among not only old time programmers, but also some younger ones, to take a closer look back at the tried and true procedural style of coding to see if it real was as bad as many say and whether it had any benefits now lost by using OOP for everything. The reality is the procedural style coding, whether Basic, C (rather than C++), Fortran, Java or Pascal still exists and it actually has many benefits.