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

I'll never understand the fear some developers have of the for loop.


I don't think Functional Programmers have a fear of for-loops, I think they love for-loops, they just prefer to define them "steps first".

A silly cross-paradigm way to look at it is that a lot of functional programming is about "dependency injecting the for-loop" and "inversion of control of the for-loop". For similar reasons to dependency injection in OOP, functional programming wants to focus on the more interesting to the program abstractions up front and leave the final "for-loop wiring" to libraries or the language itself.

The for-loops don't go away, they are still there as necessary wiring. The functional programmer just wants to "dependency inject" all the interesting piece-at-a-time steps inside that for-loop rather than worry about the entire final wired loop body. Just like dependency injection in OO is supposed to make it possible to deal with a class at a time without needing as much of the entire class diagram in your head all once. Also, just like dependency injection: it's designed so that you have a lot smaller, easier to test pieces that make up the whole.


"Fear" could be a wrong word here. I think there's contempt involved instead. Which isn't justified either though. Everything is a tool, and should be used in a right context. I.e. for loops can be better justified sometimes (I find them useful around 1% of cases, but when they are they do their job well)


That there's nothing to stop another developer from coming along and putting another for loop inside it.


Location: EU

Remote: YES

Willing to relocate: for the right location and the right position.

Technologies: Typescript, Node, C#/ASP.NET, T-SQL, PLPGSQL, C, Windows, RHEL, MacOSX, Docker/podman, SQL Server, PostgreSQL, RabbitMQ...

Résumé/CV: on request.

Email: alex@ixai.net

  Senior Full Stack developer and Software Architect with 20 years of experience. Originaly from France, lived 10 years in the UK and now based in Spain.
Open source

  SKSQL a database engine in Typescript https://github.com/alexraffy/sksql
  
  Skelet a low-code platform https://github.com/alexraffy/skeletui


  Location: EU
  Remote: YES
  Willing to relocate: for the right location and the right position.
  Technologies: Typescript, Node, C#/ASP.NET, T-SQL, PLPGSQL, C, Windows, RHEL, MacOSX, Docker/podman, SQL Server, PostgreSQL, RabbitMQ...
  Résumé/CV: on request.
  Email: alex [at] ixai.net
  Contract @100€/h or full-time for the right position.
  
  Senior Full Stack developer and Software Architect with 20 years of experience. Originaly from France, lived 10 years in the UK and now based in Spain.
  
  Currently writing a SQL engine in Typescript for fun: https://github.com/alexraffy/sksql



Wow, that video is impressive. I played clarinet when I was in an orchestra decades ago and I was always jealous of the 1st Clarinet who got to play the Rhapsody in Blue intro. There are so many fun little things in there. I didn't think it was possible to simulate some of the techniques in MIDI.


Duolingo is super frustrating if you're learning Spain-Spanish, there are lots of complaints of them not adding Spanish variants of words and Duolingo hasn't moved on it at all in 5+ years.

The premium version is not worth it at all.


How to cut vegetables.

There's a lot of people with a fear of cooking, but it really is not a magic skill.

There are just a few techniques that need to be learned to get started and those don't need hours and hours to be understood.


Hi, I'm working on something similar but targeting Web frameworks for the moment. https://skelet.app


Need that mobile app. Good luck!


Not a game dev but I guess you could go quite far with just an IRC server. Crosshatch your world in chat rooms, with a bot in each one.

A player sends a command to his current chat room; the bot validates the player position and current action.

Other players listen to bot responses in all nine chatrooms around them.


Great to see NASA and ESA working together in this selfish era. The world needs more collaboration between people.


Like this?

An American, a Russian and the first Arab astronaut from the UAE all just headed into space together:

https://time.com/5686017/international-space-station-uae-ast...

... I've always admired the capacity for various Space Agencies to put any current (geo)political, social etc. issues aside in the pursuit of science. This isn't a new thing, but you are right - we can all take a page from their book.


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

Search: