News for hackers. Stuff that matters.

owenmelbz

Re:PHP 8 in 8 code blocks on Sunday May 17, 2020 @07:59AM (#23211368)
Maybe not for single line calls, but for multi-line helps with some readability and git diffs.

$result = thing(

    $arg1,

    $arg2,

    $arg3,
);
Re:Tailwind: style your site without writing any CSS on Sunday November 04, 2018 @03:44AM (#18374911)
Too much to read xD if anybody gets this far then remember this...

1. People arguing against this are arguing against utility classes and not arguing against tailwind.

2. Tailwind is different - it’s a toolset allowing you to build your own framework - you can use the tailwind config to define your variables and use BEM or what ever you want.

3. Tailwind is utility “first” - so it provides all the utilities you need, YOU decide how to use them, put them all in your HTML if you like, or make components out of them, include them into an existing project, etc.

So everybody here who is being negative towards tailwind regarding utilities is wrong - because they haven’t understood tailwind. - your arguments may be valid for utility classes, but this topic is about tailwind, so your spreading misinformation.

Show HN: Www.fuelled.me – Track fuel expenditure via SMS

Hopefully some of you guys and gals will find this useful, either for your personal monitoring or for business costs.It's my first use of Laravel Spark with Bootstrap 4 so please go easy on me!Currently the costs are there to cover the outgoings and as time goes on the more people that join up the more the costs can get reduced!Please let me know what you think of the product! (not if you think...

( Read More... | no comments | on HN )