TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Julialang Antipatterns

87 pointsby ViralBShahalmost 5 years ago

2 comments

ohsonicealmost 5 years ago
Appreciate this post. I remember when I first started using Julia, I wanted to type every argument to every function because I thought static typing made me hip. Ran into a lot of problems with my types not being wide enough, etc. and had no performance impact.<p>Also, good to know about the NamedTuple. I&#x27;ve been away from Julia for about a year and am starting to get back into some development with it.<p>On another note, I just found out today that my department&#x27;s HPC is still running Julia 0.4 and since we are in between IT people are not going to update it. Considering rewriting my project in Fortran or C++, waiting for the day when Julia is a first-class language
评论 #23430044 未加载
评论 #23430710 未加载
评论 #23435621 未加载
bionhowardalmost 5 years ago
Thanks for posting —- I hit an issue recently this would have prevented: goal was to connect neural nets to probability distributions, the nn library took Float32 and the distribution library took Float64. Double-precision uncertainty seems counter to the purpose of uncertainty!<p>Better to not constrain the type of the inputs, unless it is a big problem