AboutDutch Embedded Software Engineer
SkillsR, Python, VHDL, C
Joined devRant on 8/21/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
My coding style is mostly influenced by good old personal preference, but also because of a certain internship where there was a lot of gain to be had by making everything as reusable and testable as possible.
I guess you could say my motto is usability, readability and flexibility:
I like tidy, reusable code with an emphasis on keeping code readable. I've always liked modular things I guess...
And I despise two things: curly brackets on the next line and spaces for indentation... But way worse is having no brackets at all (looking at you Python): it's clearer to have lower-level code inside some sort of "container" markers i.e. brackets (also gives more IDE functionality like color-coding hierarchically).
Indentation should always be tabs so anyone can have their own width of indentation set through their IDE, making it way more accessible to fellow colleagues!
And I also like having parameterized code over hard-coded functions: way more flexible.
So my team started creating an in-house wiki for all information about our products, methods, scrum, documentation etc. From the beginning we had settled on doing everything in English instead of native language just in case we get a foreign student intern or simply a foreign employee... And now it looks to me that nobody but my team leader and I care about it: half of the documents are either fully native (especially from other part of the team who work on a different project, they have probably never gotten the memo of language choice to start with) or the documents are in some weird-ass combination of English-native which is even worse imo.
I really don't understand why my own team doesn't adhere to the decision though: we're all at least reasonably educated and our country focuses heavily on using English as second language so that should be no big barrier. And why would you want inconsistent documents/code?!
And this is not the first time people don't stick to what is decided for things like formats and language... Getting a bit tired of it tbh...5
So, what are your most favorite methods of saving interesting articles about algorithms, functions or simply news so you can read them later when you have time? I find myself storing links to interesting web pages without really going back to them or remembering which link was what. I shifted to storing the links in evernote but it's still not what I'd ideally like to have...
If there are any recommended routines, apps or tools that make stored links insightful (like allowing me to add a quick description or automatically adding a sort of preview of the link), I would appreciate it!
Please note that this is primarily about saving a resource while I'm on the go or simply can't/don't want to spend too much time on the actions.15
Not really an impressive one, but I think it's blasphemous enough to be mentioned:
Creating an embedded application, it was not supported to print a float using optimized libraries (understandable since they're not really supposed to be used anyways), but I was too lazy to convert clocks to a time unit by hand while running benchmarks. So I just printed the float as two integers, splitting it to one for the whole and one for the thousands.
So am I the only one that hates everything about the new Teams update? Tbf, the zooming function is cool. But I just want to use full screen.7
Is there any way to remove the notifications I get from a bot that are removed afterwards? I'm now stuck with dozens of comment notifications without any way to get rid of them because they don't exist anymore...3
Today I spent 4 hours testbenching and enhancing an algorithm to detect certain metric patterns only to find out that the reason the anomalies weren't picked up correctly was that their metric had some -nan values I didn't check for.... FML2
Every time I talk about a bug/error in my code with my colleague, I end up coming up with the fix myself while explaining it. I accidentally use him as my rubber duck...3
One of the more memorable friends through coding is a guy I met at 9am at what had to be an early lecture with 150+ students. We were both following it as part of a minor but the only ones there: we apparently didn't get the message that it was cancelled because we were no majors...
We decided to just work on the group assignment because why not and became friends.
Little did we know that we had already met dozens of times (but never really talked) the two years before as we are both members of the same students association, only strengthening the bond!
Sometimes not receiving a notice of cancellation is not that bad...
That moment your professor tasks you with writing a genetic algorithm and are forced to use MatLab (which I don't use).
"The University offers MatLab through ssh, so no problems, right?" Only basic package installed...
As cherry on the pie I found out that it's nowhere close to intuitive for me.
Got the feeling I could've done it way faster in the programs I'm used to, but finally got it working!