News for hackers. Stuff that matters.

ix-hispana

Re:The basics of Svelte in under 3 minutes on Friday January 10, 2020 @10:22AM (#22011553)
Surprised not to see the reactivity feature using the label statements as it is the one thing that sets Svelte apart.
Re:The State of JavaScript 2018 on Tuesday November 20, 2018 @05:29AM (#18492895)
There are lots of new projects being written in Angular as well. Just not in the United States, Canada, or Australia.
Re:Ask HN: Questions from a self-taught (UK) intern on Wednesday September 05, 2018 @06:32AM (#17916633)
Hi, I work on web in London. The prestige of the company isn't as important as having proved you can work and learn. In fact you should probably ask that on interviews - what will you team be like and what kind of opportunities will you have to learn and grow as a dev? It's never good for a dev to work alone, but it's especially harmful for junior devs.

I don't know the market for Haskell. If you want to get into backend for web, you can't go wrong with Node.js. Agencies using those services usually prefer the backend written in Javascript or Typescript so more devs can, in principle, work on both ends. Moreover, you can get into cloud services like AWS and Azure easily if you know Node. I reckon it will be easier to start as generic "web developer" or "junior developer" and then gradually evolve into backend. Specialists tend to be mid to senior.

You should start sending applications on your last month. I don't think it will take you more than that to land a junior role in London (there are many more junior openings than internships). But you can create a Linkedin account today if you don't have one.

Re:Replacing JQuery with Vue.js: No Build Step Necessary on Thursday February 15, 2018 @09:08AM (#16384048)
Sometimes framework peeps can get caught on complex stuff because it's more interesting. While talking about static analysis, HOCs, immutable thunks and so on is cool, I'm glad Sarah went down to planet Earth to speak to the mortals. There's a lot of market potential for Vue in legacy sites.
Re:Ask HN: Technical skills versus people skills on Monday February 12, 2018 @12:46PM (#16360337)
Learning to code is easy. Javascript is easy to work with. Especially nowadays with lots of great learning materials online. Those freelancers weren't born knowing Javascript. They trained. That's how you git gud at things.

Head over to freeCodeCamp and get coding. It doesn't matter if it's too easy at first. Race through it. The good thing about freeCodeCamp is that you have to make a full-fledged product, it's not just examples. Don't listen too much to the sales pitch and don't take seriously the important-sounding words like "become an engineer", etc. Just get coding and complete a project. It's very important that you make something from start to finish on your own. That's the whole point of this bit, really.

When you have finished a project, head over to egghead.io and get the two React courses by Kent C. Dodds. The introductory one is free. The advanced you'll have to buy. It's worth it.

You have three months to do this. You will be more employable -and confident- by May.

Re:The Future of JavaScript Will Be Less JavaScript on Tuesday December 05, 2017 @02:03PM (#15854641)
If javascript goes the ecosystem goes too.

In real applications we need to use social login, share, google maps, shopify buy SDK, S3, Azure speech API and so on. The javascript tools to access all of that are plain old ES5 at best. How will we use them from another language?

Libraries, too. Are we going to find ourselves writing our own custom dropdowns and datepickers in C++? Not to mention our own view update and state management libraries.

This is the reason there are next to none real world examples of web apps made in Elm. No communication with planet Earth.

Re:7 JavaScript hacks for ES6 hipsters on Friday December 01, 2017 @05:12AM (#15823010)
The ...thing still feels like magic to me.

The rest are pretty common, I would not consider reduce() or passing an object to a function instead of separate arguments hipster hacks at all. "Options" objects are ubiquitous in corporate SDKs like AWS and Azure. They are the opposite of hipster.

Re:Ask HN: Is there a space for another JavaScript framework? on Thursday November 30, 2017 @06:14AM (#15814928)
Sure. Svelte is getting ready to "disrupt the market". It differs from the rest in that it tries to do all the work at compile time.
Re:Ask HN: What is development like at your company? on Wednesday November 29, 2017 @07:51AM (#15806365)
I work at a small company. We have 6 javascript developers. All our web projects are node, typescript, and the front end stuff the client wants us to use (though we default to angular). We enforce types for communication with node, so at least you know the structure of all the json going through the network. On the node side we use loopback, which generates a nice site to call the API from outside the project.

We write no tests whatsoever. This is a business decision.

There's a test team of 2 people whose job is to go through our crap (i.e., the user stories) and write docs.

Management has to adapt to clients. Managers use the agile words, but the client's budgeting procedure has to take precedence. Regarding estimations, there's no analyst estimating features and tasks, the developers do it themselves. Developers also talk directly to clients often and go on-site.

Since we're so small (about 30 in total), things are personal. We know everyone personally and can make out who wrote a given piece of code. I think communication must be easier with fewer people. I can't imagine having 500 people committing into my project!

Re:10 Interview Questions Every JavaScript Developer Should Know on Thursday November 09, 2017 @06:02PM (#15666491)
Is he right on composition? He seems to think it's about size ("small units of functionality"). Really composition vs inheritance is about dynamic versus static. Acquiring the functionality at runtime or at compile time. This is explained in the book he cites.

Perhaps I'm missing something.

Re:Software and burnout, how to get gratification? on Monday November 06, 2017 @11:10AM (#15636414)
If you want tickets to fix, join a digital agency. Ask what kind of clients they nurture. Media is good. You want to work making NBC apps for Android. Things like that. You will reach millions.

Such a change might bring a different type of stress. The feeling that you're helping lobotomize a generation with mindless entertainment instead of helping cure cancer. Also, the tickets.

SSR is fairly common nowadays.
Re:Malware identified in CCleaner 5.33 on Tuesday September 19, 2017 @08:26PM (#15289856)
It absolutely has its place. That place just isn't the mainstream desktop consumer.
Re:Malware identified in CCleaner 5.33 on Monday September 18, 2017 @10:21AM (#15276178)
They're going to need something else. X11 and GNOME/KDE/etc will never be mainstream. Ubuntu made a mistake not contributing to Wayland but they were right to try Unity.

Ironically, Canonical is making money mainly with cloud services. Meaning servers - what Linux is good at.

Re:Malware identified in CCleaner 5.33 on Monday September 18, 2017 @08:33AM (#15275264)
Don't go down that rabbit hole. Linux is not for desktop despite many years of efforts. Even the distro with the greatest focus on UI (elementaryOS) looks like a toy. That Linux is hugely successful everywhere EXCEPT in the desktop should tell us something.

Just my honest opinion after 15 years of continuous use in university and work.

XKCD still relevant today: https://xkcd.com/456/

Re:JavaScript Is the Donald Trump of the IT Industry on Thursday August 31, 2017 @11:04AM (#15140796)
You want to use something better than javascript, go ahead and use it. Use Smalltalk. Use Erlang. Use whatever you want.

The difference with Trump is that you can safely ignore javascript.

I don't understand the purpose of this rant.

Re:JavaScript is Eating the World on Thursday August 24, 2017 @11:12AM (#15090740)
Do you mean to tell me my 5000 lines script is no longer acceptable?
Re:Ask HN: What do you hate about JavaScript? on Friday August 11, 2017 @10:24AM (#14989925)
You don't. The todo app is a handy example because you have the CRUD operations and local state. It's meant to show you how to get to grips with a library so you can use it for a real project. The todo app itself is just an example.
I am unworthy: https://jsfiddle.net/0a3dmjqt/

Sorry but I'm not willing to make 40 edits to write a function that adds numbers.

Edit: Variation using the "fp" version of the library: https://jsfiddle.net/0a3dmjqt/2/