Hacker Newsnew | past | comments | ask | show | jobs | submit | andreasgonewild's commentslogin

JavaScript and PHP are badly/barely designed languages, period; no amount of excuses and comparisons is going to change the fact. Anyone with a bit of experience in either Ruby or Python will tear their hair out when doing JS, because they know it doesn't have to be that difficult. These days it's looking more and more like C++ every day...


This is of course my personal opinion, but I think you're suffering from exactly what OP mentions. I'm not trying to be conflictive or anything, but this is in my experience the same argument that every language evangelist uses.

I started with C in my early teens (first book I found, lucky me) and I've gone through the VB, PHP, Java, Python, Ruby, and Javascript phases. Honestly I've seen great engineering in all those languages (maybe not VB) and those projects have all been easy and pleasurable to work with (maybe not Java). I've also seen hideous stuff that's a total sanity destroyer. At least for me the main contributing factor to language dislike is dealing with shitty code. Except Classic ASP... That stuff is poison.


I code in Ruby everyday and I think JS is a far superior language. Javascript has closures, modules and hoisting that complies and stores functions and variables before executing.

In Ruby code starts executing before everything is initialized making it unpredictable. Also JS is just so much smoother is composable. It's far superior to RUBY IMO


That says more about Java than Script though, and I've done enough of that to feel your pain. Coming from plenty of experience with sane dynamic languages (Common Lisp/Smalltalk/Clojure/Julia), it looks exactly like the madness it is. It's a difference in perspective, that's all. It's not about foolproof, it's about having any kind of intellectual integrity at all.


C is primitive but powerful. Go is primitive and safe. I would classify the Wirth-family of languages as safe but powerful. It all comes down to power; Go was explicitly designed to enable armies of lesser code monkeys to work together without anyone getting hurt.


At least they're producing binaries, not claiming their "abstract web hardware" is "near native" when it takes 100MB of browser to say "hello, world!".

Web developers are even lower on the totem pole.


I don't understand how you would not call Go as powerful. And it is far from primitive.


Because real languages allow creating your own abstractions to fill the gaps, Go doesn't. Witness the total lack of decent error handling and data structures; despite probably thousands of people trying their best from user code. It's the iPhone of programming languages.


“It's the iPhone of programming languages.”

Is that supposed to be an insult?


For a programming language, I much prefer function over form. Same goes for gadgets, but that's another story.


As far "primitive and powerful" goes, C is for pussies. Real men[0] code in assembly or Forth.

[0] https://en.wikipedia.org/wiki/Charles_H._Moore

edit: Golang rulez!


Good luck with that.


That, or some sort of Forth; the separate keyword also enables calling anonymous functions recursively:

https://github.com/andreas-gone-wild/snackis/blob/master/sna...


Been there, done that :) It's a neat trick, but the issue for me is that you still need to pass a separate struct for state which breaks the illusion enough that you might as well just write an ordinary iterator.


I agree. If you want user-level threading, just use a stack swapping library like libpth.


Most well-written portable interrupt code needs to pass an explicit context anyway, so... it's not as bad as it sounds.


How can it be better when it fails randomly and we don't even understand how it works? Where I come from, that's the worst kind of software.


Write lots of code, in different languages; find increasingly real problems to challenge your skills. Unless, of course, you're just interested in becoming another whatever; then you're better off memorizing buzzwords and JavaScript frameworks.


Yes, and rape seed oil has the about the same combination of fatty acids as olive oil; which is healthy; but it's still poisonous gmo crap. Same goes for HFCS. The amount of genetic manipulation, processing and refining matters.


[Citations needed]

Very much so, in fact. Otherwise your post is simply unfounded paranoia.

Specifically, prove your assertion that rapeseed oil is "poisonous GMO crap".


Google not working for you? I picked this at random, you'll have to use your own brain if you want to know more:

https://draxe.com/canola-oil-gm/

"Canola oil is a Canadian invention that’s backed by Canada’s government, cheap to manufacture, and many packaged or processed foods contain it. Canola oil was first created in the early 1970s as a natural oil, but in 1995, Monsanto created a genetically modified version of canola oil. As of 2005, 87 percent of canola grown in the U.S. was genetically modified, and by 2009, 90 percent of the Canadian crop was genetically engineered."


"Just Google it" is very much not acceptable as a source.

So your primary source is a blog run by a "doctor of natural medicine" (or possibly a chiropractor), aka a fraud?

It may very well be that a lot of canola is genetically modified, but what is your proof that this has any negative health effects at all? Aside from baseless paranoia, of course.

Here's some info for you:

https://badscidebunked.wordpress.com/2015/12/08/axe-idental-...

https://rationalwiki.org/wiki/Joshua_Lee_Axe


Go kill yourself (?) for someone else's (?) profit then, you can lead a horse to water but not make it drink.


You're not being very constructive. Please provide some reliable and trustworthy sources.


Rapeseed grown in the EU is not GMO.


Pharo (http://pharo.org) is also worth mentioning on the subject of modern Smalltalk environments.


Ok, I've added Pharo to the article.


This boils down to a fundamental divide in life view. Anyone who has done any amount of expanding their consciousness will tell you that there is a ghost in the machine. It's always a mistake to assume that all you can see is all there is to see.


I do some AI work and recently have been thinking on this, can you expand on this. Or point me to the right direction regarding this idea.


It's always there for anyone to grab. Try lying on your back with all your gadgets turned off and eyes closed; and observe your brain thinking for a while; which is about as difficult as meditation needs to be. Might take some practice to not identify with the thoughts and get carried away, or to not block yourself by trying too hard. Then ask yourself while lying there: Who am I? Literally :) Who is observing the thoughts? The experience is not of this world, it can't be transferred using words. There are other ways to get a glimpse, mushrooms, ayahuasca etc; but introspection is the way to go for lasting results. I spent 32 years writing software, and I just know that a computer will never be able to do the same thing.


I am a materialist, there is no magic :)


I agree that there is no magic, but evolution has done some pretty impressive initialization.


You are also most probably human, have you even bothered to have a look inside?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: