Click here to Skip to main content
15,914,905 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: These languages are a bundle of nope. Pin
Choroid8-Jun-21 5:54
Choroid8-Jun-21 5:54 
GeneralRe: These languages are a bundle of nope. Pin
honey the codewitch8-Jun-21 6:00
mvahoney the codewitch8-Jun-21 6:00 
GeneralRe: These languages are a bundle of nope. Pin
MKJCP8-Jun-21 5:56
MKJCP8-Jun-21 5:56 
JokeRe: These languages are a bundle of nope. Pin
NightPen8-Jun-21 3:42
NightPen8-Jun-21 3:42 
GeneralRe: These languages are a bundle of nope. Pin
Martin ISDN8-Jun-21 5:00
Martin ISDN8-Jun-21 5:00 
GeneralRe: These languages are a bundle of nope. Pin
Chris Boss8-Jun-21 5:27
professionalChris Boss8-Jun-21 5:27 
GeneralRe: These languages are a bundle of nope. Pin
honey the codewitch8-Jun-21 5:31
mvahoney the codewitch8-Jun-21 5:31 
GeneralRe: These languages are a bundle of nope. Pin
Chris Boss8-Jun-21 6:08
professionalChris Boss8-Jun-21 6:08 
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.

At this point most of you younger (OOP based) programmers will likely shout out, "what in the world is he talking about" ?

Do a Google search for the following phrase:

how many software projects fail

You will that that the majority (more than 50%) of software projects fail. Some experts even suggest as high as 60% to 70% of software projects fail. While there are many reason for this, experienced programmers who have been around a long time (meaning they are likely in their 60's now, like myself) may suggest things like taking too long to develop an app, buggy software which can't be fixed, inability to quickly update software to keep up with schedules or the competitions sofware.

If you ask an old time Basic programmer, "why do you use such an old obsolete programming language such as basic " ?

The answers might surprise you. They likely will answer with things like:

"I can write software 10 times faster in Basic than I can with other languages"

"I can write easier to read code, which means easier to debug later"

"I can write code and come back to it years later and easily read it and make sense of it"


When you ask old time programmers why do they use a procedural language (no matter whether is it Basic, C, Fortan or Pascal) when everyone who matters today is using OOP, they will likely answer with:

"I can write neater, easier to read code and I can track code flow much better than with OOP"

"I can write apps without all the bloat of todays dot.net languages"

"My procedural apps can run circles around those OOP apps"


"If I want performance then it is the only way to code"

Likely many an old time C (not C++) programmers will respond as above.

Do I feel the same way ?

Absolutely! There is an old saying, "the proof is in the pudding". I know for a fact that if I had to rewrite my GUI framework (for Windows) using an OOP based language, it would be much, much slower, harder to debug and 5 to 10 times larger in size. My GUI framework for Windows (written in Powerbasic) calls directly to the WIN32 API, has a command set of over 1000 GUI commands, has a number of built in custom controls, its own Canvas control with a 2D Sprite engine and a glCanvas control (OpenGL based) with its own 3D scripting language, a Visual drag and drop engine for building programming visual designers and much more and the entire framework can fit on an ancient floppy disk disk. The entire framework (standard Windows DLLs) is only about 1 megabyte in size. This is about 1/3rd the size of the classic Visual Basic runtimes with many features not found in classic VB in any of its standard runtimes.

The only other language it could have been written in would have been pure C (not C++). But why code in C when I can code in Basic ? Much more readable code and easier to work with.

modified 8-Jun-21 12:15pm.

GeneralRe: These languages are a bundle of nope. Pin
honey the codewitch8-Jun-21 6:12
mvahoney the codewitch8-Jun-21 6:12 
GeneralRe: These languages are a bundle of nope. Pin
Chris Boss8-Jun-21 6:33
professionalChris Boss8-Jun-21 6:33 
GeneralRe: These languages are a bundle of nope. Pin
honey the codewitch8-Jun-21 6:46
mvahoney the codewitch8-Jun-21 6:46 
GeneralRe: These languages are a bundle of nope. Pin
Matt McGuire8-Jun-21 6:18
professionalMatt McGuire8-Jun-21 6:18 
GeneralRe: These languages are a bundle of nope. Pin
honey the codewitch8-Jun-21 6:24
mvahoney the codewitch8-Jun-21 6:24 
GeneralRe: These languages are a bundle of nope. Pin
Matt McGuire10-Jun-21 4:24
professionalMatt McGuire10-Jun-21 4:24 
GeneralIt's been *weeks* since we've had a good religious war Pin
Chris Maunder8-Jun-21 7:24
cofounderChris Maunder8-Jun-21 7:24 
GeneralRe: It's been *weeks* since we've had a good religious war Pin
honey the codewitch10-Jun-21 4:26
mvahoney the codewitch10-Jun-21 4:26 
GeneralRe: It's been *weeks* since we've had a good religious war Pin
Chris Maunder10-Jun-21 4:28
cofounderChris Maunder10-Jun-21 4:28 
GeneralRe: It's been *weeks* since we've had a good religious war Pin
honey the codewitch10-Jun-21 5:13
mvahoney the codewitch10-Jun-21 5:13 
GeneralRe: Python Pin
etkid848-Jun-21 7:45
etkid848-Jun-21 7:45 
GeneralSave me from C programmers who think they know C++ Pin
charlieg6-Jun-21 13:30
charlieg6-Jun-21 13:30 
GeneralRe: Save me from C programmers who think they know C++ Pin
Greg Utas6-Jun-21 14:18
professionalGreg Utas6-Jun-21 14:18 
GeneralRe: Save me from C programmers who think they know C++ Pin
CodeWraith6-Jun-21 15:46
CodeWraith6-Jun-21 15:46 
JokeRe: Save me from C programmers who think they know C++ Pin
Daniel Pfeffer6-Jun-21 17:19
professionalDaniel Pfeffer6-Jun-21 17:19 
GeneralRe: Save me from C programmers who think they know C++ Pin
Nelek6-Jun-21 20:34
protectorNelek6-Jun-21 20:34 
GeneralRe: Save me from C programmers who think they know C++ Pin
Tomaž Štih6-Jun-21 23:25
Tomaž Štih6-Jun-21 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.