Daniel Sun

3.9K posts

Daniel Sun banner
Daniel Sun

Daniel Sun

@daniel_sun

#ASF Member, @ApacheGroovy PMC member, The Definitive #ANTLR4 Reference(CN) reviewer, The Definitive Guide to #Grails translator, etc.

Shanghai, China Katılım Mayıs 2008
93 Takip Edilen584 Takipçiler
Sabitlenmiş Tweet
Daniel Sun
Daniel Sun@daniel_sun·
#GINQ of #groovylang 4.0.0 supports inner/left/right/full/cross join(on), group by(having), order by, limit, nested GINQ, window functions, etc. Here is the latest version of user guide: bit.ly/3nJYUaA More examples could be found at: bit.ly/3suJivd
English
1
8
22
0
Edison
Edison@CodeEdison·
Programming Languages and their Most Hated Feature • 🐍 Python - Indentation breaking everything • 🖥️ BASIC - Feels painfully outdated • 📊 Visual Basic - Becomes messy very fast • 🟨 JavaScript - Weird unpredictable behavior • 🐘 PHP - Inconsistent function naming chaos • 💎 Ruby - Too much hidden magic • 🎵 Groovy - Only used for Gradle • ☕ Java - Way too much boilerplate • 🟣 C# - Painful versioning conflicts • 🐹 Go - Endless error handling lines • 🐦 Swift - Frequent breaking updates • 🅺 Kotlin - Slow compile times • 🎯 Dart - Exists because Flutter • 🧮 Fortran - Ancient looking syntax • 🔧 C - Dangerous undefined behavior • 🍎 Objective-C - Brackets everywhere • 🔺 Scala - Overcomplicated type system • ⚡ Zig - Manual memory struggles • 🐪 Perl - Write once never read • 🚀 C++ - Template error nightmares • 🦀 Rust - Borrow checker battles • ⚙️ Assembly - Zero safety at all
Edison@CodeEdison

Programming Languages and their Most Liked Features • Python - Clean and readable syntax • BASIC - Very beginner friendly • Visual Basic - Easy GUI building • JavaScript - Runs everywhere instantly • PHP - Extremely easy web deployment • Ruby - Beautiful elegant syntax • Groovy - Seamless Java integration • Java - Huge ecosystem and stability • C# - Excellent tooling and IDE support • Go - Simple and fast concurrency • Swift - Modern and safe design • Kotlin - Built-in null safety • Dart - Amazing with Flutter apps • Fortran - Extremely fast scientific computing • C - Total control over hardware • Objective-C - Powerful runtime flexibility • Scala - Functional and object-oriented power • Zig - Simple predictable systems code • Perl - Insanely powerful text processing • C++ - Performance with high control • Rust - Memory safety without garbage collector • Assembly - Maximum performance and control

English
13
55
310
69.4K
Daniel Sun
Daniel Sun@daniel_sun·
Groovy 6 is set to deliver some performance enhancements. #groovylang
Daniel Sun tweet media
English
0
2
6
486
Daniel Sun retweetledi
Paul King
Paul King@paulk_asert·
A proposed enhancement, targeted for @ApacheGroovy version 6, adds native async/await as a language-level feature. 𝘼𝙨𝙮𝙣𝙘𝙝𝙧𝙤𝙣𝙤𝙪𝙨 𝙘𝙤𝙙𝙚 𝙞𝙣 𝙖 𝙨𝙚𝙦𝙪𝙚𝙣𝙩𝙞𝙖𝙡, 𝙧𝙚𝙖𝙙𝙖𝙗𝙡𝙚 𝙨𝙩𝙮𝙡𝙚. Read more about it & provide feedback: groovy.apache.org/blog/groovy-as…
English
0
5
16
1.1K
Daniel Sun retweetledi
Spock Framework
Spock Framework@spockframework·
Spock 2.4 has been released 🖖 After three years and seven milestones, Spock 2.4 lands just in time for the holidays, packed with new testing goodies. 🎁 Curious? See here: spockframework.org/spock/docs/2.4… What’s your favorite addition? #groovylang
English
2
9
17
3.3K
Daniel Sun retweetledi
sysxplore
sysxplore@sysxplore·
Quick Linux Tip🐧 You can enable timestamps in your bash command history to see when you ran previous commands. This can be useful for tracing what you were working on and when. To add timestamps to your history, just set the HISTTIMEFORMAT environment variable like so: $ export HISTTIMEFORMAT="%F %T " Now when you view your history or grep through it, you'll see a timestamp next to each command indicating when it was run: $ history | tail -n 5 Or to save a couple of keystrokes: $ history 5 The format "%F %T" shows the date and time, but you can customize it to your liking. Note: This does not put historical timestamps on commands you executed before setting HISTTIMEFORMAT and also this only works in bash.
sysxplore tweet media
English
5
71
485
23.6K
Daniel Sun retweetledi
Dan Vega
Dan Vega@therealdanvega·
Just like Java devs are now AI devs, Groovy developers have access to powerful AI tools too! 🚀 Built a simple OpenAI chat client in Groovy, then showed how Spring AI makes it production-ready. Speaking about this at Community Over Code this week @ApacheCon Watch: youtu.be/rQwm9--DMIA
YouTube video
YouTube
English
1
7
34
3.1K
Daniel Sun retweetledi
Marcio Endo
Marcio Endo@marcioendo·
A type witness after the 'new' keyword is an actually valid Java construct. This and more in the latest video.
English
1
6
112
5.9K
Daniel Sun retweetledi
Sam Brannen
Sam Brannen@sam_brannen·
TIL: Since #Java 9, AtomicBoolean has a setPlain() method for "plain write access", which effectively lets you use an AtomicBoolean as a simple, mutable boolean holder in lambda expressions without feeling so bad about having done so. 😎
English
2
3
16
961
Daniel Sun retweetledi
Marcio Endo
Marcio Endo@marcioendo·
Flow scoping in Java. Pattern matching for instanceof brought this new concept to the language.
English
3
12
97
8.4K
Daniel Sun retweetledi
IntelliJ IDEA, a JetBrains IDE
IntelliJ IDEA, a JetBrains IDE@intellijidea·
Ever wonder how Java debuggers work behind the scenes? 🤔 In our latest article, we dive into the relationship between source code, bytecode, and the debugger – plus we share a few handy tricks along the way! Check it out👇 blog.jetbrains.com/idea/2025/05/s…
English
0
16
58
6.2K