Live data from Hacker News

Programming blogs

danluu.com

51–60 of 64 posts

Re: Programming blogs

#51

Earlier quoted context omitted.

I know I shouldn't be turned off by this, but I so am. And I'm starting to dislike the dev-community more and more for each day I try to learn programming myself. Elitism at its worst. I guess it started a few years back when I started an introductory programming-class at university where I was supposed to learn Java. I had already tried some light-weight languages like HTML and CSS and felt comfortable modding Wordp…

Since JavaScript is the only way to achieve a lot of things people want to do it is not going anywhere, even when the craze for server-side JS eventually dies.

my biggest interest in server side js is what i call offloading

i have server side code that can do a lot of heavy data calculations, and i client side code that can do a lot of heavy presentation calculations, and then i have the internet as a connection between them

since the presentation layer is burdened by needing to be sent to the client over the connection i have a constant optimisation interest in the size of the client code

if i am concerned about the time and data cost on the client, i can do a lot of presentation calculations on the server and send the results stead the source that found them

alternatively, if i am unconcerned with the time and data cost on the client, i can send more server code to the client to offload some of the work to relieve the server

because of this constant optimisation interest i always duplicate my server functions, whatever language they may be, in the presentation source.. currently javascript.. and vice versa

so i can decide on the fly where any function will run when situations define the optimal configuration

server side js would limit the extra work in some cases

but i doubt i'd utilise it because i find the transliterating step to be valuable in hardening the code and logic underlying

Re: Programming blogs

#52

I love Scott Hanselman's blog. It's one of those blogs I check in with every so often. http://www.hanselman.com/blog/

Are we allowed to mention our own blogs? :) http://datagenetics.com/blog.html

Since you did I might as well. Me and my brother are starting out on our blogging "careers" so I would love to hear your opinions http://codecleane.rs

It's about software craftmanship in an enterprise environment

Re: Programming blogs

#53
post #21

Earlier quoted context omitted.

The mockery/bullying that happens around technology decisions in the field is regrettable. It's really unfortunate that this kind of behavior turned you off of programming or any curious pursuit. That's not cool. Definitely do not let this attitude affect you at all. But it's also not a behavior that is particularly uncommon outside of software. It's a kind of tribalism that you often see in communities everywhere. S…

I don't want anybody to get turned off from anything they want to do, but I think it's worth realizing that we used to see tribalism as a badge of honor. You don't feel like you belong when you're young or just starting out because you don't yet belong . I remember reading programming blogs when I was starting to program and instead of feeling like those guys were elitist jerks who were excluding me, I thought, man,…

The ones you wanted to emulate were probably not the elitist jerks, at least, I hope so :-)

The really good ones will usually go out of their way to help neophytes.

Re: Programming blogs

#54

Earlier quoted context omitted.

Realistically, if you decide you are going to design a language where types are always coerced to perform operations instead of stopping execution when mismatched types are encountered, the choices JavaScript makes are pretty sensible.

> if you decide you are going to design a language where types are always coerced to perform operations instead of stopping execution when mismatched types are encountered Realistically, you've stop being sensible at this point. If you insist on going that route, you'll need to define stuff like addition between an object and an array, and there is just no good way to do that. Making your failure modes safe is a sens…

There are real advantages to doing this, especially when you consider the kind of stuff JS was originally intended for (for instance, non-programmers can write very simple JS that handles input text without having to understand a type system and parse strings as numbers).

Re: Programming blogs

#55

Earlier quoted context omitted.

Since JavaScript is the only way to achieve a lot of things people want to do it is not going anywhere, even when the craze for server-side JS eventually dies.

my biggest interest in server side js is what i call offloading i have server side code that can do a lot of heavy data calculations, and i client side code that can do a lot of heavy presentation calculations, and then i have the internet as a connection between them since the presentation layer is burdened by needing to be sent to the client over the connection i have a constant optimisation interest in the size of…

Well, you don't really need server-side JS to do that, but I can see how it would save some work.

Re: Programming blogs

#56
post #9

> a hacker who will stay up till 4:00 AM rather than go to bed leaving code with a bug in it. Question for other folks here: In your experience, does staying up until 4:00AM tend to lead to you being more or less productive in the long term?

Both. There are two scenarios where I'm staying up until 4am.

1. My three bosses were harassing me all day about deadlines. At home I can't sleep because of the stress: "I'm not going to sleep until I fix this bug because we have a deadline." => useless and unproductive. Net negative productivity.

2. Quiet day at the office. Just had a decent meal with friends. Get home to a quiet house at 9pm. Flip the computer on not even planning to work. "Hmmm... wait a sec this is interesting. I wonder if I could... What time is it? Is that the sunrise?" => likely did something in one night that would take weeks/months in an office setting.

Re: Programming blogs

#57

Earlier quoted context omitted.

Are we allowed to mention our own blogs? :) http://datagenetics.com/blog.html

Since you did I might as well. Me and my brother are starting out on our blogging "careers" so I would love to hear your opinions http://codecleane.rs It's about software craftmanship in an enterprise environment

Looks great. Here is a quick tip that I think could really help first-time visitors and of course your own blog. I think you could add an "about" page just to let people know what your site is about. I hope this feedback is useful as is my intention.

Since we are on the subject of personal blogs is http://www.new2code.com which aims to help people get their first job in tech. I expand on other themes in the future but right now I want to learn and share as much as I can about getting that first software development job.

Re: Programming blogs

#58
post #6

Earlier quoted context omitted.

I love that video. There is nothing offensive in the video, I think he does a pretty good job explaining how bat shit ridiculous javascript is. If you are writing js professionally and haven't already come to terms with that and the existential crisis it entails... you're gonna have a bad time.

I know I shouldn't be turned off by this, but I so am. And I'm starting to dislike the dev-community more and more for each day I try to learn programming myself. Elitism at its worst. I guess it started a few years back when I started an introductory programming-class at university where I was supposed to learn Java. I had already tried some light-weight languages like HTML and CSS and felt comfortable modding Wordp…

> and I've learned that no languages are better or worse than others

I don't think this is True though. Languages are different, and there is no 'best' if you stick to very broad standards of 'best'; But certain languages certainly have better net utility then others, relative to the market.

Re: Programming blogs

#59
post #7

Uncle Bob anyone? http://blog.cleancoder.com/

Nope, Uncle Bob is a know-nothing blowhard with a grossly inflated opinion of his own competence and an attitude problem to match. Sometimes he says things that are true, and sometimes he says things that are just false enough to be badly misleading, and you can't tell the difference unless you already know it.

He consistently substitutes dogma for evidence and insight.

Not recommended.

Re: Programming blogs

#60
post #59
post #7

Uncle Bob anyone? http://blog.cleancoder.com/

Nope, Uncle Bob is a know-nothing blowhard with a grossly inflated opinion of his own competence and an attitude problem to match. Sometimes he says things that are true, and sometimes he says things that are just false enough to be badly misleading, and you can't tell the difference unless you already know it. He consistently substitutes dogma for evidence and insight. Not recommended.

Interesting. Could you please give an example of one thing he said that was "just false enough to be badly misleading" ? (Not trying to prove you wrong here, just being curious)
Post reply on HN