|
I suffered that pain a while back. I switched to Visual Studio Code which works in native Linux and Linux on WSL.
|
|
|
|
|
In a Lounge post a couple of weeks ago, I asked about using Windows 10 to develop C++ for Linux. VS Code seemed to be a clear winner, so I'll likely switch to it someday. What's blocking me is builds, for which I use VS2017.
For WSL, MS recommends CMake. That looks to be about as fun as vi, so you'd think MS would provide a tool for converting VS project files to CMake. Think again.
But I did find a tool[^] that supposedly does it. What it generated seemed to do most of what was needed, but it failed on a shared properties file that controls various compiler and linker settings. So I'm stuck with VS2017 until this tool gets fixed or MS gets their act together. Porting to Linux isn't urgent, so I'd rather wait than struggle with CMake.
|
|
|
|
|
I always use make in Linux (and WSL), even though it means creating Makefiles by hand.
|
|
|
|
|
Richard MacCutchan wrote: creating Makefiles by hand.
You are a God amongst men.
|
|
|
|
|
Really? Make is nasty but simple. I use it because I can't figure out CMake. They're easy to write if you can get over their use of whitespace, which i hate
Real programmers use butterflies
|
|
|
|
|
Whitespace?! And you diss Python because it gives indentation significance? Why do people put up with this shite?
|
|
|
|
|
Unfortunately because enough other people put up with it that it became the de facto standard.
Real programmers use butterflies
|
|
|
|
|
That's almost like Yogi Berra's quote, "No one goes there anymore. It's too crowded."
|
|
|
|
|
honey the codewitch wrote: Make is nasty No more so than many other products. I used it extensively in my working life, and found it had uses beyond simple software builds.
|
|
|
|
|
I'm mostly referring to the syntax, and it's about as bad as perl given that it has a smaller surface area. It makes bash look positively readable by comparison.
Real programmers use butterflies
|
|
|
|
|
Any syntax is 'bad' until you learn it. C, C++, Java, Smalltalk, even COBOL ...
|
|
|
|
|
I mean specifically bad as in poorly designed.
Not all syntax is created equal despite your implication to the contrary.
Significant whitespace is nonsense, for example, both from a parsing standpoint, and from a usability standpoint. Technically speaking it's Broken As Designed.
Same with things that cannot easily be remembered by way mnemonic or anything like that. Make is littered with that.
Just like code can be readable and unreadable, so can syntax. A grammar can be well designed, or it can be designed poorly.
C# is an example of a well designed grammar. Make is an example of a poorly designed grammar.
It is what it is.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: C# is an example of a well designed grammar. Make is an example of a poorly designed grammar. As with most things in life, it depends on your point of view.
|
|
|
|
|
A) Try parsing the syntax. Significant whitespace presents real technical challenges to parsers.
B) Try remembering the syntax. If it can't be easily remembered, it's always going to be niche**. See also, vi.
** or replaced with something that is better.
Real programmers use butterflies
|
|
|
|
|
Thanks for the video, it came at an opportune time.
|
|
|
|
|
Sorry my automated systems failed - you should have a copy of the book in your inbox now.
Have a great day!
|
|
|
|
|
Hi David, yes just arrived, thanks. Having watched the video, I look forward t reading the book.
|
|
|
|
|
I hope you enjoy the intellectual journey!
Best wishes.
|
|
|
|
|
Me too!
.. mostly because it worked well for me in 2003 and googling a makefile takes about 2 minutes, so why change?
|
|
|
|
|
|
A dear friend of mine, Richard Jones (now sadly departed), had a notice on his office wall that read
"I know you think you understood what I said, but I don't think you understood that I didn't say what I meant"
I have no idea where that quote came from.
|
|
|
|
|
Reminds me of "I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve."
|
|
|
|
|
A boss of mine actually said that to me once.
|
|
|
|
|
How about "emacs and vi both suck, you feeble penguin-molesting twit"
Software Zen: delete this;
|
|
|
|
|
In the Before Times, we talked about WYSIWYG(*) being a big deal. (*) What You See Is What You Get
With the advent of artificial intelligence and machine learning, it's DWIMNWIS - Do What I Meant Not What I Said.
Software Zen: delete this;
|
|
|
|