ablomen's comments

ablomen | 6 years ago | on: Parsoid in PHP, or There and Back Again

I did not like/see the real benefit of strict typing until actually using Typescript. Now for me the more verbose code and extra typing is vastly outweighed by knowing what arguments the function actually wants, especially when using 3rd party libraries. The time saved by real-time type checking in my editor compared to edit->run->crash->edit is almost unbelievable and the amount of errors in code I ported over that we did not come across in production is also huge. So no, I think the visual overload is definitely worth it.

ablomen | 8 years ago | on: I don’t want to be a software developer anymore

Haha yes a lot of breweries have been started by IT people over here too. To be fair, brewing includes some science, a lot of self learning and creativity, so there is some overlap there.

Not to mention the fact that until recently (over here at least) most beer festivals looked quite a bit like open source conventions, just with different stickers. And the "beer nerds" (including me) I know are just as in to beer as I was in to computers.

ablomen | 8 years ago | on: I don’t want to be a software developer anymore

Coming from a country with cushy laws on the side of employees etc (the Netherlands), and as a male, I can say that I can really identify with the opening paragraphs of this piece.

When I started as all round IT guy 10 years ago it felt like a dream, getting payed for doing what I was doing anyway. And the first 4 years of turning in to a web developer was fun and challenging.

But after a while the shine wears off and getting up every day to make software for clients you are not interested in, with deadlines and promises that where not made by your self, it just drains you.

After finding my own solution (starting up a beer brewery) another thing dawned, sitting behind a computer hours every day for work just is not good for your body or your mind. The money is great, the work can be fun, but at least for me, the best thing I have ever done is starting something totally non-IT (or other office job) related.

ablomen | 8 years ago | on: Javascript Arrays and Functional Programming

In this example it is, but a nice thing about using map, reduce etc is that you can chain them together, ex:

  let out = ["a", "b", "c", 1, 2, 3]
  	// Turn letters to upper case
  	.map(i => {
  		return typeof i === "string"
  			? i.toUpperCase()
  			: i;
  	})
  	// Add one to numbers
  	.map(i => {
  		return typeof i === "number"
  			? i + 1
  			: i;
  	})
  	// split letters and numbers up
  	.reduce((all, i) => { 
  		typeof i === "string"
  			? all.letters.push(i)
  			: all.numbers.push(i);
  		return all;
  	}, { "letters": [], "numbers": [] });
  // => { letters: ["A", "B", "C"], numbers: [2, 3, 4] }

ablomen | 8 years ago | on: Mini.css – Minimal, responsive, style-agnostic CSS framework

Sorry custom elements might have been the wrong term to use. I mean custom interfaces, say an image gallery or a realtime search box where you would use elements like buttons and input's in a different way then the usage this framework defines for you. Using a nav both in your header and sidebar is a different example where these are not good defaults

ablomen | 8 years ago | on: Mini.css – Minimal, responsive, style-agnostic CSS framework

It looks great at first glance. A big problem though is that it styles basic elements. If for example you want to use a <table>, <mark> or <nav> where it would make sense in a custom element you'll have to reset all the styles of the library before adding your own.
page 1