|
craig robbins MN wrote: The first few times I had more scars on my fingers and hands than I did successful connections
You aren't supposed hold it like that![^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
craig robbins MN wrote: And as a follow up - do you pronounce the "l" in solder? Here is is silent.
I'd pronounce it with the L, but from now on I will start pronouncing it without
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I obtained a piece of code from Internet, but can not tell which computer language is used. so I try to post here to get some hints.
it is likely C grammar, but has some unfamiliar special functions invoked:
extern bool Angle_13_1=false;
extern color Col_13_1=Sienna;
extern int Style_13_1=0;
extern int Width_13_1=1;
double EndPrice_13_1;
extern bool Draw.as.Background=true;
int init(){return(0);}
int deinit(){
ObjectDelete(AngleNum +"Angle_1_1");
ObjectDelete(AngleNum +"Angle_1_2")
return(0);}
diligent hands rule....
|
|
|
|
|
The only language I know of that accepts '.' in variable names is R - and that doesn't look like it at all ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
is it possible to be Delphi?
diligent hands rule....
|
|
|
|
|
Slim chance: Delphi is a modified/enhanced Pascal and they type begin and end instead of braces. I think braces are for comments if not mistaken.
Mircea
|
|
|
|
|
Don't think so, it doesn't have an extern keyword.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
easily could be a structure reference.... perfectly legit
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
|
English. No, kidding, I'm betting on C.
C always looks foreign.
--edit
To me it does, aight?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
modified 21-Feb-22 16:56pm.
|
|
|
|
|
I agree with you. it makes sense if that one is a struct.
diligent hands rule....
|
|
|
|
|
It looks like MQL, or MetaQuotes Language. It's usually used for automated trading scripts.
|
|
|
|
|
it can be MQL too.
from this link, it seems like a C++ type of language.
never played around with this MQL...
diligent hands rule....
|
|
|
|
|
It's HTML. Browser is rendering it this way but under the hood it is HTML.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
I taught myself metaprogramming. That's kind of an issue because I have this code I wrote that I understand but can't explain to others, and when I try it tends to confuse people.
I don't think it's their fault.
Sure, maybe some of it is that metaprogramming isn't done so much day to day with C++.
But also it's because I lack the lexicon and foundation.
I'm not really sure what to do about that. Most of the material I've seen on metaprogramming leverages the STL in ways that are unavailable to me on some IoT platforms. Ergo, I wasn't going to be served functionally by learning the STL'ized version of this. I had to go to the metal, but I've never seen good material on it, except for stuff that explains the STL.
Meh. I feel like I've kind of painted myself into a corner. On one hand I can code all day like this, and I love the flexibility. On the other hand, I think my code might be something of a black box when you dig into it.
Real programmers use butterflies
|
|
|
|
|
You should try some Rust. I'm serious. I cut teeth on C++ (and a dummies book) in 1993 or so & I used C++ (a lot via MFC) for many years until C# really took over.
I think C# really did help to make nicer/gentler/prettier code for the most part. But of course that is because it had the privilege of being further from the metal in most cases.
Anyways, I recently wanted to see what all the fuss about Rust was so I picked up the fantastic book, The Rust Programming Language (Covers Rust 2018)[^] (No Starch Press) and started into it.
I built a little app (GitHub - raddevus/watcher: File System Watcher implemented in Rust - can watch events on directories & tail files (continuously watches files or directories)[^])which allows you to watch any part of your file system & runs natively on any OS. That's a very cool part.
Sidebar - You can learn a lot by watching what files are accessed by the system.
My Real Point -- And I Do Have One
Ok, but my point is that the things the Rust language developers have done to "fix C++" are amazing (though at times feel annoying & confusing when you are first learning) and they give you a new view of what Programming Languages are really trying to do and how many things were actually done improperly in other languages.
Being a C++ developer makes the experience of learning Rust far richer. I think you'd really like it.
Check Rust out and let me know what you think. Also, let me know what you think of my little file watcher app.
|
|
|
|
|
Will do. I've been meaning to but I've been doing so much IoT stuff these days I haven't had the chance. Rust doesn't target the hardware I target.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: Rust doesn't target the hardware I target.
That's a good point. Now you got me thinking if anyone is working on that -- thinking how gnu toolchain could be leveraged to take Rust and build for different MCUs??? That wold be cool.
Someone is probably working on it.
|
|
|
|
|
Quote: I have this code I wrote that I understand but can't explain to others You are way ahead of me.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Do you really have to explain your code to anyone else? You usual way to is provide an API, document the classes and calls, and call it a day. Since, as I understand it, you are providing a library, that should be sufficient.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
In theory yes, because it implies that the code is at least somewhat understandable to somebody else, which is ultimately about readability and not burying intent behind things like layers of recursive template instantiations.
My APIs are usually as clean as possible. I'm actually pretty good at that, I think. I've had many other people compliment me on that, so in that particular area I'm confident.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: My code might be something of a black box when you dig into it.
This is the real goal of template metaprogramming.
|
|
|
|
|
My employer just announced that masks are optional. Let the naked face happy dance begin!
Software Zen: delete this;
|
|
|
|
|
Gary Wheeler wrote: masks are optional
Was it worded exactly like that?
Because what I see there is: "Come in dressed at Batman if you would like to".
|
|
|
|
|
I'm pretty sure I've seen cloth face masks with a Batman theme around here...
Software Zen: delete this;
|
|
|
|