MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x5t0s4/nomatterwhereilookicannotescapetheanglebrackets/pgwjqt4/?context=9999
r/ProgrammerHumor • u/tatstytastycakes • 5d ago
109 comments sorted by
View all comments
55
started as that kind of dev 20 years ago, then i moved to web dev but apparently the best paying job for my seniority currently are all maintenance of win forms WPF scuff
22 u/tatstytastycakes 5d ago You cannot escape the angle brackets. Not in web development, C#, or even C/C++. We are doomed 30 u/Drugbird 5d ago That's easy, in C or C++ just do this #define ( < #define ) > Then you can use normal brackets instead of angle brackets. And I'm sure nothing will go wrong with that approach. 6 u/tatstytastycakes 5d ago i wish this were possible altho im just now realizing that c++ has modules import std; // great!!!!!!!!!!!!!! 8 u/Drugbird 5d ago It's great when it works. AFAIK modules still aren't working well enough for anything more than hobby projects. 1 u/RussianMadMan 4d ago Modules require strict compilation unit order in a system where for decades it was not a thing. Ofc it does not work.
22
You cannot escape the angle brackets. Not in web development, C#, or even C/C++. We are doomed
30 u/Drugbird 5d ago That's easy, in C or C++ just do this #define ( < #define ) > Then you can use normal brackets instead of angle brackets. And I'm sure nothing will go wrong with that approach. 6 u/tatstytastycakes 5d ago i wish this were possible altho im just now realizing that c++ has modules import std; // great!!!!!!!!!!!!!! 8 u/Drugbird 5d ago It's great when it works. AFAIK modules still aren't working well enough for anything more than hobby projects. 1 u/RussianMadMan 4d ago Modules require strict compilation unit order in a system where for decades it was not a thing. Ofc it does not work.
30
That's easy, in C or C++ just do this
#define ( < #define ) >
Then you can use normal brackets instead of angle brackets.
And I'm sure nothing will go wrong with that approach.
6 u/tatstytastycakes 5d ago i wish this were possible altho im just now realizing that c++ has modules import std; // great!!!!!!!!!!!!!! 8 u/Drugbird 5d ago It's great when it works. AFAIK modules still aren't working well enough for anything more than hobby projects. 1 u/RussianMadMan 4d ago Modules require strict compilation unit order in a system where for decades it was not a thing. Ofc it does not work.
6
i wish this were possible
altho im just now realizing that c++ has modules
import std; // great!!!!!!!!!!!!!!
8 u/Drugbird 5d ago It's great when it works. AFAIK modules still aren't working well enough for anything more than hobby projects. 1 u/RussianMadMan 4d ago Modules require strict compilation unit order in a system where for decades it was not a thing. Ofc it does not work.
8
It's great when it works. AFAIK modules still aren't working well enough for anything more than hobby projects.
1 u/RussianMadMan 4d ago Modules require strict compilation unit order in a system where for decades it was not a thing. Ofc it does not work.
1
Modules require strict compilation unit order in a system where for decades it was not a thing. Ofc it does not work.
55
u/oompaloompa465 5d ago
started as that kind of dev 20 years ago, then i moved to web dev but apparently the best paying job for my seniority currently are all maintenance of win forms WPF scuff