Search found 135 matches

by Boris the Old
Nov 13, 2017 3:41
Forum: Documentation
Topic: -pp compiler option
Replies: 36
Views: 2929

Re: -pp compiler option

The hoi polloi is a way of referring to common people, and it is an elitist term usually used by people who consider themselves to be above the masses. :-( And it's also a derogatory term commonly used by the plebs to describe the elitists who are deservingly above them. :-) And by the way, why not...
by Boris the Old
Nov 06, 2017 19:43
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 34
Views: 3473

Re: Most important concepts to learn for a new developer (Top 50)

There are really only three concepts to learn: 1) Read -- buy a book, then repeat forever 2) Experiment -- write code and figure out for yourself why it doesn't work 3) Practice -- do this for 5 years to become a passable programmer Failure to do all of the above indicates a lack of aptitude -- a di...
by Boris the Old
Nov 06, 2017 19:10
Forum: General
Topic: quantum computing sim
Replies: 19
Views: 1402

Re: quantum computing sim

My oldest son is working on this stuff, but from the math end. I'm beginning to feel a little like my grandparents.They were born in the early 1880's, at the beginning of the electric age, and lived to see people landing on the moon. I was born during WW2 and learned my programming skills on 2nd gen...
by Boris the Old
Oct 13, 2017 2:26
Forum: Beginners
Topic: exemple buttons and msgbox
Replies: 29
Views: 2222

Re: exemple buttons and msgbox

And it works very well. We're converting all our business applications from PowerBasic (Windows only) to FreeBasic/FLTK (Linux and Windows). We do all our programming using Linux, and just compile our source code, as needed, with either the Linux or Windows compiler. We are truly cross-platform. Tha...
by Boris the Old
Jun 02, 2017 23:38
Forum: Community Discussion
Topic: The Birth of BASIC.
Replies: 36
Views: 5091

Re: The Birth of BASIC.

That brought back memories. I actually used the Dartmouth time-sharing BASIC in 1965 while I was working for General Motors. Little did I know that, over 50 years later, I'd still be using BASIC as my main development language. :-)

Rod
by Boris the Old
May 15, 2017 1:03
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 6243

Re: Best Programming Language

Us hotshot ASM programmers at IBM had our own name for Dijkstra's concepts -- Structured Spaghetti code. Lots of global variables to track program status while we backed out of nested procedure calls. It's no wonder that modern software is still as complex and buggy as it ever was. It's certainly no...
by Boris the Old
May 14, 2017 19:17
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 6243

Re: Best Programming Language

Edsger Dijkstra (1930-2002) However I have to agree with Dijkstra turning someone who began with any dialect of BASIC turning to a great developer in any other computer language will be a "helluva" job. Back around 1972, during my IBM days, I heard him speak at the University of Toronto -...
by Boris the Old
May 13, 2017 17:39
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 88055

Re: FLTK C for FreeBASIC Jan 09, 2017

That is interesting, as i have always wanted a rapidq like gui library, that would use fltk under the hood. I didn't start it because it would be a LOT of work. If you method is simple then great. It's not a lot of work if you restrict yourself to replicating only those features that you use. Over ...
by Boris the Old
May 13, 2017 16:00
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 6243

Re: Best Programming Language

In my experience, the concept of what makes a "best" language has nothing to do with how fast, sophisticated, or popular it is, but rather on what users consider to be a good application. For example, I have customers still using DOS COBOL/ASM applications that I wrote over 30 years ago. T...
by Boris the Old
May 12, 2017 18:49
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 88055

Re: FLTK C for FreeBASIC Jan 09, 2017

But if you create your own missing or new widgets in FreeBASIC (like owen's ExpanderWidget) Fl_XXXExHandleBase() can and is the only key for tricky things inside callbacks. Thanks -- that makes sense. My approach to using or expanding widgets is to create classes that use existing widgets. That way...
by Boris the Old
May 12, 2017 17:14
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 88055

Re: FLTK C for FreeBASIC Jan 09, 2017

The point are: step 1: the C++ widget calls your XXXHandleCB() callback stap 2: if you call from inside the callback return Fl_XXXHandle(widget,event) the C++ widget will call your XXXHandleCB() again goto step 1: again and again ... the result are a "out of stackspace" The "pyFLTK&q...
by Boris the Old
May 12, 2017 0:56
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 88055

Re: FLTK C for FreeBASIC Jan 09, 2017

Note: You can return 0 also in this case my C++ wrapper calls Fl_XXXHandle() for you. Again for events you don't handle return 0 or return Fl_XXXXExHandleBase() but never return 1 . Joshy The FLTK documentation states: Event Propagation Widgets receive events via the virtual handle() function. The ...
by Boris the Old
Apr 22, 2017 3:48
Forum: Beginners
Topic: Optimising speed of loops
Replies: 12
Views: 1506

Re: Optimising speed of loops

In my experience, it's not worth the time and effort to worry about such trivial optimization details. It's a very rare program that will benefit from choosing between FOR/NEXT and DO/WHILE, etc. Forty or fifty years ago there might have been some benefits. But today, with most functionality being p...
by Boris the Old
Feb 03, 2017 4:24
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 6243

Re: Best Programming Language

@Paul

Do you get the feeling that we're all re-inventing the same wheel? :-)

Rod
by Boris the Old
Feb 02, 2017 20:26
Forum: Community Discussion
Topic: Best Programming Language
Replies: 34
Views: 6243

Re: Best Programming Language

Talk about "automate the boring stuff." Where can I find a book on using code generators for that? (Semi-rhetorical question. Though if you know one, feel free...) I've never read any books on the subject, but I think macros and code generators tend to be the result of laziness and a life...

Go to advanced search