loading...
Riccardo Bernardini profile picture

Riccardo Bernardini

I graduated in 1990 in Electrical Engineering and since then I have been in university, doing research in the field of DSP. To me programming is more a tool than a job.

Location Udine, Italy Joined Joined on  Twitter logo GitHub logo LinkedIn logo GitLab logo External link icon
Education

PhD (in DSP)

All 81 comments

Recursion Revealed

Both examples shown have the advantage of simplicity, but the...

Don't be proud of pulling off an all-nighter

In my personal experience I had only one case where a all-nig...

Ruby 3.0.0 Preview 1 Released

As an enthusiast Ada developer, I cheer the introduction of t...

Regex isn't that hard

Am I the only one in the world who actually loves regular exp...

Optimize For Simplicity First

I totally agree with this. Correctness, not efficiency, sho...

What new hobbies have you picked up lately?

I am planning to learn to draw cartoons. You see, I am not...

What language or tool are you curious about, but have not found the time to use or learn?

SPARK/Ada the language derived from Ada suited for formally c...

Examples of the power of Unit Testing

Disclaimer: I'm not a professional programmer (I do research ...

What is the most potentially-revolutionary software currently being developed?

None

Daily Challenge #260 - Subtract the Sum

Ada solution with Ada.Strings.Unbounded; use A...

Daily Challenge #260 - Subtract the Sum

Sum all the digits of n. Base ten is implicit, I suppose.

My first experience with SPARK-Ada

I reply to my own reply to say that I discovered that the lan...

SpaceX and Javascript🚀

This sheds a very ugly light on SpaceX and their commitment t...

Don’t Go To Casting Hell; Use Default Native Types in Go

I program in Ada and we (most Ada programmers) have a differe...

What's your favorite software idiom/aphorism?

Programming in a sentence: A computer is a machine that doe...

A Beginner’s Guide to Git — How to Write a Good Commit Message

I did not know about the double "-m," neat! I work mostly...

Unusual applications for programming 🐹

I am not a expert in elevators, but definitively it is not an...

Let's talk about Linux

I graduated in the 1990 and since then I (almost) used only...

What makes for readable code?

You're right. I think that many compilers could do that au...

What makes for readable code?

I am on the side of readable names. In my opinion (and exp...

What effect is the Coronavirus having on your work life and personal life?

Minimal. I work at the University, so for me working from ...

Reflecting On One Year of Remote Work

I work at a University and remote working is quite natural ...

Why I'm phasing out ternary statements

Usually in this kind of things I have a pragmatic, almost o...

Safer set-uid programs in Ada with the suid-helper library

Good question. Honestly I was unsure between the two vers...

Work Culture Toxicity in Tech

I agree. It may happen every now and then that because of ...

How many programming languages do you know?

So... Languages that I know pretty well and I can be pr...

3 tips for clean & efficient code

If the language allows you, declare pre- and post-condition...

3 tips for clean & efficient code

Another suggestion fairly easy to implement: use descriptiv...

What’s the most under-appreciated software?

The only database that the average person can use without ...

Do you prefer video or written coding tutorials?

Written, written, written. No doubt about it. Videos are ...

How to remove condescending language from documentation

I agree. Honestly, I never considered words like "easy", etc...

The Five Most Common Bugs you Should be Writing Tests for

"Modals are a great way to engage users" Talking with my use...

What is your debugging approach?

Not really, I go with the wind... Actually, my debugging ...

What would the programming language sorting hat pick for you, and why?

Ada forever. I just love its robustness and how you can wri...

What was your first programming language and why?

"As a child I found it fascinating being able make the comp...

What was your first programming language and why?

BASIC, because it was, more or less, the only language avai...

What’s your favorite JS interview question?

I am not a JS expert, but... TAB == 0 ?!? 😲

Apple wants to remove scripting languages from macOS

About the definition of "scripting language" (that I do not...

Is JavaScript the most confusing programming language?

IMHO JS is not just confusing, but it is deeply flawed at t...

When is learning what to Google good enough?

Well, in the specific case of regex I think you should lear...

What do you install first on a new laptop?

Linux Developer tools (gcc, etc.) GNAT Ada LaTeX Emacs Rub...

What's your most re-watchable movie?

Smetto Quando Voglio (I can quit whenever I want), an Itali...

Which types of loops are most popular in the programming languages you use?

Ada is based on old-style grammar, so basically we have the...

Have you ever felt completely helpless when facing down a coding problem?

no. At most lazy and tired

Am I weird?

At the moment I am listening some middle-east pop music :-)...

5 common mistakes made by beginner Python programmers

Default arguments are evaluated only once. Ouch! This w...

The Cost of Premature Abstraction

Actually, my decision on abstracting is made on the basis i...

How often do you restart your computer?

It depends: my work PC is restarted once a week. The reaso...

Convince me that types are awesome

Do not ask this question to an Ada programmer: we are the h...

Why switch is better than if-else

In Ada the corresponding of switch is case. As with many c...

Tell me some useless (or useful) software trivia

Actually, on my ezbook (with US keyboard) I remapped the Ca...

Why do you teach?

I know, right? :-)

Why do you teach?

I teach digital signal processing (so, technically not stri...

TV while coding? Distraction or Motivation?

TV no, definitively too distracting for me, but music is fu...

//TODO: Write a better comment

My usual approach is to put comments in the spec file of a ...

Tell me a bug story

Regex are great! ☺ Seriously, I think I am one of the few...

What is your "Coder/Language Fit"

I couldn't agree more with you. If you check my reply to t...

What is your "Coder/Language Fit"

Ruby and Ada Yes, they couldn't be more different: duck ty...

What are you reading right now?

"Lasers, Death Rays, and the Long, Strange Quest for the Ul...

In defence of meetings

Do not organise meetings that could be an email instead. ...

My first experience with SPARK-Ada

I know that emacs and many other editors (gedit and jedit, ...

Which editor do you use when opening files like .bash_profile, etc?

emacs, always emacs (with 64 K of customization LISP source...

What’s your Computer Environment?

I graduated in 1990 and since then I always worked with *ni...

The "Fake Developer" Conundrum

I graduated in engineering and I am currently teaching DSP ...

What do you wear to work?

I am not really a programmer (I do research in DSP in unive...

Fibonacci in Every Language

It turns out also in DSP, it is a classical example of use ...

Fibonacci in Every Language

Ada (unfortunately seems that no syntax highlighting is ava...

7 Ways to make your Tweets more Accessible

"Today's tea" when read by assistive technology sounds like...

5 Programming Patterns I Like

I use mostly Ada and very sparingly JavaScript, but... (1)...

What are your five most used terminal commands?

1 328 32.8% git 2 137 13.7% cd 3 136 ...

Should You Listen to Music While Programming?

"There is no right or wrong. There is no yes or no. If it m...

We don't need a ternary operator

As usual, the Adaist is different :-) Ada (since 2005, I g...

OOP Overkill

I agree with you. Definitively I do not like the "everythi...

What is a website that you visit regularly despite its technical quality and user experience?

Facebook. It is useful to keep in touch with friends and re...

Turning off the syntax highlighter

This is the color scheme I use. I am curious to try without...

Avoid getters and setters whenever possible

I agree. I think that you should decide the method of your ...

The Problem With Heroes In Software Development

" If there are known stability issues with an application b...

Welcome Thread - v5

Hi there! I was born (in a CS sense) in the '80s using FOR...

Welcome Thread - v5

Hi! Welcome aboard!

loading...