695 karma · joined Dec 14, 2021 (4y ago) · 171 submissions
comment 4y ago · link · parent
Example: Variadic templates. When that happened, the problems we would bang our head against the wall with magically vanished. Twenty years ago, every implementation of the std library had serious bugs in it. It was avoided. Not the case today. I remember a std::map iterators not working. Watcom's C++ had serious flaws with it, but many exciting products were still created with it.
We didn't complain. We were happy, and worked around our problems.
I think the root of peoples issue with C++ is with template meta programming portions of it, which you can completely ignore, and grow into.
comment 4y ago · link · parent
Go fix that for us.
``Can you give an example or two of an application in a functional language would be a disaster?``
Sure, code that tests its self. Not happening. Which means, most embedded applications where fault tolerance is a must. If you don't know what caused the error, well, lets here your ignorant response. Explain how you trap those problems in a functional language, and do it as simple as you can, say in C, or Pascal.
``opposing viewpoint to the popular "right tool for the job"``
So you advocate a hammer for screw. Got it. You're exactly the kinda of person I won't hire. You're so bent on proving you're right, you ignore the right tool for the right job.
comment 4y ago · link · parent
Functional languages are inherently difficult to develop applications that require state to change in non-deterministic ways. In fact, I challenge you to develop a first-person shooter in Haskell (Have fun).
There are many types of applications where functional languages are perfect, but there are more that it would be a disaster. To make broad sweeping claims, such as this article, just encourages unnecessary discourse, and shows the ignorance of the author, and his limited understanding of the domain of problems that functional languages will benefit from, and the larger domain of problems that will not benefit from them.
As an employer, I don't hire people for their functional programming skills. If they have them, the better, but we have over 3 millions lines of code in C++, and close to a million in Java. We are not starting over, and new projects will leverage existing code.
comment 4y ago · link · parent
What she really means, is she would have never imagined sucking every penny out of you, until she got a hold of their software. They get filthy rich, while you need a place to live, and they generate excess profits on false supply and demand models.
Where I live, we have 60% occupancy, but the area is priced beyond anything reasonable. $2500 a month for a studio is nuts. Now we're getting a renters tax from the city. Joy.
comment 4y ago · link · parent
If you don't want to move, then when you get pregnant, go to a state where it is legal.
American's cannot be inconvenienced. These 1st world problems are terrible.
comment 4y ago · link · parent
comment 4y ago · link · parent
I think people are divided. There are those that are vaccinated, like me, and those that are not. I, for one, am done getting the vaccine. I've been jabbed 3 times, and if they can't make a vaccine that works, like they promised, then I would rather develop natural immunity, no matter what the science tells me. Science also tells me that the pesticides they spray on produce in the store are safe. I also avoid that produce as well.
comment 4y ago · link · parent
There was an erroneous political hit job made by the losing candidate, spreading misinformation about the president's ties to Russia.
Then a virus appears, just blocks from a Research Institute that researches the very type of virus that is now in the wild.
Our leaders initially told us masks were not necessary, and that closing the borders would be bad for combating the virus.
Police in Australia are beating people in parks for not wearing masks with clubs. Our leaders fired the very people we need to operate our supply chain for not being vaccinated.
Call it conspiracy, but you don't read novels like this.
“Tis strange,-but true; for truth is always strange; Stranger than fiction: if it could be told, How much would novels gain by the exchange! How differently the world would men behold!” -Lord Byron
comment 4y ago · link · parent
The abstraction portion also gives a tester the ability to see if what comes in, is what needs to come out, without reliance on additional hardware and other sunk costs. A simple example is a currency/bill validator. These are expensive pieces of hardware, and not needed to verify other portions of the system, but a module for that device can be emulated.
Next, it appears he hasn't read the book Pragmatic Programmer, or the book went over his head. "Don't live with broken windows", "Make it easy to reuse", and "Decoupled code is easier to change" are three hallmarks of the book. All three are in contradiction to his article.
If you haven't read the Pragmatic Programmer, I highly encourage you to read it. It is a required read in my company.