Hey mensen,

Als je in het Engels dit zegt, klopt dat dan?

If $foo is 'foo' drink a beer. Otherwise, eat a sandwich.

Het gaat me even om het woord "Otherwise". Wat ik wil zeggen, is "Als $foo gelijk is aan foo... In alle andere gevallen (otherwise)..."

Is otherwise hier het juiste woord?
If $foo is 'foo', let's drink a beer [size=xsmall](goed idee!)[/size]. In any other case, let's eat a sandwich.

Otherwise of else kan ook in dev. jargon. Weet niet of dit goed/fout engels is.
Ik gebruik in mijn commentaar best vaak "als dit dan dit... In andere gevallen, dan dit". Bijv.

When using the deafult "foo" do this. Otherwise, do that.

Reageren