Live data from Hacker News

Programming Languages - Hammer Principle

hammerprinciple.com

51–56 of 56 posts

Re: Programming Languages - Hammer Principle

#51
post #4

Earlier quoted context omitted.

I enjoyed Visual Basic's top few: * I am sometimes embarrassed to admit to my peers that I know this language * I am reluctant to admit to knowing this language * The thought that I may still be using this language in twenty years time fills me with dread * This language is frequently used for applications it isn't suitable for * Code written in this language tends to be verbose * This language is likely to be a pass…

I learned Visual Basic .NET in high school. It honestly wasn't nearly as bad as its reputation. It's more like a watered down C#. It's pretty decent once you get past the syntax. There's still no reason to pick it over C# though. One thing I can say I prefer in VB.NET is the handles syntax - private sub blah blah .. handles object.event. A bit more elegant than C#'s making the event function and adding it to the obje…

Visual basic 6 was/is allot worse than VB.net

VB.net is just the same as C# with a different syntax.

My evolution went something like this:

BASIC -> VB6 -> (VB.NET + JAVA) -> C#

Knowing VB.net and JAVA I pretty much picked up C# on day one of my first job.

Re: Programming Languages - Hammer Principle

#52
post #49

Earlier quoted context omitted.

> But then at least that should have been written on the page. As of this comment, #12 is I would use this language for a web project. #14 is I know many other people who use this language. #16 is I learned this language early in my career as a programmer. #17 is This is a mainstream language.

If you scroll down far enough to "all statements," yes. But none of these are popular apparently.

... all or nothing, huh?

Re: Programming Languages - Hammer Principle

#54
post #48

Earlier quoted context omitted.

I don't agree. PHP is fast, in development and in execution, and has a wide range of libraries (sort-a) built in to it. If you need the 1.000th prime number, a list of every possible name with 4 characters, or a working webpage, PHP offers it all. Of course, if you take each case individually, you might want to consider other languages. But having to learn another ten programming languages which are slightly better f…

> costs a lot of time and effort This is where I disagree strongly: as a programmer you should already know all ten of them [languages] and constantly be on a look out as to which of them use where. While in time my set of immediately usable for not trivial tasks languages was morphing significantly, I tried to keep my toolbox full, maintaining a solid 6 (my mind seems comfortable with that many) languages ready for…

All I'm trying to say is, I like PHP, I use it a lot for 'daily use'. That is, programming small things for personal use. I gave some examples earlier.

And as I said, there are situations you'd think of another language than PHP, but that doesn't mean programming in PHP is a bad practice.

Re: Programming Languages - Hammer Principle

#55
post #54

Earlier quoted context omitted.

> costs a lot of time and effort This is where I disagree strongly: as a programmer you should already know all ten of them [languages] and constantly be on a look out as to which of them use where. While in time my set of immediately usable for not trivial tasks languages was morphing significantly, I tried to keep my toolbox full, maintaining a solid 6 (my mind seems comfortable with that many) languages ready for…

All I'm trying to say is, I like PHP, I use it a lot for 'daily use'. That is, programming small things for personal use. I gave some examples earlier. And as I said, there are situations you'd think of another language than PHP, but that doesn't mean programming in PHP is a bad practice.

> but that doesn't mean programming in PHP is a bad practice

Of course not! We are agreeing on this - I'm just noting that programming exclusively in PHP (or any other language for that matter) is bad practice. I have nothing (or not very much) against PHP :)

Post reply on HN