Deutsch English Français Italiano |
<3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.neodome.net!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: fir <fir@grunge.pl> Newsgroups: comp.lang.c Subject: else ladders practice Date: Thu, 31 Oct 2024 13:11:30 +0100 Organization: i2pn2 (i2pn.org) Message-ID: <3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 31 Oct 2024 12:11:33 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="290529"; mail-complaints-to="usenet@i2pn2.org"; posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0"; User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 1306 Lines: 14 somethins i got such pices of code like if(n==1) {/*something/} if(n==2) {/*something/} if(n==3) {/*something/} if(n==4) {/*something/} if(n==5) {/*something/} technically i would need to add elses - but the question is if to do that do teh code has really chance to be slower without else (except some very prmitive compilers) ?? not adding else makes liek code shorter.. so im not literally sure which is better