Skip to main content
Share Your Experience: Take the 2024 Developer Survey
JohnFilleau's user avatar
JohnFilleau's user avatar
JohnFilleau's user avatar
JohnFilleau
  • Member for 9 years, 9 months
  • Last seen more than a month ago
  • Decatur, GA, USA
Stats
221
reputation
5k
reached
3
answers
0
questions
Loading…
About

John Filleau, humble dork trying to make a dent in the world

About Me

Decently good C++ dev who enjoys clean public interface design, obscure language lawyer rules, and making decisions based on solid design tenets. I answer questions on here because it helps me learn and scratches that teaching itch.

My uncommon life journey has helped me appreciate that people come from many backgrounds, regions, countries, and beliefs. I don't tolerate intolerance, nor should you. If you think that somebody's right to exist is up for debate, then the fact that you're an idiot is not up for debate.

I like social justice, being in awe at how eerie it is to enter a park in the middle of a major city and feel transported a hundred miles away, and sweet food.


Learning C++? Read this

Q: I have this problem involving arrays and dynamic memory allocation, how do I...

A: Use std::vector

Q: I can't, I'm not allowed to. This is for class.

A: Your class is setting you up for failure. They should be teaching you how to use std::vector and std::string. If you're not allowed to use std::vector, write your own my::vector. It doesn't need to be complicated.

Q: Why does my program crash when I pass my MyClass object by value / copy construct it / assign it

A: Because you're not using std::vector and you're not following RAII (yes it's a horrible name and doesn't even form a clever initialization).

Q: I don't want to use std::vector because it's too easy / I want to learn how to do my own memory management.

A: If you don't want to use std::vector then write your own my::vector.


Required reading for C++ newbies

How to debug small programs


Required watching for C++ newbies

CppCon 2015: Kate Gregory “Stop Teaching C"

Badges
This user doesn’t have any gold badges yet.
2
silver badges
6
bronze badges
Top tags
8
Score
1
Posts
33
Posts %
8
Score
1
Posts
33
Posts %
1
Score
2
Posts
67
Posts %
1
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %
Top posts