In contrast to ばよかった
, which is used for expressing regret about something that someone wishes had been done, ばいい
highlights that the speaker is hoping for a particular result, in relation to something that has not happened yet. This translates as ‘It’d be good if (A)’.
To use ばいい, add the 接続助詞（せつぞくじょし） (conjunction particle) ば, to the end of any verb, and then attach the い-Adjective
About which would be good to eat, I am currently a bit lost.
It would be good if I could go, but I don't know if I can.
literally means ‘if (A), it’s good’, it can also be used to give advice, and has a meaning that is similar to ‘should (A)’ in these situations. It is generally quite a soft way of giving advice.
If you want a good grade on your test, shouldn't you just study?
If you are that tired, you should just take a day off.
may also be used when making statements about something that the speaker believes is not possible. In these cases, it is regularly paired with のに
, and has the nuance of ‘despite it being good if it were (A)’. This shows that the speaker thinks that (A) would be good, but is aware that (A) cannot/will not happen for some reason.
Even though I want to wake up early tomorrow, I can't sleep at all.
Even though you should just say it if you like him… (Why don’t you)
They should take a break, but because they are all very diligent, they won’t.