this post was submitted on 20 Jan 2024
1 points (100.0% liked)

Programming

13342 readers
13 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Text description (for those with screenreaders):

A portion of a prime number checker written in the Rust programming language, where the first few lines are written correctly including the first if statement in the program. However, the following if statements are written using Python syntax instead of Rust, as the author slipped back into his native tongue.

top 1 comments
sorted by: hot top controversial new old
[–] agressivelyPassive@feddit.de 0 points 7 months ago

That's why you use a proper IDE, that checks everything as you type.