me

The Hague, The Netherlands
Joined July 2023
Fresh account to start from scratch and focus on software only 🤓
1
533
Better safe then sorry😅 Organizing my book.. don’t know what went wrong here 😁
91
So I’m doing Swift. That language that is.. But now YouTube recommends me Taylor Swift the whole day… At some point I have to explain that at home. #swift #swiftui #nottaylorswift
54
I'm available for consulting and/or short-term freelance missions! 👋 I've been in the game for 17 years, with 8 years of experience with Laravel. 💪 Want to learn more about me? I have a 40K monthly visitors blog, a LinkedIn, and a GitHub. 🔥 RTs welcome, they help a lot! 🙏
3
12
1
47
8,541
Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad Not all duplication is bad
18
Sometimes you have to....
19
I think we need a final final keyword to prevent removing final from php classes in vendor packages. Proof me wrong! #php
22
So far so good! Of course it helps a lot when you have some coding experience under you belt. So far the code looks pretty clean. Feels like python with a flavor of javascript with a better implementation or types. 🎉 I just finished Day 3 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swi… via @twostraws
2
72
Enums in Swfit Enumns(enumerations) makes sure you use the right value for a certain type. This prevents from assigning invalid values to a variable. For example, September is not a valid weekday, but this code is perfectly valid: var weekday = "Monday" weekday = "September" To prevent these human errors, we have enums to enforce the values that can be assigned to a variable. enum Weekday { case monday case tuesday case wednesday case thursday case friday } Now instead of using strings, we will use an enum value: var day = Weekday.monday We can use this short notation, when reassigning the enum value: day = .tuesday For me its easy to type tuesday as teusday... Using enumns prevents these spelling mistakes ending up in our code! #100DaysOfSwiftUI #Swift #coding
24
Sets in Swift Sets differ from arrays: - Sets can not contain duplicates - Sets does not have an order You can create a Set from an array. Sets will remove duplicate values. You can use set.append() to add an item to a set. Running set.contains() is much faster than running array.contains(), as the array needs to check every item. #100DaysOfSwiftUI #Swift #coding
65
I will probably use this a lot, so added CMD+R to "Run My Code" in Swift Playground: #100DaysOfSwiftUI #Swift #coding
2
62
In Swift, Dictionaries are arrays with defined keys. Just like associative arrays in PHP. Dictionaries always have a default value, to prevent code from breaking. This is indeed one of the reasons In PHP I almost never access values by array keys directly, but prefer objects instead. #100DaysOfSwiftUI
23
Ok, I am not supposed to rush it, but some stuff is pretty basic if you have some experience.. Sorry i combines lessons, so I can keep up with my colleague who is on day 32...😅 🎉 I just finished Day 2 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swi… via @twostraws
23
var vs let in Swift... So let in Swift is what const is in Javascript... Better remind that one 😅 🎉 I just finished Day 1 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swi… via @twostraws tt
18
Lets do this ! 😎 🎉 I just finished Day 0 of the #100DaysOfSwiftUI at hackingwithswift.com/100/swi… via @twostraws
5
42
Does anyone knows what these exclamation marks mean when running tests in parallel in #laravelphp?
1
58
Ok, my dataprovider method where not static... All clean now 💪😎👍
49
Besides TDD-ing a remote API implementation, I really like to have a console command for every API call I implement. This gives me an easy way to inspect api calls on production later on. #laravel #php #programming
84