Hopefully More Controversial Programming Opinions
Programming in the 21st Century - James Hague - August 29, 2012I read 20 Controversial Programming Opinions, and I found myself nodding “yes, yes get to the interesting stuff.” And then, after “less code is better than more,” it was over. It was like reading a list of controversial health tips that included “eat your veggies” and “don’t be sedentary.” In an effort to restore a bit of spark to the once revolutionary software development world, I present some opinions that are hopefully more legitimately controversial.
Computer science should only be offered as a minor. You can major in biology, minor in computer science. Major in art, minor in computer science. But you can’t get a degree in CS.
It’s a mistake to introduce new programmers to OOP before they understand the basics of breaking down problems and turning the solutions into code.
Complex compiler optimizations are almost never worth it, even if they result in faster code. They can disproportionately slow down the compiler. They’re risky, in that a mishandled edge case in the optimizer may result in obscure, latent bugs in the application. They make reasoning about performance much more difficult.
You shouldn’t be allowed to write a library for use by other people until you have ten years of programming under your belt. If you think you know better and ignore this rule, then one day you will come to realize the mental suffering that you have inflicted upon others, and you will have to live with that knowledge for the rest of your life.
Superficially ugly code is irrelevant. Pretty formatting—or lack thereof—has no bearing on whether the code works and is reliable, and that kind of mechanical fiddling is better left to an automated tool.
Purely functional programming doesn’t work, but if you mix in a small amount of imperative code then it does.
A software engineering mindset can prevent you from making great things.
Categories: Blogs Programming in the 21st Century
Erlang on Twitter
» yunomu11 (Yusuke Nomura): RT @benymd_bot: @yunomu11 さんの特徴語。ビルド,ラブライブ,Haskell,Java,ライブラリ,パーサ,はてなブログ,コンパイル,モナド,面白い,バグ,プログラマ,TARI TARI,コード,サーバ,関数,AWS,Erlang,API,データ,クォー…
» macintux (John Daily): RT @aeden: I’ll be speaking at @strangeloop_stl on Erlang for Authoritative DNS: https://t.co/Jx4GoQ0ByY - I’m so excited!
» FrancescoC (Francesco Cesarini): RT @joeerl: reading the program of #erlang users confernce http://t.co/dsYbZiuKMy
this is going to be *very* interesting, and in june in st…
» cmeik (Chris Meiklejohn): RT @aeden: I’ll be speaking at @strangeloop_stl on Erlang for Authoritative DNS: https://t.co/Jx4GoQ0ByY - I’m so excited!
» ErlangInfo (Erlang!): RT @aeden: I’ll be speaking at @strangeloop_stl on Erlang for Authoritative DNS: https://t.co/Jx4GoQ0ByY - I’m so excited!
» ErlangInfo (Erlang!): RT @JonGretar: An suggestion for a good connection pool lib for using with eredis? #erlang #lazytweet
» fernandoike (fernandoike): RT @joeerl: reading the program of #erlang users confernce http://t.co/dsYbZiuKMy
this is going to be *very* interesting, and in june in st…
» ErlangInfo (Erlang!): RT @agisanast: ok, it’s actually an IRC bot I’ve been writing in #erlang.. https://t.co/Yo5Dbc18PV
» ErlangInfo (Erlang!): RT @jimmyhwang: Erlang is more interesting than I thought. Many concepts in Golang influenced from Erlang. Also, first time playing with “r…
» ErlangInfo (Erlang!): RT @joeerl: reading the program of #erlang users confernce http://t.co/dsYbZiuKMy
this is going to be *very* interesting, and in june in st…
Statistics
Number of aggregated posts: 10648
Most recent article: May 14, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…