this post was submitted on 23 Nov 2021
10 points (100.0% liked)

General Programming Discussion

7810 readers
8 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

For reference, this is what it looks like: https://github.com/StaticallyTypedRice/CloneQueue/blob/master/CloneQueue/CloneQueue.vb

I know people think it's one of the ugliest programming languages, but I actually kind of like it. I can't explain it, but from the first time I saw it, it just looks nice to me and I kind of gravitated to it. I tried doing a few things with VB.NET and actually liked how the language looks. If it wasn't for me really not liking Microsoft, and switching to Linux a while later which Visual Studio doesn't run on, I probably would have made more little apps with it. I honestly had fun with the language itself, just not the Microsoft parts that it relies on.

Namely, I know that the part where you have to specifically type out "End Class", " End If" and whatever gets a ton of hate, but you rarely actually have to do that because the IDE does it for you, and I actually like it because in large heavily nested regions, you don't go cross eyed trying to figure out which "end" or close brace is for which statement. It's actually the part I like the most, and IMO really helps me visualize the various nested blocks.

I also like how it tends to use words to denote most things as opposed go symbols, kind of like pseudocode, which I actually found is easier to both read and type, even with the everything capitalised quirk (which the IDE also does for you so you don't actually have to keep pressing shift if you don't want to).

What do you think? Anyone else get what I mean? Or am I completely wrong and a fool for liking Visual Basic?

top 7 comments
sorted by: hot top controversial new old
[–] ttmrichter@lemmy.ml 4 points 3 years ago

You'll find that programmers are an incredibly conservative lot. Any language that doesn't litter the ground with braces these days is "ugly" or "too verbose" or such.

Personally, like you, I enjoy languages that use keywords instead of line noise to divide chunks of code. My personal poison in this is Ada or any of the Wirthian languages (Modula-3 in particular), but I don't hate VB syntax overall (though some aspects of it make me grit my teeth in pain).

So, you're not a fool for liking Visual Basic syntax, no.

[–] bilb@lemmy.ml 3 points 3 years ago (1 children)

Well there's no accounting for taste!

But really, any distaste I have for VisualBasic comes from needing to use it in massive MS Office Macros because I worked on a team for which actual programming tools were not allowed. The language syntax itself was fine, but that was an annoying circumstance to use it in.

I also have a kind of nostalgic fondness for VB because it was the language used in the first programming class I took in high school.

And no language will be uglier to me than PHP.

[–] ttmrichter@lemmy.ml 4 points 3 years ago (1 children)

And no language will be uglier to me than PHP.

Challenge accepted!

GT()
       N S,N,T,I,K,Q S I="K",S="11",K="l1",Q="R",T="K"
       I I=T D T
       Q:$Q Q Q
T  I I,S&K S S=S+K Q

I've obfuscated the function name so you don't have a clue what the function is supposed to do just from the name. But that's real code that will really run in a real (and likely-surprisingly-to-you common) programming language.

PHP is a nightmare language, but it's far from the worst.

[–] AgreeableLandscape@lemmy.ml 3 points 3 years ago (1 children)
[–] ttmrichter@lemmy.ml 1 points 3 years ago

I know, right?

[–] 0x90@lemmy.ml 1 points 3 years ago

It's very readable, Python is like that as well

[–] ____@lemmy.ml 1 points 3 years ago

I think it gets a ton of hate because people generally associate it with VB6 and older versions of the language. Lua and Ruby use a similar "word-based" syntax instead of brackets everywhere and they don't get the hate that VB.NET gets.