3,292 karma · joined Jul 1, 2013 (13y ago) · 1,194 submissions
comment 11y ago · link · parent
"Most of it is literally just memorizing a proof." Proofs are more important than memorizing a formula and forgetting it after a couple of month.
"Convinced me to be a math major by inciting my passion for math." That's way more important than stuffing you with formulas, algorithms and problems. If you have a passion for something, learning comes more easily and naturally.
By giving you confidence and passion, he gave you the greatest gift he could possibly give. You can find theorems, proofs, problems and solutions in countless books. The information is there, all of it. Structured in many different ways. And he gave you the courage to go out and explore. I wish I had that as a freshman. Instead I got fear. Fear of failing. Fear of being mocked in class. Fear of not being good enough. And I cowered in fear. I learned mechanically, memorizing formulas and problems by heart. What good where the quizzes, hard exams and midterms to me when I couldn't understand and apply what I was supposed to be learning?
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Moreover, complaining that implementing such a macro is too cumbersome because it implies finding a place for it in your code structure certainly doesn't imply professionalism. Just step back a minute and imagine the fresh intern comes to you with this code and explanation. Would it fly? Or are you just finding excuses because he's the author of a well known library?
comment 11y ago · link · parent
"The reason why I have 15 "max" in my code is because it takes less time to copy-paste max( 15 times than it is to write a macro and think about where I should put it in my code structure!"
Am I the only one who sees a problem with that?
comment 11y ago · link · parent
Modern C++ is just a subset of the language, and nothing prevents the old language from popping up everywhere.
comment 11y ago · link · parent
The servers, on the other hand, have to serve all the million users connected at any single moment. That requires a lot of parallelism, and that's the most likely place where Erlang was successful.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
1131.
ChillHub: Fridge powered by ubuntu(firstbuild.com ↗)
1 points · by rootlocus · 11y ago · discuss
comment 11y ago · link · parent
I always thought that it was easier to be a programmer in the old days. Back when you could assess the performance of a program by counting the number of CPU cycles. All you had to learn was an assembly manual (a mere hundred pages?) and you knew everything there was to know about programming for that architecture. And there weren't that many architectures. Now we have non-deterministic CPUs, hundreds of high level programming languages, multiple operating systems, an entire jungle.
comment 11y ago · link · parent
I'm far from being a fan of Casey. I find that he makes strong statements based on weak arguments. He's overly hateful of Microsoft and C++, despite him using Visual Studio and a C++ compiler. He tries to be pedantic but makes a fair share of mistakes. Some of his architecture design choices left me with a straight face wtf expression.
C++ has it's flaws, that's widely known and accepted by the community. It's even highlighted in the "Effective C++" books. Unfortunately, the best advice given is "don't do that". I believe a vast majority of C++ users will gladly switch to a new language that offers the same level of abstractions at a comparable speed (maybe Go or Rust). For now, C++ users have to understand the language well enough to avoid its many traps and pitfalls. Moreover, new versions of the standard add to this burden. I know of no project built entirely using C++14. People will always have to deal with legacy code.
OOP is just another programming paradigm C++ supports. You're not required to use it, and you're not even paying for it if you're not using virtual methods. Sure, C++ allows you to do a lot of funky things from overloading operators to implicit conversions but that's another of those things everybody agrees should not be used unless explicitly necessary. OOP facilitates encapsulation and polymorphism which are great tools when designing software systems.
C has its elegance and simplicity. C++ has its abstractions and pitfalls. There are always tradeoffs.
1137.
Scientists build single-molecule transistor gated with individual atoms(arstechnica.com ↗)
1 points · by rootlocus · 11y ago · discuss
comment 11y ago · link · parent