Profile cover photo
Profile photo
Erik Mattheis
177 followers -
Cook, programmer
Cook, programmer

177 followers
About
Posts

Checking in for 2018 here by announcing I am looking for an experienced JavaScript developer to work on a MEAN app. Seems like about 150 hours, but it's very early. Looking for strong Node.js/NoSQL experience. Email me? erik@mattheis.org
Add a comment...

Post has attachment
After using it exclusively a couple days, I changed my default editor to Visual Studio Code from Atom and thought if anyone was possibly interested in this fact they would be here.
Photo
Add a comment...

Post has attachment
I had pho with beef. Yum!
Add a comment...

Post has attachment
Hey, +Annette Price - is it possible to change our marital status on here?
Photo
Add a comment...

Post has attachment
The first blog post I've made in 21 months!

Every time I have a coding problem that takes more than a few minutes to solve I have the thought, "Wow, I should have been able to find someone with a blog or on Stack Overflow who has written about the exact same problem I have..."

Obviously, there have been too many people like me, not sharing their solutions. Maybe I am testing out a 2017 resolution - "share more solutions".

Anyway, this is pretty specific and although I expect you to be thrilled I made a blog post, you will likely not find the post interesting unless you are hosting with Amazon, have your app behind an Elastic Load Balancer, your app in running on Apache and you want to forward all insecure requests to their secure counterpart.
Add a comment...

It's dinnertime on Friday and I've done about 1/3 of the billable work I would have liked to and I really hate PHP. It is because I believe the language is horrible more than I believe I don't have the patience or forgiveness to work with it without getting angry.

So I googled "Why does PHP suck?" in hopes to do some cathartic reading and get back to solving problems but instead it made me aware of new shortcomings and inconsistencies I had previously been blissfully unaware of.

I had no idea you could, of you want, have a variable and function with the same name.

PHP isn't my main things, I just know how to use it enough to do things with it. My impression of PHP programmers is that many of them write messy, inconsistent code because they either are poor programmers or like that their code is difficult to follow. I realize now that many probably write bad code because the language they are writing in sets the bar so low for what is acceptable.

When looking at code that mixes conventions - for example, sometimes converts a whitespace to an underscore but sometimes omits it, sometimes names a function action_object and sometimes object2_action2 but the language itself does this:

date_parse
parse_url

The only ways to remember if PHP wants you to write parse_url or url_parse are to memorize it or guess. That is a waste of brain cycles.

Boy do I hate PHP.
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Add a comment...

Post has attachment

Post has attachment
Add a comment...
Wait while more posts are being loaded